Re: Chromium build failure
On Sun, Sep 1, 2013 at 1:15 PM, Peter Harrison four.harris...@googlemail.com wrote: Hi list, I'm getting a consistent build error when trying to build the latest version of Chromium in ports - here's the error: ninja: Entering directory `out/Release' [65/11901] LINK libvpx_obj_int_extract FAILED: g++46 -Wl,-rpath=/usr/local/lib/gcc46 -Wl,-z,now -Wl,-z,relro -pthread -Wl,-z,noexecstack -fPIC -Wl,--no-keep-memory -m32 -Wl,-O1 -Wl,--as-needed -o libvpx_obj_int_extract -Wl,--start-group obj/third_party/libvpx/source/libvpx/build/make/libvpx_obj_int_extract.obj_int_extract.o -Wl,--end-group obj/third_party/libvpx/source/libvpx/build/make/libvpx_obj_int_extract.obj_int_extract.o: In function `parse_elf': obj_int_extract.c:(.text.parse_elf+0x71a): undefined reference to `__stack_chk_fail_local' /usr/local/bin/ld: libvpx_obj_int_extract: hidden symbol `__stack_chk_fail_local' isn't defined /usr/local/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status [65/11901] ACTION Generating resources from app/generated_resources.grd ninja: build stopped: subcommand failed. *** [do-build] Error code 1 Stop in /usr/ports/www/chromium. This is on: 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:30:17 UTC 2013 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Anyone offer me some advice on how to fix? The previous version of Chromium built fine on this machine. Hm, please try the following --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -18,6 +18,8 @@ COMMENT= Mostly BSD-licensed web browser based on WebKit and Gtk+ LICENSE= BSD LGPL21 MPL LICENSE_COMB= multi +CFLAGS+= -fno-stack-protector + BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ bash:${PORTSDIR}/shells/bash \ yasm:${PORTSDIR}/devel/yasm \ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: chrome does not refresh screen content
Do you have kern.ipc.shm_allow_removed set? http://svnweb.freebsd.org/ports/head/www/chromium/pkg-message?revision=318200 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: A very 'trivial' question about /root
ASV: This is a very 'trivial' question but it's bugging me since quite a while now so I gotta ask. There's any reason (and should be a fairly good one) why the /root directory permissions by default are set to 755 (for sure on releases 8.0/8.1/9.0/9.1) I imagine / needs those permissions during installation but maybe they should be changed to something more desirable at post-install. What would you suggest -- maybe 555? -ayan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where to get source for 10?
On 05/31/2013 07:23 PM, Walter Hurry wrote: For 9.1 I can checkout http://svn.freebsd.org/base/releng/9.1/ But where can I get the source for FreeBSD10? I assume it'd be the head branch: http://svn.freebsd.org/base/head/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FBSD 9.1.0 - make buildworld running for 1.5 hours???
On Sat, Mar 2, 2013 at 12:38 AM, Sergio de Almeida Lenzi lenzi.ser...@gmail.com wrote: Em Sex, 2013-03-01 às 12:29 -0600, Paul Schmehl escreveu: I'm running make buildworld on a quad processor quad core box with 16GB of ram, and it's been running already for more than an hour and a half. Has world really gotten that huge? Good lord! Good thing we have freebsd-update! Perhaps you did not use the -j option on the make buildworld... env NOCLEAN=yes DESTDIR= make -j 4 buildworld without the -j option it runs on only one processor and can take up to 5 hours... Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org You can easily go to -j16 if the box is not doing anything else. What are your current load averages? -- George Kontostanos --- http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD/EC2 -9.0-Current 2011-01-01 (ami-f4db2a9d)
The ami you are using is obsolete, according to [1] ami-5339bb3a is what you probably want. I am using pkgng with no problems, just launch the ami in a micro instance. No need for workarounds. [1] http://www.daemonology.net/freebsd-on-ec2/ On Mon, Dec 17, 2012 at 6:19 PM, jflowers jflow...@ezo.net wrote: I'm working my way through a re-education for EC2. I read a lot of posts but find it confusing to keep up with the current state of the art as to what information is applicable and what is not: 1. I had convinced myself that I was being told that I had to use a Windows instance but then found this AMI. It launched for T1.micro, always with the note that it was available for the free-tier which is important to me. Have I been too optimistic or is it, indeed, running with the free-tier restrictions? 2. Unfortunately, after I had spent a couple of hours on installing ports, I installed pkgng. It seemed to install OK but then when I ran pkg2ng it didn't work throwing the following error message twice. /libexec/ld-elf.so.1: Undefined symbol Quiet referenced from COPY relocation in /usr/sbin/pkg_info. and then ... Conversion has been successfully finished Your old packages database has been moved to: /var/db/pkg.bak There is no sign of a pkg.bak anywhere on the machine and, of course, pkg_* tools don't work. /var/db/pkg is still fully populated with what looks like the correct files. There is also no perl installed So my question is Is there any way I can recover pkg_* tools or get pkgng to function? With only a couple of hours in it, I'm tempted to just start over and use one of the RELEASE AMIs. 3. I also noted a thread where Colin Percival talked about an initial launch as c1.medium to set things up and then restarting as t1.micro. Won't this trigger a minimum bill for 1 month being added to my free-tier $0.00? Thanks for any help responses to get me pointed in the right direction. -- Jim Flowers jflow...@ezo.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Halloween Weekend Sale Get 15% Off this Weekend
Halloween Sale - GET 15% OFF USE COUPON CODE HALL Brand New | You Asked for it You Got it ! | 100% Targetted Followers FaceBook Likes | YouTube Views | Twitter Followers : http://promogoons.com/?product=new-100-targeted-followers 100% Targeted Followers : http://promogoons.com/?product=new-100-targeted-followers Get 100% Laser-Targeted Followers . Packages from 1000 to 4000 targeted Followers per month , read more... : http://promogoons.com/?product=new-100-targeted-followers : http://promogoons.com/?product=twitter 10,000 Followers $20 : http://promogoons.com/?product=twitter Get 10,000 Untargeted Followers for just $50 . We can help you jumpstart your twitter account , read more ... : http://promogoons.com/?product=twitter : http://promogoons.com/?product=youtube Real Youtube Views : http://promogoons.com/?product=youtube Need Youtube Views to catch that AR's eye ? We have 100% Real Views and are Partner Safe, read more... : http://promogoons.com/?product=youtube : http://promogoons.com/?product=facebook FaceBook Likes : http://promogoons.com/?product=facebook Lets face it , who doesnt need more facebook likes ? We have what you need , read more ... : http://promogoons.com/?product=facebook : http://promogoons.com/?product=soundcloud SoundCloud Plays : http://promogoons.com/?product=soundcloud Fast , Economical and Fun, Let Us Help you get more Soundcloud plays , read more... : http://promogoons.com/?product=soundcloud : http://promogoons.com/?product=datpiff-plays DatPiff Streams : http://promogoons.com/?product=datpiff-plays Got A Hot Mixtape on DatPiff ? ? Cant Seem to cut through the wack tapes on the front page ? read more... : http://promogoons.com/?product=datpiff-plays REPEAT CLIENTS GET 15% OFF | USE COUPON CODE HALL ON CHECKOUT Promogoons.com : http://promogoons.com | The Major Label's Dirty Little Secret Dave George - 678 508 2941 - sa...@promogoons.com : mailto:sa...@promogoons.com Skype | Yahoo | AIM : Promogoons United Promotions - po box 1526 - atlanta - GA - 30316 Subscribe to this newsletter: https://www.mynewsletterbuilder.com/tools/subscription.php?username=beatsforrapperssend_id=8130586490l=snewsletter_id=1411516624 Unsubscribe freebsd-questions@freebsd.org: https://www.mynewsletterbuilder.com/tools/subscription.php?username=beatsforrapperssend_id=8130586490l=uemail=freebsd-questions@freebsd.org Change your preferences: https://www.mynewsletterbuilder.com/tools/subscription.php?username=beatsforrapperssend_id=8130586490l=pemail=freebsd-questions@freebsd.org Forward to a friend: https://www.mynewsletterbuilder.com/tools/forward.php?username=beatsforrappersnewsletter_id=1411516624send_id=8130586490 Report this email as spam: https://www.mynewsletterbuilder.com/tools/abuse_report.php?username=beatsforrapperssend_id=8130586490email=freebsd-questions@freebsd.org This email was sent using MyNewsletterBuilder.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9.1 RC2
On Wed, Oct 10, 2012 at 12:18 PM, andrew clarke m...@ozzmosis.com wrote: On Tue 2012-10-09 15:54:23 UTC-0500, ajtiM (lum...@gmail.com) wrote: I saw that is no more iso for FreeBSD RC1. Now is for RC2. Is it possible or better safe to use freebsd-update to update 9.1 RC1 to RC2, please? You can use freebsd-update upgrade -r 9.1-RC2. Safe? You probably wouldn't want to use it on a production server. Use what? freebsd-update or RC2? We have productions machines running FreeBSD 9.1-beta1. The only reason why we don't upgrade them yet is because they are currently running very stable and a reboot is not even worth it. -- George Kontostanos --- http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Anatomy of Perfomance tests
Hi, Can some body comment on these tests? http://www.phoronix.com/scan.php?page=articleitem=debian_wheezybsd_freezenum=1 Are these tests skewed in some way to make Linux look better? Thanks --Siju ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Chromium 19 core dumps on launch...
On Mon, Jun 11, 2012 at 3:04 AM, Keith Seyffarth w...@weif.net wrote: Friday I installed Chromium again because it would be nice to have a browser to test in other than Firefox and Opera. It was installed using portinstall -R chromium, which *appeared* to function properly. However, trying to run chrome results in: pid 50993 (chrome), uid 1001: exited on signal 11 (core dumped) From what I found online, it looked like I may have been encountering an issue with devel/google-perftools, but on reinstall was able to confirm that this is building with gcc not clang. I have also removed my ~/.config/chromium directory with no change in behavior. Not sure if it's relevant, but the last version of Chromium that was *functional* for me was 12. Versions 13-16 didn't support loading web pages (the browser would launch, but if I entered a URL in the address bar, I could leave the browser running overnight and it still wouldn't have started loading a page). Then when 17 and 18 wouldn't even compile (marked ignore), I just removed package. Please try 19.0.1084.56_1, devel/google-perftools is not a dependency of chromium anymore. Regards, George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xen/VM?
On Fri, May 11, 2012 at 12:04 AM, Juan Francisco Cantero Hurtado i...@juanfra.info wrote: Dfly doesn't support Xen. Some providers support HVM (not Amazon) and you can give a try to dfly in this environment. I don't know if dfly works on Xen HVM or not. Probably the performance will be poor. Actually FreeBSD now runs on Amazon using HVM. http://www.daemonology.net/blog/2012-01-16-FreeBSD-now-on-all-EC2-instance-types.html I guess something similar can be done with dragonfly as well. Currently Amazon detects HVM instances as Windows instances and charge you the MS windows licence fee. Recently I attended a training by Amazon in Bangalore and I raised this issue during the Question Answer session to the Amazon folks. The reply I got was that this work to get FreeBSD running without the additional cost is in their to-do list but it is not of high priority. To make them increase the priority one thing that can be done is for users to mention or request it in their forums. The discussions happening in the forums adds to the priority of a task. So I guess the user group can make this happen fast if the requirements are made known in their forum. https://forums.aws.amazon.com/forum.jspa?forumID=30 Thanks Siju ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Single boot EFI Mac install
Carsten Mattner writes: Has anyone successfully installed FreeBSD as a single boot system on an EFI Mac? I'm not sure exactly what you mean by a single boot system. I have Mac Pro that runs Mac OS on on disk (actually a pair in a software RAID) and FreeBSD from another pair (gmirror RAID). I suspect that I could pull the MacOS disks from the system and it would happily run as a FreeBSD only machine. I believe that I set up the disks using the mac tools and then did an install from a DVD, but it's been a while. The only particularly trick-ish part is that I had to partition the FreeBSD disks using MBR style partitions, that's (part of?) what the Mac firmware uses to decide to turn on it's PC-style BIOS emulation, which FreeBSD needs before it can get itself going. GPT partitions will not work. Every once in a while the machine hangs at boot time but I haven't seen it in a while. What happens if you just throw a FreeBSD DVD in the drive? g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS question
On Sat, Feb 18, 2012 at 12:35 PM, Denis Fortin for...@acm.org wrote: Good morning, On a small system using FreeBSD 9.0-RELEASE, ZFS is reporting an issue on a pool, that I am not certain is really an issue, but I don't know how to investgate... Here is the situation: I have created a ZFS pool on an external 1TB Maxstor USB drive. The ZFS pool sees little or no activity, I haven't started using it for real yet. The drive spins down frequently because of lack of activity, and takes quite a few seconds to spin up. Now, I frequently get errors in the 'zpool status' thus (like, a couple of times per day): [denis@datasink] ~ zpool status -v pool: maxstor state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to be replaced, and clear the errors using 'zpool clear' or replace the device with 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-9P scan: scrub repaired 0 in 0h0m with 0 errors on Sat Feb 18 08:49:41 2012 config: NAME STATE READ WRITE CKSUM maxstor ONLINE 0 0 0 gptid/64a30ca9-56ad-11e1-80c4-24ce7c30 ONLINE 1 0 0 errors: No known data errors [denis@datasink] ~ zpool iostat -v maxstor capacity operations bandwidth pool alloc free read write read write -- - - - - - - maxstor 1.10M 928G 0 0 455 1.11K gptid/64a30ca9-56ad-11e1-80c4-24ce7c30 1.10M 928G 0 0 455 1.11K -- - - - - - - I know that this sounds bad for the drive, but I cannot find anywhere in my logs (/var/log/messages, dmesg, etc) a reference to this supposed 'unrecoverable error' that the drive has had, and the resilvering *always* works. I am wondering whether it might not simply be a timeout issue, that is: the drive is taking too long to spin up, which causes a timeout and a read error to be reported, which then disappears completely once the drive has spun up. Does anybody have a suggestion about how I could go about investigating this issue? Shouldn't there be a log of the 'unrecoverable error' somewhere? Thank you all, Denis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org The power management settings put your drive to sleep after some time of inactivity. Unfortunately the only way I have found to adjust this is from a windows pc utility. (You can download it from their website) To solve the problem you can export the pool when you don't use it and import it back again. If that is not possible you can schedule a 5 minute cron job to query the status. Regards -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: zroot won't mount after 9.0-RC2 - 9.0-RELEASE upgrade
On Wed, Feb 15, 2012 at 5:09 AM, Daniel Shahaf danie...@apache.org wrote: Daniel Staal wrote on Tue, Feb 14, 2012 at 21:39:40 -0500: --As of February 15, 2012 2:31:10 AM +0200, Daniel Shahaf is alleged to have said: One of our amd64 servers runs 9.0-RC2 (releng/9.0@r228325) with a zfs root. It fails to boot the 9.0-RELEASE (releng/9.0@r229305) GENERIC kernel (self compiled) with a mountfrom error: http://people.apache.org/~danielsh/infra/loki-20120215-mountfrom.png mountfrom zfs:zroot Trying to mount root from zfs:zroot []... Mounting from zfs:zroot failed with error 2. We've tried to upgrade the zpool format 15-28; the symptoms are unchanged. (The zroot fs is at version 4.) Why does 9.0-RC2 boot while 9.0-RELEASE (as /boot/testkernel) doesn't? What can do to boot 9.0-RELEASE from our zfs root filesystem? --As for the rest, it is mine. Did you update the bootloader? Depending on when you installed the system, it's possible your upgrading the zpool means the bootloader can't read it. Immediately after upgrading the zroot zpool I ran gpart bootcode -p /boot/gptzfsboot -i 1 ${devices} as instructed in /usr/src/UPDATING. I did not pass -b. Daniel T. Staal Hi could you try passing the -b switch like this: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${devices} -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: zroot won't mount after 9.0-RC2 - 9.0-RELEASE upgrade
On Wed, Feb 15, 2012 at 12:15 PM, George Kontostanos gkontos.m...@gmail.com wrote: On Wed, Feb 15, 2012 at 5:09 AM, Daniel Shahaf danie...@apache.org wrote: Daniel Staal wrote on Tue, Feb 14, 2012 at 21:39:40 -0500: --As of February 15, 2012 2:31:10 AM +0200, Daniel Shahaf is alleged to have said: One of our amd64 servers runs 9.0-RC2 (releng/9.0@r228325) with a zfs root. It fails to boot the 9.0-RELEASE (releng/9.0@r229305) GENERIC kernel (self compiled) with a mountfrom error: http://people.apache.org/~danielsh/infra/loki-20120215-mountfrom.png mountfrom zfs:zroot Trying to mount root from zfs:zroot []... Mounting from zfs:zroot failed with error 2. We've tried to upgrade the zpool format 15-28; the symptoms are unchanged. (The zroot fs is at version 4.) Why does 9.0-RC2 boot while 9.0-RELEASE (as /boot/testkernel) doesn't? What can do to boot 9.0-RELEASE from our zfs root filesystem? --As for the rest, it is mine. Did you update the bootloader? Depending on when you installed the system, it's possible your upgrading the zpool means the bootloader can't read it. Immediately after upgrading the zroot zpool I ran gpart bootcode -p /boot/gptzfsboot -i 1 ${devices} as instructed in /usr/src/UPDATING. I did not pass -b. Daniel T. Staal Hi could you try passing the -b switch like this: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${devices} On a second look I doubt that this has anything to do with an outdated bootcode. Was this a new 9.0-RC2 install? Also, how many devices are in the pool that you are trying to boot from? -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: zroot won't mount after 9.0-RC2 - 9.0-RELEASE upgrade
On Wed, Feb 15, 2012 at 5:26 PM, Daniel Shahaf d...@daniel.shahaf.name wrote: George Kontostanos wrote on Wed, Feb 15, 2012 at 12:56:33 +0200: On Wed, Feb 15, 2012 at 12:15 PM, George Kontostanos gkontos.m...@gmail.com wrote: On Wed, Feb 15, 2012 at 5:09 AM, Daniel Shahaf danie...@apache.org wrote: Daniel Staal wrote on Tue, Feb 14, 2012 at 21:39:40 -0500: --As of February 15, 2012 2:31:10 AM +0200, Daniel Shahaf is alleged to have said: One of our amd64 servers runs 9.0-RC2 (releng/9.0@r228325) with a zfs root. It fails to boot the 9.0-RELEASE (releng/9.0@r229305) GENERIC kernel (self compiled) with a mountfrom error: http://people.apache.org/~danielsh/infra/loki-20120215-mountfrom.png mountfrom zfs:zroot Trying to mount root from zfs:zroot []... Mounting from zfs:zroot failed with error 2. We've tried to upgrade the zpool format 15-28; the symptoms are unchanged. (The zroot fs is at version 4.) Why does 9.0-RC2 boot while 9.0-RELEASE (as /boot/testkernel) doesn't? What can do to boot 9.0-RELEASE from our zfs root filesystem? --As for the rest, it is mine. Did you update the bootloader? Depending on when you installed the system, it's possible your upgrading the zpool means the bootloader can't read it. Immediately after upgrading the zroot zpool I ran gpart bootcode -p /boot/gptzfsboot -i 1 ${devices} as instructed in /usr/src/UPDATING. I did not pass -b. Daniel T. Staal Hi could you try passing the -b switch like this: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${devices} On a second look I doubt that this has anything to do with an outdated bootcode. *nod* trying 'gpart bootcode -b' is on the list still, though. It shouldn't hurt. Was this a new 9.0-RC2 install? No, it was an upgrade from 8.2-RELEASE. Also, how many devices are in the pool that you are trying to boot from? Six: mfid[0-5]p3. -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Try loading geom_part_gpt.ko to see if it helps. -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: zroot won't mount after 9.0-RC2 - 9.0-RELEASE upgrade
On Wed, Feb 15, 2012 at 7:48 PM, Daniel Shahaf danie...@apache.org wrote: So far we've tried: - 'gpart bootcode -b' - load geom_part_gpt.ko - using zpool.cache from the 9.0-RELEASE CD And none of that seems to have had any effect. Additional info: from the CD environment, 'zpool import' reports an old 'tank' pool on devices mfid[2-5]. (The 'zroot' pool uses mfid[0-5]p3.) Any further ideas, please? Thanks for all the suggestions so far. You are running ZFS version 4 while the default is 5 on 9.0-RELEASE --- Assuming your pool is called zroot ---This is the way to update your zpool.cache: --- Boot with 9.0-RELEASE and proceed with: #zpool import -o altroot=/mnt -o cachefile=/var/tmp/zpool.cache zroot #zfs set mountpoint=/mnt zroot #zfs set mountpoint=/mnt/usr zroot/usr #zfs set mountpoint=/mnt/var zroot/var #zfs set mountpoint=/mnt/tmp zroot/tmp ## Ignore any warnings## Now export the pool: #zpool export -f zroot Import the pool back and update the zpool.cache: #zpool import -o cachefile=/var/tmp/zpool.cache zroot #cp /var/tmp/zpool.cache /mnt/boot/zfs/zpool.cache Make sure that bootfs is set correctly: #zpool set bootfs=zroot zroot Now, unmount any ZFS datasets #zfs umount -af And fix mountpoints: #zfs set mountpoint=legacy zroot #zfs set mountpoint=/tmp zroot/tmp #zfs set mountpoint=/usr zroot/usr #zfs set mountpoint=/var zroot/var That should be enough to update your zpool.cache If this still doesn't work then you can upgrade your ZFS version to 5. Make sure you have backups first!!! Before unmounting your datasets issue a: zfs upgrade -a -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 9, GPT and gmirror
3. Assuming one has enough RAM, is zfs mirror or raidz recommended over gmirror? zfs mirror but I would not recommend a raidz root on zfs. -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gpt zfs raidz1 boot failure
On Wed, Feb 8, 2012 at 6:03 PM, Chris Jones ch...@cjones.org wrote: This actually made for an interesting bug, once I dug into it some more: http://www.freebsd.org/cgi/query-pr.cgi?pr=164861 If you build a zfs in degraded mode, it's not bootable. But if you build it normally, then remove a disk to put it in degraded mode, it is bootable. Chris I might be missing something here but it looks like you are trying to boot from a degraded raidz1 pool consisted from 1 drive? -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Dump Restore on ZFS root system
On Tue, Feb 7, 2012 at 1:55 PM, dick d...@nagual.nl wrote: Op 7-2-2012 12:23, Vincent Hoffman schreef: On 07/02/2012 11:00, dick wrote: I run a ZFS on root FreeBSD system. I know I can backup with snapshots but I want a dump/restore action because I want to transfer this system to a UFS virtual FreeBSD machine. My question is: will dump / (root) make a dump of *ALL* other directories? Dump works at the filesystem level and will not work on a zfs filesystem [root@banshee /backup/local/zfs]# dump -b 64 -f - ./ dump: ./: unknown file system I'd use tar or cpio or pax or something. On a UFS filesystem dump will only dump the filesystem specified and will not cross mountpoints. OK, got it. I will have to read up on the best option (tar, cpio or pax) You can always clone it using zfs send / receive to your vm: http://www.aisecure.net/2011/03/26/cloning-a-zfs-bootable-system/ -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Browser
On Thu, Jan 12, 2012 at 10:51 PM, Chad Perrin per...@apotheon.com wrote: On Wed, Jan 04, 2012 at 02:30:46PM -0800, Gary Kline wrote: i hope this isn't too far offtopic, but here's the situation: i need a tts reader to read text to me in some cases. i have been using one that is good-enough. but it's author says that this firefox 'addon' will not work with firefox-9. So: does anybody know of a browser with a builtin text-to-speech reader? i have searched ff and found no other such readers. I was hoping someone else might have an answer to this. I figured I'd chip in at this point just to say that I don't know of any mainstream browsers, nor any browsers that I've tried out to see if they'd make a good replacement for Firefox, that does any text-to-speech natively. I think I remember hearing about such a beast a while back (three or four years), but do not recall anything about it due to the fact I do not need one. Good luck in your search. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Chrome has a native tts API that extension authors can use, http://code.google.com/chrome/extensions/tts.html I tried some random extension from the Chrome Web Store and it is working really well. Regard, George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
proper syntax for wifi
Ok I have a wireless interface ath0 and a wired re0 interface. I would like to have hostapd running on the wireless interface and allow access to the wired network also. For the most part I have this working on most systems with one exception, one of my clients cant connect I am getting deauthenticated due to local request in my logs, and another windows machine had the same issues until I updated the wifi driver to the latest version which solved the problem on the win machine. Here is the error I am getting wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: associated Dec 4 09:40:23 gateway hostapd: wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: deauthenticated due to local deauth request Dec 4 09:40:23 gateway hostapd: wlan0: STA 00:09:2d:4b:21:a0 IEEE 802.11: deassociated I also don't know ifs right to assign an ip to a bridge or not, maybe someone can look at this and make some suggestions Cause I am all googled out or ideas. ifconfig -a re0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3899RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST, WOL_MAGIC ether 90:fb:a6:ed:74:a6 inet 192.168.0.3 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (1000baseT full-duplex) status: active ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:c0:ca:1f:4a:d7 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap status: running plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST metric 0 mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=3RXCSUM,TXCSUM inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 inet 127.0.0.254 netmask 0x nd6 options=3PERFORMNUD,ACCEPT_RTADV bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 02:b5:34:b6:3f:00 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: wlan0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 11 priority 128 path cost 370370 member: re0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 55 wlan0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:c0:ca:1f:4a:d7 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap status: running ssid Gateway channel 11 (2462 MHz 11g) bssid 00:c0:ca:1f:4a:d7 country US ecm authmode WPA privacy MIXED deftxkey 3 TKIP 2:128-bit TKIP 3:128-bit txpower 22.5 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs This is my rc.conf cat /etc/rc.conf hostname=gateway.vagner.com defaultrouter=192.168.0.1 gateway_enable=YES sshd_enable=YES wlans_ath0=wlan0 create_args_wlan0=wlanmode hostap ifconfig_wlan0=inet 192.168.0.2 netmask 255.255.255.0 mode 11g channel 11 hostapd_enable=YES ifconfig_re0=inet 192.168.0.3 netmask 255.255.255.0 up cloned_interfaces=bridge0 ifconfig_bridge0=addm re0 addm wlan0 routed_enable=YES webmin_enable=YES winbind_enable=YES dhcpd_enable=YES # dhcpd enabled? #dhcpd_flags=-q# command option(s) #dhcpd_conf=/usr/local/etc/dhcpd.conf # configuration file dhcpd_ifaces=wlan0 re0 # ethernet interface(s) #dhcpd_withumask=022 # file creation mask inetd_enable=YES ntpdate_enable=NO ntpdate_enable=NO xntpd_program=/usr/local/bin/ntpd xntpd_flags=-A -g -N -c /etc/ntp.conf -p /var/run/ntpd.pid -l /var/log/ntpd.log named_enable=YES cupsd_enable=YES and my /etc/hostapd.conf file cat /etc/hostapd.conf # hostapd configuration file ## # Empty lines and lines starting with # are ignored # AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for # management frames); ath0 for madwifi interface=wlan0 # In case of madwifi and nl80211 driver interfaces, an additional configuration # parameter, bridge, must be used to notify hostapd if the interface is # included in a bridge. This parameter is not used with Host AP driver. #bridge=br0 # Driver interface type (hostap/wired/madwifi/prism54/test/none/nl80211/bsd); # default: hostap). nl80211 is used with all Linux mac80211 drivers. # Use driver=none if building hostapd as a standalone RADIUS server that does # not control any wireless/wired driver. # driver=hostap # hostapd event logger configuration # # Two output method: syslog and stdout (only usable if not forking to # background). # # Module bitfield (ORed bitfield of modules that will be logged; -1 = all # modules): # bit
wifi question
I am running an ATH0 card in hostap mode with 11g but was wondering if I can run both 11g and 11b at the same time? I was thinking mode 11g mode 11b or mode 11bg but not sure what to put on the ifconfig line. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: ssh with bridged ap
I was thinking that maybe because the wired interface doesn't actually have An IP address it is a reverse lookup thing. -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Damien Fleuriot Sent: Tuesday, September 13, 2011 5:36 AM To: freebsd-questions@freebsd.org Subject: Re: ssh with bridged ap On 9/13/11 3:54 AM, george vagner wrote: I have set up wireless AP with a static IP and bridged it to my internal wired network on RE0. I can successfully connect with WPA to the wireless network and browse other computers on the wired net fine, I can log into the freebsd machine using ssh no problem as long as if I connect via the wireless network. If I try and log into the freebsd machine using the wired network I get a log in prompt for username Then I get the password prompt but after typing in my password it always says login incorrect, it don't do this if I am on the wireless net. Maybe something in the sshd config about bridged connections? Maybe an excerpt from your /var/log/auth.log at that time, too... Might turn out that you don't get anything in /var/log/auth.log which would indicate that, when using the wired IP of the machine, you're actually connecting to another host. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: ssh with bridged ap solved
Allow connections to forwarded ports in sshd config -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of George Vagner Sent: Tuesday, September 13, 2011 8:14 AM To: freebsd-questions@freebsd.org Subject: RE: ssh with bridged ap I was thinking that maybe because the wired interface doesn't actually have An IP address it is a reverse lookup thing. -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Damien Fleuriot Sent: Tuesday, September 13, 2011 5:36 AM To: freebsd-questions@freebsd.org Subject: Re: ssh with bridged ap On 9/13/11 3:54 AM, george vagner wrote: I have set up wireless AP with a static IP and bridged it to my internal wired network on RE0. I can successfully connect with WPA to the wireless network and browse other computers on the wired net fine, I can log into the freebsd machine using ssh no problem as long as if I connect via the wireless network. If I try and log into the freebsd machine using the wired network I get a log in prompt for username Then I get the password prompt but after typing in my password it always says login incorrect, it don't do this if I am on the wireless net. Maybe something in the sshd config about bridged connections? Maybe an excerpt from your /var/log/auth.log at that time, too... Might turn out that you don't get anything in /var/log/auth.log which would indicate that, when using the wired IP of the machine, you're actually connecting to another host. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ssh with bridged ap
I have set up wireless AP with a static IP and bridged it to my internal wired network on RE0. I can successfully connect with WPA to the wireless network and browse other computers on the wired net fine, I can log into the freebsd machine using ssh no problem as long as if I connect via the wireless network. If I try and log into the freebsd machine using the wired network I get a log in prompt for username Then I get the password prompt but after typing in my password it always says login incorrect, it don't do this if I am on the wireless net. Maybe something in the sshd config about bridged connections? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to check current port options before updating
On Wed, Aug 31, 2011 at 8:36 AM, zszal...@ovi.com wrote: Dear all, I have been wondering how I can check current options of a port before I update it. The port in question (apache22) has a number of options and I would like to look at the current ones so that I do not install options that I may not need. I'd appreciate if you can point me to a reference or a command that does it. Will make config show it? Many thanks! You can also use --force-config if you use portmaster. Regards, George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mini pci e wireless card
I am wondering what mini pci express (little tiny card) is the best, highest power and best supported overall For hostap mode. I need to replace my rl3090 in my acer revo cause I don't see it as supported and its Not detected in my dmesg (8.2r) that I can see, I want to use it as an accesspoint/router. Thanks for all your help. George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Lennart Poettering: BSD Isn't Relevant Anymore
On 7/17/2011 05:10, Jerry wrote: While I usually consider Slashdot nothing more than a bunch of juveniles ranting against Microsoft; however, I did find this rather interesting post this morning. Lennart Poettering: BSD Isn't Relevant Anymore http://bsd.slashdot.org/story/11/07/16/0020243/Lennart-Poettering-BSD-Isnt-Relevant-Anymore Interestingly enough, a great deal of it is true. It might be interesting to know how others feel about it. Obviously, asking that question on this forum is like playing against a stacked deck; however, it still might prove interesting. Having come to BSD from Linux less than a month ago, I find it interesting that the very thing, which Mr. Pottering is encouraging in Linux development, is what has lead me to search for other options besides Linux. Of late Linux has been loosing the 'plays well with others award'. First they cut the .AppleDouble support from the appletalk drivers, then they refused to let the ReiserFS code into the kernel, and I suppose their lack of implementing ZFS is possibly same motivation (given that they _do_ have the man power to port the code). If they feel that they are an end-all and be-all and don't need to support legacy systems, obscure hardware, or other ways of doing things, well, I'll find another way. This thing is about Freedom, if they cut that from their development plan, then it's time to say farewell. Pottering seems to have forgotten, or perhaps he is too young to remember? Linux was a 'toy OS'. And if it's too big a burden to support 'toy OS'es then Pottering is no different from the people who worked at the big companies twenty years ago. Getting back to the message I'm replying to, I disagree with mr pottering's basis statements: If Debian was my project I'd try to focus on making (or keeping) it _professionally relevant_ -- I'll translate this as: If it ain't business and making money, drop it. ...we want to make sure Linux enters the mainstream all across the board. -- This sounds like desktop systems to me, but there is much more to the world than the shrinking market share of the desktop. UNIX was born in the research world as a pet project to have fun -- written after hours. BSD continued that journey toward freedom recoding the parts of UNIX that had been stripped out by unscrupulous business dealings. Hopefully Linux won't turn out to be an evolutionary miss-step, but... If Kerningham and Richie were focused on staying 'professionally relevant' UNIX would never have /existed/, and as its decedents, neither would have BSD or Linux. Is BSD relevant? Looks like it's /essential/ given the context of the question. Live Free. Sam George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xfce4.8 Trash?
On Sun, May 22, 2011 at 6:49 PM, Patrick Lamaiziere patf...@davenulle.org wrote: Le Sun, 22 May 2011 10:09:37 -0400, Robert Simmons rsimmo...@gmail.com a écrit : Since Xfce 4.8 the trash applet does not work : Can't connect to the trash. I've googled a bit but can't find any solution (Thunar, dbus and hal are running). This is a fresh install and not an update. Have you tried this solution: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=796321+0+archive/2007/freebsd-ports/20070204.freebsd-ports Yes already tried this. I've rebuilt thunar to be sure this option was set but no luck. Thanks anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Try installing devel/gvfs Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.4-STABLE server behind an isa server
On Wed, May 18, 2011 at 3:54 PM, Jack Raats j...@jarasoft.net wrote: I am setting up a FreeBSD 7.4 server behind an ISA server. The purpose of this server is to serve as an intranet web server. But I would like to update the ports of course. I have a login and password for the isa server. I would like to know how to implement this so that I can usr portupgrade to update the ports and to use make install excuses for the bad english thanks Jack Install www/cntlm from ports, it has a simple config file that you must edit. It authenticates to ISA and listens on a specified local port, you can set http/ftp_proxy to localhost:port and fetch(1) will roll. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Any way to have login output AND use rsync/scp ?
I have my .cshrc file run some basic netstat and 'w' commands so that when I log in, I can see at a glance what is going on on the system and notice any unusual login activity, etc. However this completely breaks both scp and rsync - they cannot function at all (apparently) with any kind of stdio output from the shell. Is there any way around this ? Is there some way to specify an alternate login shell when I use scp or rsync ? Or conversely: Is there some way for my login shell (csh) to notice that it is scp or rsync accessing the system, and skip the text output for them ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Xircom realport in 8.1-RELEASE - how do I determine proper cbb.start_memory ?
It appears that many PCMCIA network cards no longer work in FreeBSD - this is documented here: http://www.freebsd.org/cgi/query-pr.cgi?pr=115623 However there appears to be a workaround, wherein one sets their hw.cbb.start_memory value manually. Suggested values for xircom cards are: sysctl hw.cbb.start_memory=0xf480 sysctl hw.cbb.start_memory=0x3000 However, neither of these values work for me, and I continue to get this kind of error: dc1: No station address in CIS! etc. I am happy to use this workaround, I just wonder how do I determine the proper value for this sysctl ? My xl0 network interface works, and I see that its settings are: port 0xec80-0xecff mem 0xf8fffc00-0xf8fffc7f How do I compute the proper sysctl setting for my xircom realport cards ? (I have two of them to insert simultaneously) Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.1 as a Virtualbox Guest OS
The system is booting, but when it gets to md0: Preloaded image /boot/mfsroot 4194304 bytes at 0x80e6aa98 it stops and goes no further. Try enabling IO APIC under System Motherboard. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wine questions
But VirtualBox OSE doesn't support USB. VirtualBox 4 does. http://www.virtualbox.org/changeset/33813 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problems mounting android htc
On Sat, Jan 15, 2011 at 11:30 PM, Aryeh Friedman aryeh.fried...@gmail.com wrote: I am attempting to make it so I can communicate with the linux on my Android HTC 0100 and when I insert it I get the following on the console: ugen5.2: HTC at usbus5 umass0: HTC Android Phone, class 0/0, rev 1.02/1.00, addr 2 on usbus5 umass0: SCSI over Bulk-Only; quirks = 0x umass0:0:0:-1: Attached to scbus0 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: HTC Android Phone 0100 Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present When I attempt to mount /dev/da0 I get device not configured: ~ aryeh@flosoft-stable% uname -a FreeBSD flosoft-stable.no-ip.biz 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #1: Sat Jan 15 06:33:34 EST 2011 r...@flosoft-stable.no-ip.biz:/usr/obj/usr/src/sys/GENERIC i386 I also tried on a -CURRENT partition that is uptodate through about noon (EST) today. Try # dd if=/dev/null of=/dev/da0 count=0 and then mount da0s1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problems mounting android htc
Already tried based on several email threads found on the net but here is one last try: flosoft-stable# dd if=/dev/null of=/dev/da0 count=0 dd: /dev/da0: Device not configured flosoft-stable# mount /dev/da0 /mnt mount: /dev/da0 : Device not configured Have you switched the connection type from your phone to disk drive? I suspect that it's on charge only. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
New to FreeBsd
I am new to the Free BSD and i have a question on how to install a packet.What i have to type to download a python editor?I cant find the right packet name.Thank you very much. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS not usable on FreeBSD-8.1
Dick Hoogendijk writes: I run FreeBSD-8.1/amd64. I have used ZFS for four years on (Open)Solaris, so I have some experience with it. It always served me very very well. However, I cannot get it to work on my SATA2 drives. At first I thought they'de suffer from something from there OpenSolaris ZFS mirroring. So, I wiped out the drives completely by writing zero's to them. Then I created a ZFS zpool on one drive, destroyed it and created a mirrored zpool on my 2 Tb drives. It seemed OK; files could be written and removed to/from it. A new zfs filesystem worked OK too. *HOWEVER*, the moment I *do* something to the zpool like zpool scrub pool I get a vdev failure (type=vdev.bad_label) and the pool is ruined. It can't be destroyed or exported anymore. It's just a waste. I tested this behaviour on 10 different drives. Four of them brandnew. It happened everytime again. It is not the drives! Booting into OpenSolaris b134 I am perfectly able to create workable ZFS mirrors out of the drives. I can also scrub them ;-) ;-) or whatever io related thing I want to do. This leads me to the conclusion that something is definitely wrong with ZFS in FreeBSD-8.1/amd64. For the moment I created some gmirrors on a couple of drives, but man, how I'd liked to have zpools. They work zo much sweater/easier. Am I alone in these matters? Are there any known issues regarding ZFS. I know there are some in FreeBSD-9 (at least I saw some reports on vdev.bad_label messages) on nabble.com You haven't provided enough information for me to make a concrete suggestion, but this kind of thing often seems to boil down to something getting confused over slices and partitions when they both have the same extent (start-end) on disk. This used to bite me in the gmirror world until I learned to make the partition one block smaller than the slice it lived in. Are you using explicit device names to add the disks to your pool? If so you'll gain robustness by using labels, either glabels as described here: http://submesa.com/data/bsd/zfs or if you're in the gpt world then gpt labels as described in the gpart commands illustrated here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [6.3] Get e-mail when CTRL-ALT-DEL is used?
On Thu, Jul 08, 2010 at 12:12:27PM +0200, Gilles wrote: This is on a remote 6.3 host: I'd like to get an e-mail if a user hits the CTRL-ALT-DEL to reboot the server. Googling told me that the use of the three-key combo can be enabled/disabled when compiling a new kernel, but not how to manage this feature when it's enabled in a running kernel. Is there a configuration file somewhere that would let me add e-mail support for this action? Assuming you want to know whether the server was rebooted (as opposed to whether a user invoked a given key combination), adding something along the lines of the following to root's crontab(5) should suffice: @reboot echo `hostname` rebooted \ | mail -s `hostname` rebooted gil...@example.org -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jail and uname
On Sat, Jul 03, 2010 at 02:13:13PM +0800, Aiza wrote: From the console of a jail I issue uname -r and get 8.0-RELEASE-p3, which is the release level of the host. I know the jail is running a pristine minimum install of 8.0-RELEASE. I would think issuing uname from within a jail environment should respond with the info of the jail environment. Is this not a security violation? I'm guessing your understanding of jails is a bit off. A FreeBSD jail isn't a fully virtualised system. As implemented, jails share the host system's kernel. The Handbook makes clear that a jail is essentially defined by a directory subtree, a hostname, an IP address, and a command. Well, that, and things like user accounts. So when you run uname, what's reported is kernel information as stored in various sysctl(8) MIBs (kern.ostype, kern.osrelease, kern.osrevision, kern.version, etc.). And because there's only one kernel, you'll get the same output from running uname on the host as you would get from running it inside a jail. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: text to html
On Sat, Jul 03, 2010 at 11:07:29AM +0200, Jozsi Avadkan wrote: input: http://pastebin.com/raw.php?i=MqPXZwc3 output: http://pastebin.com/raw.php?i=8QCkp4yv it will be a long day.. :D could someone please help with it? i have to make a one liner that get's the input, and gives the mentioned output. A one-liner, huh? LOL. Add semi-colons? The following should accomplish what you want. #!/bin/sh sample_data=\ debian/hosts/hosts.html debian/use-other-users-when-using-wine-eg-dude.html debian/java-chromium-etc.html dns/dns-server-szakszon-mihaly-hungarian.html netbsd/sshd.html netbsd/installing-removing-programs.html netbsd/install-from-pendrive/install-from-pendrive.html openwrt/wrt160nl/wrt160nl-flash.html routeros/home-soho-router.html routeros/turn-off-watchdog.html seen='nothing_to_see_yet_move_along' echo $sample_data | while read target; do topic=${target%%/*} # debian/hosts/hosts.html - debian filename=${target##*/} # debian/hosts/hosts.html - hosts.html title=${filename%.*}# hosts.html - hosts if [ $topic = $seen ]; then echo | a href=\${target}\${title}/a else echo br br font size=4${topic}/font br echo a href=\${target}\${title}/a fi seen=$topic done -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: .sh ip address
On Wed, Jun 23, 2010 at 10:31:51AM +0800, Aiza wrote: I looking to take the last group number in a ip address and bump the number by 1. BY the way is there some name for each group of numbers in the ip address? Octet. Something like. org_ip=10.0.10.2 short_ip=need command to strip off the 2 so short_ip contains 10.0.10. and ip_suffix= ends up holding the 2, then add 1 to the ip_suffix. ip_suffix=$(( ${ip_suffix + 1 )) org_ip=${short_ip}${ip_suffix} Thinking there must be some common way of manipulating ip addresses that I just don't know about. man sh | less -pParameter Expansion org_ip=10.0.10.2 ${org_ip##*.} # yields 2 ${org_ip%.*}# yields 10.0.10 Do read the manpage. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Booting multiple choice, and pause to read bootup info
On Mon, Jun 21, 2010 at 08:19:22PM -0500, J. Porter Clark wrote: 1. I'd like to be able to expand the list of choices in the boot menu (the menu with single user mode, safe mode, etc.) to include booting in any of several different environments, e.g., home wired, home wireless, work wired, work wireless. Hacking the FORTH code isn't entirely out of the question, but before I even try it, I need to know how I could tell the system to switch among different rc.conf files (if that's even possible) from the loader. Offhand, I don't see a mechanism for doing so. Cleverer ideas welcome. I did something similar for PXE scenarios but eventually decided I was spending more time coming up with clever ideas than I would have saved making use of any of them. The approach I took was to write a custom loader.rc (with an include for each of the possible options), but IIRC everything was presented via a rudimentary menu. For customising the existing menu, if you read through loader(8), and then have a look at what's provided in /usr/share/examples/bootforth, you should be able to figure things out without too much trouble. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: command to strip suffix in .sh script
On Thu, Jun 03, 2010 at 11:11:16PM +0700, Anh Ky Huynh wrote: On Wed, 02 Jun 2010 20:25:36 -0400 Vinny wrote: On 06/02/2010 04:30, Matthew Seaman wrote: On 02/06/2010 09:24:01, Matthias Apitz wrote: Aiza wrote: I have this code [snip] $ echo 'archivename-201006021514.34.tar.gz' | sed 's/-.*$//' archive_name=${fromarchive%-*} Thanks Matthew, that's really neat. It took me a long time to find the correct google incantation to find the documentation for that. ( bourne shell pattern-matching notation ) In fact I know about that from Bash's documents:) IMHO, there are more Bash's documents than Bourne's ones. Kids today. ;-) No need for Magick Google Incantations: man sh | less -p 'Parameter Expansion$' man bash | less -p 'Parameter Expansion$' -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: upgrading squeezeboxserver
Vincent Zee writes: Hi, I recently upgraded to the newest version of audio/squeezeboxserver. After the update the server is unable to rescan my music collection. Does anyone else encountered this problem? How can I revert to the previous version of squeezeboxserver (I'm using Portmaster to upgrade my ports)? I had this problem and managed to work around it. I haven't had time to track it down enough to file a bug though. My fix was to downgrade p5-DBIx-Class to version 08120. There's probably a proper way to do this thing, but what I ended up doing was downgrading the port's distinfo file, replacing its contents with the following three lines: MD5 (DBIx-Class-0.08120.tar.gz) = ebed5ed315618e783ac048767aed90a5 SHA256 (DBIx-Class-0.08120.tar.gz) = c97af692cbbf9779457e669b52d117b3b174aac3826d4af20da7f26e5aabe479 SIZE (DBIx-Class-0.08120.tar.gz) = 513806 grabbed from r47 found here: http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/p5-DBIx-Class/distinfo?sortby=rev and changing the PORTVERSION in the Makefile to 0.08120. Then did a make, a make deinstall and a make install. There was probably a make makesum in there too. Let me know if you need more details suggestions. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
can't access FreeBSD boot CD data (but can boot just fine) using IP KVM fake drives
Most modern IP KVMs allow you to specify a ISO image, and they will feed it to the computer via USB and allow you to boot arbitrary cds. However, I notice problems in both standard FreeBSD install discs and FreeBSD-based live CDs, wherein the CD will boot and run just fine, but when it comes time to read data off of the CD, the running system cannot access it. So, for instance, I boot with my KVM attached and I see this in dmesg: ums0: Startech.com server remote control device_attach: ums0 attach returned 6 and the system continues booting, but then: [*] Extracting filesystems /dist/mountcd: Can't open /dist/mountcd: No such file or directory [*] Error Extracting Filesystems (this was with ROFreeSBIE) With the plain old FreeBSD disc 1, I can go all the way through the install, but I cannot choose CD/DVD as install media, I have to ue the FTP option ... somehow I can boot up and use the install CD, but I cannot read any data on it. ... so my question is: What flags/options/whatever can I feed the booting CD, in the loader, to tell it just keep using that same old USB CD ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
dumping a raid member with 'dd' for insurance...
A 3ware raid5 array I had died. It looks like the data is intact, and there are two good recovery methods: 1) a toolchain from 3ware that, if it doesn't work, will destroy the data. This method is free, and I can do it myself. 2) professional forensic services. Costs a lot. I'm going to start with #1, but before I do I want to image the individual drive members so that I can go to method #2 if necessary. I am planning on attaching each individual member of the raid5 array to a test FreeBSD system, and run: dd if=/dev/ad1 of=/data/disk/image.file Two questions: - is that a complete 'dd' command, or do I need to specify bs=xxx and count=xxx ? - is there any chance that simply booting with this drive attached to the system, and running a 'dd' like this, will somehow alter the contents or touch the array member in any way ? What I have described above appears to be a completely read-only process, but I'd like to make sure there aren't ANY bits that FreeBSD will write to this disk ... Thak you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Small computer to run a GUI?
On Fri, May 07, 2010 at 06:41:16PM -0700, Liontaur wrote: I'm looking for a small (and relatively inexpensive) computer to run a GUI, I don't much care if it's KDE or Gnome or one of the others. Just so that I can browse the Internet using Firefox (unfortunately I may need to look at some flash). So they need to be able to run FreeBSD (obviously), a GUI, have a Cat5 port (10/100 is fine), and PS/2s for mouse and keyboard. USB is a bonus but not necessary. I remember seeing some kind of small terminals at the local library but I can't remember now who made them I think it was Weis or Weir or something like that but a google brings up nothing. I was hoping to either boot them over a network or using a CF card or something with a small footprint as well. WYSE. Do a search on eBay for either network terminal or thin client and and you'll probably find the same model you saw in the library. I went checking out Soekris but couldn't really see if they offer a GUI, the models I looked at didn't have a VGA port though. I was hoping for something about 9 inches square and three inches thick, or smaller. The lack of video on Soekris boxes is deliberate, and is considered a feature. Sounds to me like you probably want either a Mac Mini or a mini-ITX system. I've never been that impressed by mini-ITX, but the newer Atom-based models look promising, and are certainly more affordable than a Mac Mini. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Gaming
On Thu, Apr 29, 2010 at 8:54 PM, David Kelly dke...@hiwaay.net wrote: On Thu, Apr 29, 2010 at 10:10:20AM -0700, Joe's Morgue wrote: Looking thru your manuals, I have not seen anything about gaming on a FreeBSD machine. ? You are not reading the manual correctly. Then *entire* manual is the game. :-) Where is that upvote button when you need it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Improving SMP performance?
On Wed, Apr 28, 2010 at 3:32 AM, Neil Short nesh...@yahoo.com wrote: I'm somewhat disappointed in the performance in my laptop which is supposed to have a really fast processor. Is there some way to get more out of the processor? [neshort/] uname -a FreeBSD carmen 8.0-STABLE FreeBSD 8.0-STABLE #1: Thu Apr 15 19:54:24 MST 2010 nesh...@carmen:/usr/obj/usr/src/sys/CARMEN i386 [neshort/] dmesg ... Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (2127.92-MHz 686-class CPU) Origin = GenuineIntel Id = 0x20652 Family = 6 Model = 25 Stepping = 2 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x98e3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT AMD Features=0x2800RDTSCP,LM AMD Features2=0x1LAHF TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 3066707968 (2924 MB) ACPI APIC Table: HPQOEM SLIC-MPC FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 5 == What did you do? the man holding the flashlight asked. I put down a spider, he said, wondering why the man didn't see; in the beam of yellow light the spider bloated up larger than life. So it could get away. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org What is the value of dev.cpu.0.freq? Does it match the specification of your cpu? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How can I confirm proper chroot ?
Hello, I am using a particular program that has a command line option to chroot to the current directory. But I would like to make sure ... I want to be sure what directory the executable is actually rooted in. How can I do this ? Perhaps with lsof ? I don't see any information from the 'ps' output that would give me definitive information: nobody 96074 0.0 0.1 8804 3896 ?? Ss 11:16AM 0:00.01 /usr/local/sbin/thttpd -d /htdocs -r -l /dev/null So I'd like some independent confirmation of where this running program is actually rooted... Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Kill via Cron...
On Tue, Apr 20, 2010 at 12:57:25PM -0700, Randal L. Schwartz wrote: Karl == Karl Vogel voge...@hcst.com writes: On Tue, 20 Apr 2010 08:52:58 +0100, mcoyles mcoy...@horbury.wakefield.sch.uk said: M kill -9 `ps ax | grep backup | grep -v grep | awk '{print $1}'` And you don't have to remember grep -v grep if you remember to use ps axc (note the c), since arguments won't show up so the arguments to grep won't generate a false positive. Alternatively: ps ax | grep [b]ackup | awk '{print $1}' Or to avoid being nominated for something like the Useless Use of Cat award: ps ax | awk '/[b]ackup/ {print $1}' Making use pgrep/pkill would seem to make the most sense. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: emacs-23.1_3,1 - 23.1._4,1 upgrade
On Mon, Mar 29, 2010 at 9:22 AM, n dhert ndhert...@gmail.com wrote: There was an emacs upgrade in the ports today, but it fails: ... cc -nostdlib `./prefix-args -Xlinker -L/usr/local/lib -znocombreloc` -L/usr/loc al/lib -lintl -Wl,-znocombreloc -L/usr/local/lib -o temacs pre-crt0.o /usr/lib/c rt1.o /usr/lib/crti.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal. o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o g tkutil.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filel ock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o c asefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o call int.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode .o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o inte rvals.o textprop.o composite.o md5.o xfont.o ftfont.o xftfont.o ftxfont.o ter minfo.o lastfile.o gmalloc.o vm-limit.o mktime.o -L/usr/local/lib -pthread -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoc airo-1.0 -lgio-2.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcompos ite -lXdamage -lpangoft2-1.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype - lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lpthread -lSM -lICE -ltiff - ljpeg -lpng -lz -lm -lungif -lXpm -lX11 -L/usr/local/lib -lXft -lXrender -lfontc onfig -lfreetype -lX11 -pthread -L/usr/local/lib -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread -L/usr/local/lib -ldbus- 1 -lutil -lncurses -L/usr/local/lib -lz -lotf -lfreetype -L/usr/local/lib -lm17 n-flt -lm17n-core -lm -lgcc -lc -lgcc /usr/lib/crtn.o image.o(.text+0x6674): In function `png_load': : undefined reference to `png_check_sig' image.o(.text+0x6db4): In function `png_load': : undefined reference to `png_check_sig' gmake[1]: *** [temacs] Error 1 gmake[1]: Leaving directory `/usr/ports/editors/emacs/work/emacs-23.1/src' gmake: *** [src] Error 2 *** Error code 1 Stop in /usr/ports/editors/emacs. *** Error code 1 Stop in /usr/ports/editors/emacs. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100329-80 747-c7qafh-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=emacs-23.1_3,1 UPGRADE_PO RT_VER=23.1_3,1 make FETCH_BEFORE_ARGS=-q DEPENDS_TARGET=package ** Fix the problem and try again. --- Build of editors/emacs ended at: Mon, 29 Mar 2010 11:13:25 +0200 (consumed 00:04:25) --- Upgrade of editors/emacs ended at: Mon, 29 Mar 2010 11:13:25 +0200 (consum ed 00:04:25) --- ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed What's wrong and how to fix? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I had the same problem with x11-fm/thunar, png_check_sig got replaced by png_sig_cmp in libpng 1.4.0. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
procmail regex help ... sometimes works, sometimes doesn't...
I have added a very standard, very common regex line to my .procmailrc to filter character sets I can't read: UNREADABLE='[^?]*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|ks_c_5601|3Deuc-kr|koi8' :0: * ^Content-Type:.*multipart * B ?? $ ^Content-Type:.*^?.*charset=?($UNREADABLE) unreadable_messages I know that this works because my unreadable_messages mail file is now full of messages with headers like: From: =?GB2312?B?xMLTq9Or?= uigvru...@heki.net Subject: =?GB2312?B?MjAxMMTqyMvBptfK1LS4w9bYytPKssO0?= To: me m...@me.com Content-Type: text/html; charset=gb2312 However, a lot of mail gets through to my inbox that matches: From: osdeiiftn...@gmail.com xjyfgz...@gmail.com Reply-To: osdeiiftn...@gmail.com xjyfgz...@gmail.com Message-ID: 533pbxxy2oc To: me m...@me.com Subject: Fw: \xb8\xf2\xad\xe8\xa5X\xa8\xd3\xbd\xe6~\xb1o\xb4\xa9\xa9f\xaa\xb1\xb5L\xaeM\xa4\xba\xaeg\xb2n\xa7o X-Mailer: inhalation Organization: Microsoft Outlook Express 6.00.2462. Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=1-104247307-2712732737=:8213 Status: RO X-Status: X-Keywords: X-UID: 63502 --1-104247307-2712732737=:8213 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: quoted-printable However, big5 is very clearly listed in my regex above, and as far as I can tell, this mail should match perfectly... I cannot see why these big5 emails are not matching my procmail regex ... is it obvious to anyone ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: How do I fix the broken python26 port in 7.2-RELEASE ?
Virgin 7.2-RELEASE install. I run: csup -h cvsup4.freebsd.org -i ports/lang/python26 -g -L 2 /usr/share/examples/cvsup/ports-supfile and now I have a /usr/ports/lang/python26/distinfo that looks like: MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246 SHA256 (python/Python-2.6.4.tgz) = 1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252 SIZE (python/Python-2.6.4.tgz) = 13322131 This looks like mine. Perfect. I'll just do a 'make install' and ... # make install === Vulnerability check disabled, database not found === Found saved configuration for python26-2.6.4 = Python-2.6.1.tgz is not in /usr/ports/lang/python26/distinfo. = Either /usr/ports/lang/python26/distinfo is out of date, or = Python-2.6.1.tgz is spelled incorrectly. *** Error code 1 This is the wrong distfile. Ok, but as you can see from the paste above, I _do_ have the right distfile in my /ports/lang/python26 directory. So where is it getting this wrong distfile from, and why is it using it ? I am NOT csup'ing and installing the port all in one operation - I am doing two distinct things: 1. csup ONLY the python26 port 2. make install the python26 port Why is this rocket science ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How do I fix the broken python26 port in 7.2-RELEASE ?
Virgin 7.2-RELEASE install. I run: csup -h cvsup4.freebsd.org -i ports/lang/python26 -g -L 2 /usr/share/examples/cvsup/ports-supfile and now I have a /usr/ports/lang/python26/distinfo that looks like: MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246 SHA256 (python/Python-2.6.4.tgz) = 1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252 SIZE (python/Python-2.6.4.tgz) = 13322131 Perfect. I'll just do a 'make install' and ... # make install === Vulnerability check disabled, database not found === Found saved configuration for python26-2.6.4 = Python-2.6.1.tgz is not in /usr/ports/lang/python26/distinfo. = Either /usr/ports/lang/python26/distinfo is out of date, or = Python-2.6.1.tgz is spelled incorrectly. *** Error code 1 Stop in /usr/ports/lang/python26. *** Error code 1 Stop in /usr/ports/lang/python26. I have no idea how to make this work. I grepped everywhere for both Python-2.6.1.tgz and python26-2.6.4 in an attempt to change them by hand, but I cannot find a single file in my filesystem that contains those strings, so I have no idea where the ports tree is getting this information. This was not an odd or non-standard operation - what am I doing wrong ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: nVidia 64bit drivers
On Fri, Mar 12, 2010 at 11:55 AM, Carmel carmel...@hotmail.com wrote: Have the 64bit drivers from nVidia been incorporated into the FreeBSD ports system yet? I read awhile ago that they were being developed; however, I have not found them present in the ports system. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Oregano, n.: The ancient Italian art of pizza folding. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Yes they are, they got in to the ports tree a week or so after the nVidia release. [x11/nvidia-driver] Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: nVidia 64bit drivers
On Fri, Mar 12, 2010 at 8:04 PM, Carmel carmel...@hotmail.com wrote: On Fri, 12 Mar 2010 12:39:34 + George Liaskos geo.lias...@gmail.com articulated: On Fri, Mar 12, 2010 at 11:55 AM, Carmel carmel...@hotmail.com wrote: Have the 64bit drivers from nVidia been incorporated into the FreeBSD ports system yet? I read awhile ago that they were being developed; however, I have not found them present in the ports system. Yes they are, they got in to the ports tree a week or so after the nVidia release. [x11/nvidia-driver] Actually, that is not the latest version, http://www.freebsdnews.net/2010/03/05/download-nvidia-195-36-08-freebsd-display-driver/ is the latest. Also, they appear to be waiting for when Linux/x86-64 compatibility is added to FreeBSD/amd64 is completed. -- Carmel carmel...@hotmail.com |=== |=== |=== |=== | Life is like an onion: you peel off layer after layer and then you find there is nothing in it. James Huneker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 195.22 beta is the only version that nvidia has released for FBSD/amd64. You can refer to the following post about the current official releases : http://www.nvnews.net/vbulletin/showthread.php?t=127019 195.36.08 is removed from web ftp thus, the latest official release is 190.53 Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is there a native driver for 'Dell Wireless 1397'?
On Wed, Mar 10, 2010 at 10:05 AM, Nikos Vassiliadis nvass9...@gmx.com wrote: Hi, I am interested in buying a laptop from the Dell Inspiron 15 series. Most of them are having a wifi card branded as 'Dell Wireless 1397'. Is there a driver for this? I would prefer a native driver, but success stories using it with NDIS or other general comments regarding the Dell Inspiron 15 series are welcome. Thanks, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hello, From a quick google query this card should have a Broadcom BCM43xx chipset. http://www.freebsd.org/cgi/man.cgi?query=bwi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is there a native driver for 'Dell Wireless 1397'?
On Wed, Mar 10, 2010 at 10:34 AM, Nikos Vassiliadis nvass9...@gmx.com wrote: On 3/10/2010 12:13 PM, George Liaskos wrote: On Wed, Mar 10, 2010 at 10:05 AM, Nikos Vassiliadisnvass9...@gmx.com wrote: Hi, I am interested in buying a laptop from the Dell Inspiron 15 series. Most of them are having a wifi card branded as 'Dell Wireless 1397'. Is there a driver for this? I would prefer a native driver, but success stories using it with NDIS or other general comments regarding the Dell Inspiron 15 series are welcome. Hello, From a quick google query this card should have a Broadcom BCM43xx chipset. http://www.freebsd.org/cgi/man.cgi?query=bwi Thanks, but I've already done the quick google and the not-so-quick google look. The results were not that positive. Do you know by personal experience that this card is working with bwi driver? Or at least with NDIS and amd64? Thanks, Nikos No, i do not have this card but i trust the man pages :) I found this post : http://www.linuxquestions.org/hcl/showproduct.php/product/4325/sl/i 0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01) Maybe what you find is based on experiences before May 16, 2009? Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Downloading issue!
On Tue, Mar 9, 2010 at 2:58 PM, Emmanuel Opio immanuel...@gmail.com wrote: Hi, Am studying at a University in E. Africa but the problem is that our server administrators blocked ftp and filtered out images, so we can not download any image file, the most common extension for operating systems. I was just requesting then if there is a HTTP site with zipped freeBSD image files ready for download. It would really help a number of us out here. Thanks abundantly, Yours sincerely, Emmanuel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi, Maybe you could try the memstick.img or the dvd1.iso.gz http://ftp.ntua.gr/pub/FreeBSD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Flash viewer for FBSD
On Sat, Mar 6, 2010 at 1:07 PM, C. P. Ghost cpgh...@cordula.ws wrote: And remember, youtube-dl is a hack. It can break anytime YT changes its embedding. I wished YouTube would switch to HTML5, or at least added this as an option. Actually this option exists http://www.youtube.com/html5 The problem is Opera and Firefox do not support h.264 decoding but you can use Chromium for that. http://wiki.freebsd.org/Chromium http://code.google.com/p/chromium-freebsd8/ It would be nice if Firefox used the plugin mechanism to do the decoding. With something like ffmpeg there would be no problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitable laptop for FreeBSD?
On Wed, Mar 3, 2010 at 1:48 PM, Andreas Davour a...@update.uu.se wrote: I am thinking of buying a new laptop, and want one which will work fine with FBSD. Anyone have any suggestions? It must have a connector for a external screen (i.e. a projector when doing presentations), wireless, ~15 screen, lots of memory, and optical unit, and preferable a long battery time (i.e. CPU speed is not that important). Webpages, own experiences or any other comparisons available? Please cc me if answering. /andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I use a lenovo thinkpad T500 running 8.0-STABLE, with xrandr i can set up external monitors in no time. The ATi card works very well, i get over 2000fps on glxgears but it does not have power management just yet, so it gets hot. 15.4 @ 1680x1050, 4GB DDR3, T9550 @ 2.66GHz hos...@pci0:0:0:0: class=0x06 card=0x20e017aa chip=0x2a408086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile Memory Controller Hub' class = bridge subclass = HOST-PCI pc...@pci0:0:1:0: class=0x060400 card=0x20e217aa chip=0x2a418086 rev=0x07 hdr=0x01 vendor = 'Intel Corporation' device = 'Mobile PCI Express Graphics Port' class = bridge subclass = PCI-PCI no...@pci0:0:3:0: class=0x078000 card=0x20e617aa chip=0x2a448086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel Management Engine Interface (Mobile 4 Series Chipset)' class = simple comms no...@pci0:0:3:3: class=0x070002 card=0x20ec17aa chip=0x2a478086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Active Management Technology - SOL (20EC17AA)' class = simple comms subclass = UART e...@pci0:0:25:0:class=0x02 card=0x20ee17aa chip=0x10f58086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel 82567LM-2 Gigabit Network Connection (82567LM)' class = network subclass = ethernet uh...@pci0:0:26:0: class=0x0c0300 card=0x20f017aa chip=0x29378086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class = serial bus subclass = USB uh...@pci0:0:26:1: class=0x0c0300 card=0x20f017aa chip=0x29388086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class = serial bus subclass = USB uh...@pci0:0:26:2: class=0x0c0300 card=0x20f017aa chip=0x29398086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class = serial bus subclass = USB eh...@pci0:0:26:7: class=0x0c0320 card=0x20f117aa chip=0x293c8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller' class = serial bus subclass = USB hd...@pci0:0:27:0: class=0x040300 card=0x20f217aa chip=0x293e8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) HD Audio Controller' class = multimedia subclass = HDA pc...@pci0:0:28:0: class=0x060400 card=0x20f317aa chip=0x29408086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 1' class = bridge subclass = PCI-PCI pc...@pci0:0:28:1: class=0x060400 card=0x20f317aa chip=0x29428086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 2' class = bridge subclass = PCI-PCI pc...@pci0:0:28:2: class=0x060400 card=0x20f317aa chip=0x29448086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 3' class = bridge subclass = PCI-PCI pc...@pci0:0:28:3: class=0x060400 card=0x20f317aa chip=0x29468086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 4' class = bridge subclass = PCI-PCI pc...@pci0:0:28:4: class=0x060400 card=0x20f317aa chip=0x29488086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 5' class = bridge subclass = PCI-PCI uh...@pci0:0:29:0: class=0x0c0300 card=0x20f017aa chip=0x29348086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device =
Using webcam Windows driver
Hi, I have a logitech quickcam. Will I be able to use it in FreeBSD? Can I use Windows driver? Thanks -Siju ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Frequency scaling error on AMD Turion [hwpstate]
Hello list! I am trying remotely to help a friend set up his laptop with 8.0-STABLE amd64, installation went pretty smooth but i have a problem with power saving. When i start powerd i get the following error repeatedly: kernel: hwpstate0: set freq failed, err 6 dmesg | grep -i cpu CPU: AMD Turion(tm)X2 Dual Core Mobile RM-70 (2000.08-MHz K8-class CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 hwpstate0: Cool`n'Quiet 2.0 on cpu0 cpu1: ACPI CPU on acpi0 SMP: AP CPU #1 Launched! dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1750 dev.cpu.0.freq_levels: 2000/15620 1750/13667 1500/11715 1250/9762 1000/5605 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% last 500us I am using a 20100101 snapshot but i do a sync with latest right now. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD's UFS vs Ext4
For what is worth these are the results on my Lenovo Thinkpad T500 with zfs. http://global.phoronix-test-suite.com/?k=profileu=thuglife-5875-16786-4629 dmesg | grep ada0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: WDC WD2500BEKT-00A25T0 01.01A01 ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO size 8192bytes) ada0: Command Queueing enabled ada0: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C) zfs prefetch off zfs checksum on | fletcher4 zfs compression on | lzjb vfs.zfs.arc_min=64M vfs.zfs.arc_max=512M stock ufs FBSD http://www.phoronix.com/scan.php?page=articleitem=linux_bsd_opensolarisnum=6 Apples and oranges, I know, the point is I don’t feel that the IO performance is lagging on my laptop. On Tue, Feb 9, 2010 at 9:33 AM, krad kra...@googlemail.com wrote: On 9 February 2010 01:54, J65nko j65...@gmail.com wrote: On Mon, Feb 8, 2010 at 5:46 AM, alex a...@mailinglist.ahhyes.net wrote: I do suspect personally that the ext4 filesystem is the reason for the difference here, since ext4 has a number of features such as deferred disk writes etc. Even deleting a large file off that raid array I can see a difference, prior to reformatting, i deleted a 190GB file off the raid, under UFS the delete took quite some time (well over 10 seconds), under ext4 the deletion of the same size file took about 3 seconds. But what I said with ext4 being faster then the aging UFS still rings true in my mind, look at the recent Phoronix benchmarks for yourself and see (10 pages of benchmarks). http://www.phoronix.com/scan.php?page=articleitem=freebsd8_benchmarksnum=1 (skip to page 7 of the benchmarks if you want to see the I/O stuff relating to disk performance) According to the first page they used the default configuration of all benchmarked OS'es. And what is the default mount option on Linux async The FreeBSD man page for mount describes this async option as follows: async All I/O to the file system should be done asynchronously. This is a dangerous flag to set, since it does not guar- antee that the file system structure on the disk will remain consistent. For this reason, the async flag should be used sparingly, and only when some data recov- ery mechanism is present. The OpenBSD man page has the following additional remark: The most common use of this flag is to speed up restore(8) where it can give a factor of two speed in- crease. Conclusion: you cannot compare filesystem performance, when you give one a unfair speed advantage of what could be a factor two. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org you are of course entirely correct, however one of the goals of more modern file systems eg ext4 is to make async safe to use, because of this speed up. At the end of the day faster is faster simple as. Having said that it would be nice to see a gjournaled ufs system for comparison, as well as zfs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: GeForce GTX 260M on amd64
http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/nvidia-driver/ 2010/2/4 Bc. Radek Krejca ra...@ceskedomeny.cz: Hello, I found this - now I am waiting if this will be in ports: http://www.nvnews.net/vbulletin/showthread.php?t=142120 Radek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: GeForce GTX 260M on amd64
Hi Did you try the binary driver x11/nvidia-driver? Your card should be supported. 2010/2/3 Bc. Radek Krejca ra...@ceskedomeny.cz: Hello, I have bought new notebook with GeForce GTX 260M and installed amd64 distribution of freebsd 8 because of 4GB RAM. Is there any way to run OpenGL (get drivers for this graphics card)? Thanks Radek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Strange network issue in freebsd 8
Hello Sam, The problem happened today again. I am getting this message on traceroute === traceroute: findsaddr: write: No such process When running a ping to 8.8.8.8, it says following. === ping: sendto: No route to host Please see the result of netstat -rn command. myserver# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultXXX.XXX.XXX.241 UGS62 209247em0 127.0.0.1 link#3 UH 00lo0 XXX.XXX.XXX.240/29 link#1 U 00em0 XXX.XXX.XXX.242 link#1 UHS 00lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#3U lo0 fe80::1%lo0 link#3UHS lo0 ff01:3::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 = Note: I have replaced first three octets. I have checked netstat -m also. It is also not showing any problem. Could anyone please help me to sort out this issue. -- Thanks, Sherin On Thu, Jan 28, 2010 at 6:29 AM, sam s...@ip6.com.au wrote: Hi, Is this problem still happening? Cheers Sam On 24/01/2010 2:16 PM, Sherin George wrote: Hello, I am facing some sort of strange network issue in a freebsd server occasionally. OS: FreeBSD 8.0-RELEASE - amd64 Now, I have updated to FreeBSD 8.0-RELEASE-p2 The servers loses network connection once in a few days. I logged into console and verified that network is up. I even restarted network service using following command. /etc/rc.d/netif restart Still, it didn't fix. I checked /var/log/messages, but I am not getting any clue. == Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad0 finished. Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN Jan 23 02:20:02 myserver kernel: em0: link state changed to UP Jan 23 02:29:58 myserver reboot: rebooted by root Jan 23 02:29:58 myserver syslogd: exiting on signal 15 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD Project. Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 23 02:31:31 myserver kernel: The Regents of the University of California. All rights reserved. Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu: /usr/obj/usr/src/sys/GENERIC Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz quality 0 == Network, TCP stack all were up. It was pinging gateway even. But, traceroute was not going beyond gateway. I believe the issue is not related to anything outside server since a reboot always fixes the issue. I will be grateful for any advice that can help me in troubleshooting this problem. -- Best Regards, Sherin ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Strange network issue in freebsd 8
Hello, Thanks Qing. I have already upgraded to latest patch as per per the advise of freebsd-hackers == myserver# uname -a FreeBSD myserver.server.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 myserver# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 8.0-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 8.0-RELEASE-p2. == -- Regards, Sherin On Thu, Jan 28, 2010 at 8:22 AM, Li, Qing qing...@bluecoat.com wrote: I have been consumed by day job 200% of my time. I have some free time tonight and can work with you off-line. Is it possible for you to update to the latest stable-8 kernel and we start from there ? -- Qing -Original Message- From: owner-freebsd-...@freebsd.org on behalf of Sherin George Sent: Wed 1/27/2010 6:05 PM To: freebsd-...@freebsd.org; freebsd-hack...@freebsd.org; freebsd-questions@freebsd.org Subject: Re: Strange network issue in freebsd 8 Hello Sam, The problem happened today again. I am getting this message on traceroute === traceroute: findsaddr: write: No such process When running a ping to 8.8.8.8, it says following. === ping: sendto: No route to host Please see the result of netstat -rn command. myserver# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultXXX.XXX.XXX.241 UGS62 209247em0 127.0.0.1 link#3 UH 00lo0 XXX.XXX.XXX.240/29 link#1 U 00em0 XXX.XXX.XXX.242 link#1 UHS 00lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#3U lo0 fe80::1%lo0 link#3UHS lo0 ff01:3::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 = Note: I have replaced first three octets. I have checked netstat -m also. It is also not showing any problem. Could anyone please help me to sort out this issue. -- Thanks, Sherin On Thu, Jan 28, 2010 at 6:29 AM, sam s...@ip6.com.au wrote: Hi, Is this problem still happening? Cheers Sam On 24/01/2010 2:16 PM, Sherin George wrote: Hello, I am facing some sort of strange network issue in a freebsd server occasionally. OS: FreeBSD 8.0-RELEASE - amd64 Now, I have updated to FreeBSD 8.0-RELEASE-p2 The servers loses network connection once in a few days. I logged into console and verified that network is up. I even restarted network service using following command. /etc/rc.d/netif restart Still, it didn't fix. I checked /var/log/messages, but I am not getting any clue. == Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad0 finished. Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN Jan 23 02:20:02 myserver kernel: em0: link state changed to UP Jan 23 02:29:58 myserver reboot: rebooted by root Jan 23 02:29:58 myserver syslogd: exiting on signal 15 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD Project. Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 23 02:31:31 myserver kernel: The Regents of the University of California. All rights reserved. Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu: /usr/obj/usr/src/sys/GENERIC Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz quality 0 == Network, TCP stack all were up. It was pinging gateway even. But, traceroute was not going beyond gateway. I believe the issue is not related to anything outside server since a reboot always fixes the issue. I will be grateful
Re: Help booting FreeBSD with a ZFS root filesystem
I had the same issue because i forgot to copy the zpool.cache under /zroot/boot/zfs. On Mon, Jan 25, 2010 at 9:31 PM, Ross Penner ross.pen...@gmail.com wrote: I'm trying to set up a system using ZFS as the root filesystem. I followed this guide: (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot). Everything went swimmingly until I rebooted and the system failed to load. output: FreeBSD/i386 bootstrap loader, Revision 1.1 (root@, Mon Jan 25 13:03:11 UTC 2010) \ can't load 'kernel' Type '?' for a list of command, 'help' for more detailed help. OK I used the memstick 8.0-Release. Can anybody suggest what could have gone wrong, or how I could find out what could have gone wrong? Thank you 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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Strange network issue in freebsd 8
Hello, i am facing some sort of strange network issue in a freebsd server occasionally. OS: FreeBSD 8.0-RELEASE - amd64 The servers loses network connection once in a few days. I logged into console and verified that network is up. I even restarted network service using following command. /etc/rc.d/netif restart Still, it didn't fix. I checked /var/log/messages, but I am not getting any clue. == Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad0 finished. Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN Jan 23 02:20:02 myserver kernel: em0: link state changed to UP Jan 23 02:29:58 myserver reboot: rebooted by root Jan 23 02:29:58 myserver syslogd: exiting on signal 15 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD Project. Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 23 02:31:31 myserver kernel: The Regents of the University of California. All rights reserved. Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu: /usr/obj/usr/src/sys/GENERIC Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz quality 0 == Network, TCP stack all were up. It was pinging gateway even. But, traceroute was not going beyond gateway. I believe the issue is not related to anything outside server since a reboot always fixes the issue. I will be grateful for any advise that can help me in troubleshooting this problem. -- Best Regards, Sherin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Strange network issue in freebsd 8
Hello, Thanks for the reply. Please see the result of netstat -rn command. myserver# netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultXXX.XXX.XXX.241 UGS62 209247em0 127.0.0.1 link#3 UH 00lo0 XXX.XXX.XXX.240/29 link#1 U 00em0 XXX.XXX.XXX.242 link#1 UHS 00lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#3U lo0 fe80::1%lo0 link#3UHS lo0 ff01:3::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 = Note: I have replaced first three octets. -- Regards, Sherin On Sat, Jan 23, 2010 at 11:57 PM, dacoder d...@dcoder.net wrote: you don't say what netstat -rn shows for a default route. +++ Sherin George [23/01/10 14:52 +0530]: Hello, i am facing some sort of strange network issue in a freebsd server occasionally. OS: FreeBSD 8.0-RELEASE - amd64 The servers loses network connection once in a few days. I logged into console and verified that network is up. I even restarted network service using following command. /etc/rc.d/netif restart Still, it didn't fix. I checked /var/log/messages, but I am not getting any clue. == Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad0 finished. Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN Jan 23 02:20:02 myserver kernel: em0: link state changed to UP Jan 23 02:29:58 myserver reboot: rebooted by root Jan 23 02:29:58 myserver syslogd: exiting on signal 15 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD Project. Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 23 02:31:31 myserver kernel: The Regents of the University of California. All rights reserved. Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 Jan 23 02:31:31 myserver kernel: r...@mason.cse.buffalo.edu: /usr/obj/usr/src/sys/GENERIC Jan 23 02:31:31 myserver kernel: Timecounter i8254 frequency 1193182 Hz quality 0 == Network, TCP stack all were up. It was pinging gateway even. But, traceroute was not going beyond gateway. I believe the issue is not related to anything outside server since a reboot always fixes the issue. I will be grateful for any advise that can help me in troubleshooting this problem. -- Best Regards, Sherin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- regards, David Coder Network Engineer Emeritus, Verio/NTT Telluride, CO Washington, DC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Strange network issue in freebsd 8
Hello, Thanks for the reply. Please see the rc.conf file given below. === myserver# cat /etc/rc.conf defaultrouter=XXX.XXX.XXX.241 hostname=myserver.net ifconfig_em0=inet XXX.XXX.XXX.242 netmask 255.255.255.248 nfs_client_enable=YES nfs_server_enable=YES rpcbind_enable=YES sshd_enable=YES zfs mount -a inetd_enable=YES == Note: I have replaced first three octets. -- Regards, Sherin On Sun, Jan 24, 2010 at 4:39 AM, Michael L. Squires mi...@siralan.orgwrote: I am using an em0 card with 7.2-STABLE, no problems. My guess is that there is something wrong with the ifconfig commands in rc.conf for the em0 card. What do they look like? Mine are (DHCP via a Comcast cable modem) network_interfaces=fxp0 bge0 lo0 hostname=familysquires.net ifconfig_fxp0=DHCP ifconfig_em0=inet 10.1.5.1 netmask 255.255.255.0 gateway_enable=YES firewall_enable=YES firewall_type=simple natd_enable=YES natd_interface=fxp0 natd_flags= # other For a system inside the firewall with a fixed IP I have defaultrouter=10.1.5.1 ifconfig_em0=inet 10.1.5.160 netmask 255.255.255.0 inetd_enable=YES (System 1 connects to outside via a cable modem (fxp0); the em0 interface connects to a gigabit switch. System 2 is on the switch and uses System 1 as its router). Mike Squires ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Setting zfs_arc_max value in FreeBSD 8.
Hello, I am trying to tune ZFS file system by setting zfs_arc_max value in FreeBSD 8. In solaris, it is achieved like this == === For example, if an application needs 5 GBytes of memory on a system with 36-GBytes of memory, you could set the arc maximum to 30 GBytes, (0x78000 or 32212254720 bytes). Set the zfs:zfs_arc_max parameter in the /etc/system file: set zfs:zfs_arc_max = 0x78000 or set zfs:zfs_arc_max = 32212254720 = But, I couldn't find /etc/system file in FreeBSD. Could some one please guide me to correctly configure zfs_arc_max in FreeBSD 8. -- Best Regards, Sherin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Advanced printing/layout tools
On Fri, Jan 01, 2010 at 04:25:08PM -0600, Doug Poland wrote: On 2010-01-01 14:18, Roland Smith wrote: On Fri, Jan 01, 2010 at 07:36:25PM +0100, Polytropon wrote: On Fri, 1 Jan 2010 19:24:21 +0100, Roland Smith wrote: Thanks for the info so far. I have much to learn about LaTeX, that is certain. To complicate matters, the output will be on US Letter, landscape, multi-column, multi-sided, booklet format. No doubt LaTeX will handle the landscape, letter, and multi-column, but I'm not sure about booklet, multi-sided. I have some experience with print/psutils doing duplex, booklet printing. I'd start by reading The Not So Short Introduction to Latex: http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf There's a useful wiki available at: http://en.wikibooks.org/wiki/LaTeX that covers common questions, but for what you're doing, I'd suggest logging onto comp.tex.tex. It's been years since I did anything similar, otherwise I'd post a template to get you started. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Adding an alias to .cshrc
On Tue, Dec 29, 2009 at 07:50:21PM -0500, Steve Bertrand wrote: I want to add an alias to my .cshrc file: alias srm find . -name *~ | xargs rm No need for xargs: alias srm find . -name '*~' -exec rm {} + or alias srm find . -name '*~' -delete ...so that I have an easy way to remove the temp files left by svn. After adding the alias, logging out and then back in, I get an error stating: Use the builtin(1) 'source' command. No need to log out/log in. acct-dev: ISP-RADIUS % srm srm: Command not found. I'm sure someone more knowledgable about csh (I rely on bash) can help you debug what exactly happens and why, but quoting your alias command in .cshrc is all that's required. I thought that perhaps the file wasn't being read upon login, so I appended a new alias underneath: Easier to check your aliases by typing 'alias', no? alias srm find . -name *~ | xargs rm alias sll ls -lA ...which works fine when called after re-login. I even went as far as to prefix the find/xargs command with full paths, to no avail. Is this a problem with the pipe in the alias directive? The command works on the CLI, as I literally copy/pasted it into the .cshrc file. Again, quoting what's being aliased will suffice. Why that's not necessary during interactive use, I don't know, but I'd get into the habit of quoting such things regardless. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Sendmail client configuration to connect to ISP's SMTP server
On Sat, Dec 26, 2009 at 11:20:27AM -0800, Aflatoon Aflatooni wrote: What configuration do I need to set in my freebsd.submit.mc in order to connect to the ISP's SMTP server? The ISP is blocking all the emails unless it goes through their mail server, so I need my FreeBSD box to connect to the ISP's SMTP server for outbound emails. The client also needs to be authenticated as well. Fix your word wrap. Have you checked the Handbook? If not, start with Section 28.10 SMTP Authentication. Read that and follow the link to http://www.sendmail.org/~ca/email/auth.html where you'll find the rest of what you need to know. You're using sendmail as a client, so be sure to focus on the section entitled Using sendmail as a client with AUTH. Fairly straightforward stuff, but there may be a lot to take in at first glance. Post back if you have any questions or need to be walked through any part of the process. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Root exploit for FreeBSD
http://www.nvnews.net/vbulletin/showthread.php?t=142120 On Sun, Dec 13, 2009 at 2:23 AM, Rolf Nielsen listrea...@lazlarlyricon.com wrote: Sam Fourman Jr. wrote: Are you sure that OpenBSD has a better record? I found this for loose reference. http://en.wikipedia.org/wiki/OpenBSD#Security_and_code_auditing I will say that even though on the surface OpenBSD appears to have a better track record security wise I tend to use FreeBSD for my desktop needs because of things like Nvidia Graphics (esp now that there is amd64 support) Where's that? The Nvidia site says nothing about it yet, and the makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm eagerly waiting for it, but I can't find anything other than a forum post (I don't have the address handy at this computer, but I know it's somewhere in the mailing list archive) from Zander at Nvidia corporation saying it's on its way. also wine works in FreeBSD and some of my clinets still run windows apps. I find FreeBSD is the middle ground the world needs between Linix and OpenBSD Sam Fourman Jr. Fourman Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: radeonhd 1.3.0 slow window moving
Give x11-drivers/xf86-video-ati a try http://lists.freebsd.org/pipermail/freebsd-x11/2009-December/009093.html On Mon, Dec 7, 2009 at 3:22 PM, Marco Beishuizen mb...@xs4all.nl wrote: Hi, I upgraded the radeonhd driver from 1.2.5 to 1.3.0. It seems to work fine, except when moving a window. As far as I can see all other actions like scrolling or resizing is quick, but moving windows goes really slow. In my xorg.conf the modules extmod, record, dbe, glx, dbi and dbi2 are loaded. In the device section I have two options enabled: - AccelMethod EXA - DRI on In my x.org logfile are no errors. Does anyone else has experienced this? My Radeon is a HD4870 and I'm running FreeBSD 8.0-ST. Thanks in advance. Regards, Marco -- The more you complain, the longer God lets you live. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg - no mouse and no keyboard
Adam Vande More writes: On Fri, Dec 4, 2009 at 10:20 PM, Paul Schmehl pschmehl_li...@tx.rr.comwrote: As I mentioned in a previous post, I have tried it both with and without hald and dbus. Nothing works. [...] I missed the original post, but I recently noticed that my bluetooth keyboard and mouse no longer work in X unless I have a USB mouse and keyboard plugged in. Unfortunately, I haven't had time to track it down and make a decent report, and it could just be my setup (Mac Pro, releng_7 [out of date], apple mice and keyboards) or me g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PF binat rule issue - feature or bug?
On Fri, Dec 04, 2009 at 10:41:20AM -0600, Greg Barniskis wrote: Using 7.2-RELEASE-p4 i386 with GENERIC kernel, I've found (the hard way) that if I have a pf.conf rule like nat on $ext_if proto { tcp udp icmp } from $my_subnet \ to any - some.public.ip.num then pfctl will perform the expected expansion of the listed protocols into three separate NAT rules. However, if I have a rule like binat on $ext_if proto { tcp udp icmp } from $server_dmz_ip \ to any - $server_public_ip then I will /only/ get one NAT rule, for TCP. Then things like NTP, DNS and ping will fail, but the filtering rules that permit such traffic will increment their byte, packet and state counters like PF is working just fine (and I suppose in some sense that the filtering part is). But only if I explicitly declare in pf.conf a separate binat rule for each desired protocol, instead of listing them, will things work as needed. Feature or bug? If the former, it is not well documented that I could see. I expected that a list of protocols for a binat rule would just work, and pfctl certainly didn't mark it as bad syntax. If a bug, is this a FreeBSD bug or OpenBSD? The BNF grammar in pfconf(5) suggests that binat rules don't take a list. Summarised: nat-rule = ... proto ( proto-name | proto-number | { proto-list } ) binat-rule = ... proto ( proto-name | proto-number ) -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mount dump0 as ISO9660 filesystem?
On Thu, Dec 03, 2009 at 03:27:48PM -0800, Nerius Landys wrote: I heard somewhere that you can mount a dump as an ISO9660 filesystem, but I cannot find any Google answers on this subject. I took my dump in the following fashion: dump -0Lan -C 16 -f - /usr | gzip -2 | ssh-to-some-remote-location So, I have a file named dump0-var.gz. Your dump is just a regular file sitting on a hard drive with a file system that's already mounted. If you created an on-disk ISO image of that file, you'd have to mount the file system of that ISO image to read the file. If you burned the ISO image to a CD, you'd mount the CD's file system to read it. Either way, the file remains just a file, and is read using restore(8). I'll offer a guess that you're confusing things with tar(1) (which is often used for backups) and the recent changes. From the manpage: This implementation can extract from tar, pax, cpio, zip, jar, ar, and ISO 9660 cdrom images and can create tar, pax, cpio, ar, and shar archives. The above means you can now do nifty things like 'tar xvf mybackup.iso', and if you've configured a pre-processor for less(1), even niftier things like: less backup.tar.gz less backup.zip less backup.iso It's also possible you might be thinking of file system snapshots (which can be mounted). Check the Handbook for details. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Last login message
On Thu, Dec 03, 2009 at 03:16:54PM -0800, Nerius Landys wrote: When I ssh to my FreeBSD machine, I get something like this: Last login: Thu Dec 3 15:12:40 2009 from 11.22.33.44 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 7.1-RELEASE-p9 (DAFFY) #0: Thu Dec 3 11:33:28 PST 2009 ..where 11.22.33.44 is an IP address. However, sometimes, in place of an IP address I get a truncated hostname, for example daffy.nerius.co (note the last 'm' missing). I was wondering what controls this, meaning if I get an IP or a hostname, and why it's being truncated. If 'touch ~/.hushlogin' isn't what you're after, consider modifying sshd_flags in /etc/rc.conf. From sshd(8): -u len This option is used to specify the size of the field in the utmp structure that holds the remote host name. If the resolved host name is longer than len, the dotted decimal value will be used instead. This allows hosts with very long host names that over- flow this field to still be uniquely identified. Specifying -u0 indicates that only dotted decimal addresses should be put into the utmp file. -u0 may also be used to prevent sshd from making DNS requests unless the authentication mechanism or configuration requires it. Authentication mechanisms that may require DNS include RhostsRSAAuthentication, HostbasedAuthentication, and using a from=pattern-list option in a key file. Configuration options that require DNS include using a u...@host pattern in AllowUsers or DenyUsers. I count 'daffy.nerius.co' as 15. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mount dump0 as ISO9660 filesystem?
On Fri, Dec 04, 2009 at 04:50:43PM -0800, Nerius Landys wrote: Either way, the file remains just a file, and is read using restore(8). [snip] All I really want to do is take my dump file and see the files inside it, and do things with those files such as copy or md5sum (not edit). And I don't even know which tool do use to accomplish that. You still don't know which tool? -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 8.0-RELEASE and dangerously dedicated disks
On Tue, Dec 01, 2009 at 08:34:05PM -0800, Randi Harper wrote: I'm going to just reply to all of these at once. On Tue, Dec 1, 2009 at 1:03 PM, Jerry McAllister wrote: On Tue, Dec 01, 2009 at 07:59:42AM -0500, Maxim Khitrov wrote: On Sat, Nov 28, 2009 at 12:28 PM, Peggy Wilkins wrote: Due to history I won't go into, all my production (currently 7.2-RELEASE) systems are installed onto dangerously dedicated disks. What exactly do I need to do to upgrade them to 8.0? (I'm not asking for an upgrade procedure, I'm familiar with that, but rather, how this change impacts the upgrade.) I think that the suggestion that the disks need to be reformatted is extreme and I hope something less extreme will suffice. Just to point out the obvious, you shouldn't use dangerous and production in the same sentence. :) Fun with ambiguities aside, I think it's fair and reasonable to interpret dedicated as dedicated to FreeBSD, and dangerous as may not work with common third-party disk tools or an older BIOS. It's similarly fair to interpret any caveat, implicit or otherwise, against using dangerously dedicated mode as a general recommendation aimed at new users (typically in dual or multi-boot environments), and not a statement that dangerously dedicated mode is unsuitable for production environments. It certainly doesn't state or suggest that it's a convenient but deprecated feature that might be removed without notice or warning in the future. Which is what's happened. In that light, the statement in the release notes merits a fuller description as well as an explanation for the change. Also, just to be clear, does this statement refer to boot disks, data disks, or both? It doesn't make sense to me that dangerously dedicated could have an impact on UFS filesystems specifically. A partition table is just a partition table, regardless of what filesystems might be written on disks, yes? Am I misunderstanding something here? I don't know why it would have an affect, but they say it does. Did you see all the mailing list chatter about new installations failing due to sysinstall not being able to newfs device names that didn't exist? This is related. Also, a partition table isn't just a partition table. It's a little more complex than that. It has *nothing* to do with the filesystems inside. It has everything to do with the way that FreeBSD looks at the drive to figure out what's on it. See man pages for geom/gpart. There are others that have given a better explanation than I can provide (marcus, juli). Search the archives. FreeBSD is known for, among other things, the consistent quality of its documentation. As it stands, the statement dangerously dedicated mode for the UFS file system is no longer supported in the release notes stands in direct contradiction to the official Handbook (updated to include 8.0-RELEASE) Section 18.3.2.2 which states you may use the dedicated mode. A suggestion to search the (multiple) archives for chatter suggests that authoritative information can now be found on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying Beware of the Leopard. Perhaps you could provide something more specific, or a direct link to the chatter? Trust me, I didn't remove DD support from sysinstall just to make life more complicated for everyone. I did this because as it stands right now, it doesn't work. Regrettably, the end result is the same. That's not to say we wouldn't grumble and then happily settle for something less. Provided that something amounted to more than no longer supported because it doesn't work. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mysterious try process dumping core on 7.2-RELEASE ... worried ...
I see these two entries in my /var/log/messages: Nov 24 18:08:41 hostname kernel: pid 25901 (try), uid 0: exited on signal 10 (core dumped) Nov 24 18:10:29 hostname kernel: pid 35359 (try), uid 0: exited on signal 10 (core dumped) But I've never heard of a try binary, and 'which try' shows nothing ... When I search through my system, the only thing remotely resembling try is: /usr/ports/lang/perl5.8/work/perl-5.8.9/lib/Test/Simple/t/try.t I do see that my perl binary is dated: 0 lrwxr-xr-x 1 root wheel 24 Nov 24 18:12 /usr/bin/perl a few minutes after those error messages, so perhaps that is it ... Anyway, what is try.t, what is a .t file and if a try.t file core dumped, would I indeed see simply try in my logs, as above ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Prompt containing SSH login information
On Tue, Nov 24, 2009 at 05:10:38AM +0100, Polytropon wrote: again, a strange question: I'd like to know if there is a builtin means to let the csh's (or bash's) prompt show an information if the current dialog session has been opened via SSH from another system. The obvious is: m...@sys1:~% ssh m...@sys2 m...@sys2:~% _ I'd like the second prompt that I've been logged into sys2 by sys1, such as m...@sys1sys2:~% _ or reverse m...@sys2sys1:~% _ or something similar, like the complex form with different user names, such as m...@sys1:~% ssh b...@sys2 m...@sys1b...@sys2:~% _ Is this possible with the means given by the shell? I read man csh, but found nothing that would fit. Maybe it's not possible (because not intended)... I'd suggest parsing out w(1), or better yet, making use of environmental variables instead. The following, for example, are set by ssh: SSH_CLIENT SSH_CONNECTION SSH_TTY Out of curiosity, why are you wanting to do this? Are you chaining connections and need an analog of SHLVL for ssh connections? -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Dump
On Sat, Nov 21, 2009 at 04:12:42AM +0100, Bernt Hansson wrote: Matthew Seaman skrev: Bernt Hansson wrote: I've been testing backups with dump, works well BUT -L does not work. For example dump -0 -a -u -L -f /mnt/dump.home.full /dev/ad0s2d I believe that you need to tell dump the mount point of the file system in order for it to create a snapshot, rather than the device file for the partition. (ie. snapshotting only makes sense on a mounted read-write filesystem). Actually, the above isn't correct. A device special is fine. From the dump(8) manpage: The file system to be dumped is specified by the argument filesystem as either its device-special file or its mount point (if that is in a standard entry in /etc/fstab). The criteria unique to live dumps is that /dev/ad0s2d must be already mounted, and there must be a .snap directory in its root. You've since changed your command, so I won't address what the problem might have been. Also, if you're dumping a snapshotted FS to a local file, then bump up the cachesize to improve performance a lot. Add '-C 32' to your command-line. Ok. I've tested this dump -1 -a -u -L -C 64 -h 0 -f /usr/home/bernt/disk2/dump.backup.home.2 /usr/home Was the change from 'dump -0' to 'dump -1' intentional? Dump levels are rarely chosen to be sequential, but a level of 1 or greater is generally performed after a level 0 dump. The error is mksnap_ffs: Cannot create /usr/home/.snap/dump_snapshot: Invalid argument dump: Cannot create /usr/home/.snap/dump_snapshot: No such file or directory You've now specified what's likely a directory (/usr/home), not a device-special or mount point. Your choices of valid filesystems can be determined by running df(1) and examining the first and last columns. On a typical install those two columns might be: Filesystem Mounted on /dev/ad0s1a / devfs /dev # ignore this line /dev/ad0s1e /tmp /dev/ad0s1f /usr /dev/ad0s1d /var Pick one. I prefer device names. FWIW, if you're going to be using dump regularly (i.e. multiple dump levels and/or multiple hosts) and dumping to files, I'd suggest a naming convention of hostname-20090405-usr-0 to save you the grief of date fragility, and give you a meaningful display in 'ls -l' when restoring. So, for a level 0 dump on your system, your commands might be: dumpdir=/home/bernt/disk2 dump -0auL -C 64 -f $dumpdir/hostname-20091121-root-0 -h 0 / dump -0auL -C 64 -f $dumpdir/hostname-20091121-usr-0 -h 0 /usr dump -0auL -C 64 -f $dumpdir/hostname-20091121-var-0 -h 0 /var -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Dump
On Sat, Nov 21, 2009 at 04:12:42AM +0100, Bernt Hansson wrote: Matthew Seaman skrev: Bernt Hansson wrote: I've been testing backups with dump, works well BUT -L does not work. For example dump -0 -a -u -L -f /mnt/dump.home.full /dev/ad0s2d I believe that you need to tell dump the mount point of the file system in order for it to create a snapshot, rather than the device file for the partition. (ie. snapshotting only makes sense on a mounted read-write filesystem). Also, if you're dumping a snapshotted FS to a local file, then bump up the cachesize to improve performance a lot. Add '-C 32' to your command-line. Ok. I've tested this dump -1 -a -u -L -C 64 -h 0 -f /usr/home/bernt/disk2/dump.backup.home.2 /usr/home dump -1 -a -u -L -C 64 -h 0 -f /usr/home/bernt/disk2/dump.backup.home.2 /usr/home The error is mksnap_ffs: Cannot create /usr/home/.snap/dump_snapshot: Invalid argument dump: Cannot create /usr/home/.snap/dump_snapshot: No such file or directory Aargh. Must have missed the above when I last replied. That error message indicates you're running dump without proper privileges. Run dump as root, or add yourself to the operator group: pw groupmod operator -m bernt -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How can I rescue my passwd file after corrupting it (and why does it still work) ?
I do some automated account creation on a FreeBSD 6.x system ... and unbeknownst to me, the '/' filesystem was completely full when I did my last account creation, resulting in: /: write failed, filesystem is full pwd_mkdb: /etc/pwd.db to /etc/pwd.db.tmp: No space left on device pw: passwd file update: No space left on device pwd_mkdb: corrupted entry pwd_mkdb: at line #187 pwd_mkdb: /mnt/etc/master.passwd: Inappropriate file type or format My situation is now as follows: passwd and master.passwd have a lot of lines missing, and one or two mangled lines toward the end. So a LOT of user accounts are gone. BUT, all of those missing accounts still work. So ... 1) why do all of the accounts that are missing from both passwd and master.passwd continue to work properly (they can authenticate and log in over SSH and so on) ? 2) how can I get back to healthy ? I suspect that somehow my (s)pwd.db files are still healthy ... is it possible to reconstruct complete passwd/master.passwd files using the existing (s)pwd.db files ? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SLIM and XFCE4
On Thu, Nov 05, 2009 at 10:49:44PM +0100, Polytropon wrote: On Wed, 4 Nov 2009 23:01:19 -0800 (PST), Alexandre L. wrote: mmm. I don't know. But with this config file, XFCE4 launch is OK (or seems OK). That may be possible, as well as correct. I have learned - many many years ago, so it may already have changed - that .xinitrc is a SHELL SCRIPT that is executed on X startup. So all the rules for shell scripts do apply, such as declaring the interpreter with the #! special comment. Furthermore, .xinitrc serves as a kind of init process, so that the exec statement is needed to replace the .xinitrc process by the window manager. That's always been my understanding, but if you examine the startx script, you'll see otherwise. From xinit(1): If no specific client program is given on the command line, xinit will look for a file in the user's home directory called .xinitrc to run as a shell script to start up client programs ... ^ The interpretation being that .xinitrc can be an ordinary file, but should be written to follow certain syntax rules (not unlike /etc/rc.conf). An example to illustrate: $ echo 'var=Hello World; echo $var' filename $ sh filename Hello World Put simply, .xinitrc does not need a shebang line, and does not need to be executable. A simple 'exec ...' statement as the final line will suffice. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How do I replace the built-in OpenSSL with a source tarball ?
I would like to: - upgrade the built-in OpenSSL that comes with FreeBSD (in my case, 6.4-RELEASE) - replace it with OpenSSL that I build myself from the source tarball If I do this with a plain old: ./config ; make ; make install OpenSSL does indeed build and install, but it installs in an alternate location and does not overwrite the FreeBSD built-in. Ok, should be easy to fix - I will simply use an: --prefix config directive and point it to /usr: --prefix=/usr However, that does not work - running: /usr/local/ssl/bin/openssl version shows me that this binary has not changed. Ok, no problem, I will simply use: --prefix=/usr/local instead ... but that also does not work. No matter what I do, I cannot get the OpenSSL source tarball to overwrite my built-in OpenSSL in FreeBSD - I always end up having two binaries in two different locations. Can someone tell me how to just cleanly replace the built-in OpenSSL with the source tarball ? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How do I replace the built-in OpenSSL with a source tarball ?
- Original Message From: Gary Gatten ggat...@waddell.com To: George Sanders gosand1...@yahoo.com; freebsd-questions@freebsd.org Sent: Wed, October 28, 2009 11:01:35 AM Subject: RE: How do I replace the built-in OpenSSL with a source tarball ? Maybe remove the existing package first? And try to use a pkg if you can for the new one. Yes, but I still won't know how to put the new version in _exactly the same place_ as the one I just removed. For complex reasons of space and tools (embedded system, etc.) I do indeed need to use the source tarball. So I'd like to know what configure directive to feed to it to properly and _exactly_ replace the existing FreeBSD default OpenSSL... Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
what is special about the 'git' Makefile ?
I've been doing this dance: ../configure ; make ; make install for about ten years now. Sometimes there are some little issues, but nothing too crazy. I tried to build 'git' from source today, however, and it doesn't behave like anything I've ever seen... I do the ./configure and it completes without errors: checking for mkstemps... yes checking for library containing mkstemps... none required checking Checking for POSIX Threads with '-pthread'... yes configure: creating ./config.status config.status: creating config.mak.autogen and then run 'make' ... Makefile, line 206: Need an operator Makefile, line 244: Missing dependency operator Makefile, line 247: Need an operator Makefile, line 250: Need an operator Makefile, line 273: Need an operator Makefile, line 286: Need an operator Makefile, line 395: Need an operator (snip about 8 or 10 PAGES of the above) Makefile, line 1293: Need an operator Makefile, line 1294: warning: duplicate script for target ifdef ignored Makefile, line 1295: warning: duplicate script for target ifdef ignored Makefile, line 1296: Need an operator Makefile, line 1298: Need an operator Makefile, line 1301: Need an operator Makefile, line 1303: Missing dependency operator Makefile, line 1305: Need an operator Makefile, line 1307: Missing dependency operator Makefile, line 1309: Need an operator Error expanding embedded variable. So ... what in the world is going on here ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Invitation to connect on LinkedIn
LinkedIn Siju George requested to add you as a connection on LinkedIn: -- Jerry, I'd like to add you to my professional network on LinkedIn. - Siju Accept invitation from Siju George http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1536383359_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYVdjcPe3cScPkNiiZdqnFOiDkOmiYSd30Ud34OczwLrCBxbOYWrSlI/EML_comm_afe/ View invitation from Siju George http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1536383359_2/39vejkPcPwPdzcRckALqnpPbOYWrSlI/svi/ -- DID YOU KNOW you can showcase your professional knowledge on LinkedIn to receive job/consulting offers and enhance your professional reputation? Posting replies to questions on LinkedIn Answers puts you in front of the world's professional community. http://www.linkedin.com/e/abq/inv-24/ -- (c) 2009, LinkedIn Corporation ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: error output redirection
On Sun, Oct 11, 2009 at 11:36:52PM +0200, Stefan Miklosovic wrote: if error output of some program appear on screen, it is possible to print it also to some file simultaneously? Depends on the program, but generally, yes. http://en.wikipedia.org/wiki/Standard_streams http://en.wikipedia.org/wiki/Redirection_(computing) e.g if I cat file which do not exist, error is on screen, I want to add that error to some file (errors.txt) Replacing 'cat file_that_does_not_exist' with 'badcommand' # redirect STDERR to a file badcommand 2 errors.txt # append STDERR to a file badcommand 2 errors.txt # fun with file descriptors to have it both ways badcommand 31 12 23 | tee errors.txt -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: A general sed question
On Tue, Oct 06, 2009 at 11:45:36PM -0700, David Allen wrote: I keep bumping up against this, so I thought I'd throw this question out to those who understand sed better than I do. What I'm trying to do is to clean up the contents of some files (/sys/i386/conf/GENERIC would be a good example) to get more readable diffs. To that end, I'm trying to use sed to For the following note that what's contained in the square brackets is a space character followed by a literal TAB character (typically created by entering ^V followed by TAB). - delete commented lines - remove inline comments s/[ ]*#.*// # takes care of both, but will leave \t\t\t\n - remove trailing spaces and/or tabs s/[ ]*$// # handy, but not needed if using diff -b - delete blank lines, and/or lines containing just spaces and/or tabs /^[ ]*$/d - expand tabs This is overly complex with sed and probably unecessary. Instead I'd suggest using your editor (in vim, it's ':set expandtab | retab'), or for interactive use, relying on expand(1) and using a value for -t that matches the tab spacing you typically use for your pager and/or editor. Alternatively, to get better visual alignment when using diff(1), just use the -t option. Putting the above together, you get sed -e 's/[ ]*#.*//' -e 's/[]*$//' -e '/^[ ]*$/d' Hardly ideal but it's readable enough and satisfies the 80/20 rule. If used as a simple alias, shell function or script as Oliver Fromme suggested (yes, this works in bash), my suggestion is diff -ubBt (cleanup /sys/i386/conf/GENERIC) (cleanup /path/to/NEWKERNEL) -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Daily report cannot be emailed to a jailed mail server
On Thu, Oct 08, 2009 at 09:02:50AM +1100, David N wrote: FreeBSD 7.2-R box with 10 jails. The mail server (actually its a mail filter) is hosted on the same server inside a jail. I can't seem to get the main server reports to be sent to the mail filter inside the jail inside the same box. so.. r...@localhost tries to send an email to some...@anotherdomain.com.au The MX entry for anotherdomain.com.au points to the mailfilter on the server (jailed). I've changed my /etc/mail/aliases to have root: some...@anotherdomain.com.au and ran newaliases. It's been already pointed out that you aren't providing much information to go on, so here's my WAG of what is happening. Changing the root alias root could work, but consider the case of mail from the jailhost being rejected by the jailed mailserver. The bounce message will be addressed to POSTMASTER on the jailhost, which points to root on the jailhost, which points back to the jailed mailserver trying to send the bounce, which points to ... You can examine the scenario for yourself either by listening to a married couple on the verge of divorce argue with one another, or more specifically, by running [r...@jailhost] sendmail -bv root [r...@jail] sendmail -bv postmas...@jailhost.server.net When i try to send an email i get in /var/log/messages sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic Oct 8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root): savemail: cannot save rejected email anywhere Oct 8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing ./qfn97LgTYg094713: savemail panic Oct 8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root): savemail: cannot save rejected email anywhere Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX list for anotherdomain.com.au. points back to server.net The jailed mailserver is rejecting the mail and is then trying to send a bounce and can't because it's caught in a loop that ends when Sendmail says Look this isn't an argument ... it's just contradiction! and bails out. Why the jailed mailserver is rejecting the mail is a separate issue. In /var/log/maillog n97Ll7VV095129: to=some...@anotherdomain.com.au, ctladdr=r...@server.net (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5, stat=Local configuration error Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130: DSN: Local configuration error That's from the maillog on the jailhost. More relevant to why the jailed mailserver has rejected the mail would be the jail's maillog entries (or whatever logging was done by the filter installed there). Either way, for the interim I'd suggest undoing your changes, rebuilding your aliases and consider implementing an alternate approach. For anyone to figure out conclusively what's happening, you'll have to provide more information. -- George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org