Re: make buildworld powers down system
On Fri, 2 Dec 2011 02:06:26 -0500 (EST), d...@safeport.com wrote: The screen does go into standby and I am not sure what is controling that, nothing in KDE or Xorg that I set, perhaps a sysctl setting but I did not see one in the acpi section. This might be a dafault option. You can override it in your /etc/X11/xorg.conf by setting Option DPMS false in the section Monitor where you define the values for your monitor. I had a similar experience with an 21 CRT Eizo F980 going to sleep unintendedly. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: make buildworld powers down system
On Fri, Dec 2, 2011 at 3:05 AM, Polytropon free...@edvax.de wrote: On Fri, 2 Dec 2011 02:06:26 -0500 (EST), d...@safeport.com wrote: The screen does go into standby and I am not sure what is controling that, nothing in KDE or Xorg that I set, perhaps a sysctl setting but I did not see one in the acpi section. This might be a dafault option. You can override it in your /etc/X11/xorg.conf by setting Option DPMS false in the section Monitor where you define the values for your monitor. I had a similar experience with an 21 CRT Eizo F980 going to sleep unintendedly. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Another way may be inserting the following lines into ~/.xinitrc : xset s off xset -dpms before the statement exec ... desktop_manager such as exec /usr/local/bin/gnome-session etc. OR ( every time when required ) in a terminal window of the desktop manager , enter the above xset commands , which will be effective only up to exit from the X or shutdown of the computer . Thank you very much . Mehmet Erol Sanliturk ___ 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: failure building www/webkit-gtk2 on 8.2-STABLE
On 1-12-2011 14:23, William Bulley wrote: According to Robert Bonomibon...@mail.r-bonomi.com on Wed, 11/30/11 at 16:12: From owner-freebsd-questi...@freebsd.org Wed Nov 30 09:14:56 2011 Date: Wed, 30 Nov 2011 10:12:23 -0500 From: William Bulleyw...@umich.edu To: freebsd-questions@freebsd.org Cc: gn...@freebsd.org Subject: failure building www/webkit-gtk2 on 8.2-STABLE This is a freshly csup'd ports tree as of 11/24/2011 and uname -a gives: FreeBSD dell 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun May 29 08:36:55 EDT 2011 root@dell:/usr/obj/usr/src/sys/DELL amd64 When I try to make install in www/xxxterm this is what I get: ===xxxterm-1.518 depends on file: /usr/local/bin/perl5.14.1 - found ===xxxterm-1.518 depends on file: /usr/local/bin/intltool-extract - found ===xxxterm-1.518 depends on executable: pkg-config - found ===xxxterm-1.518 depends on shared library: gnutls.47 - found ===xxxterm-1.518 depends on shared library: soup-2.4 - found ===xxxterm-1.518 depends on shared library: webkitgtk-1.0 - not found *THIS* 'not found' indicates the linking (at least) of the exuecutable will probably fail. Thanks for the reply. This knowledge is not all that useful. The process of making this port will, of course, make all dependencies of this port. By not finding that item forces the installation of www/webkit-gtk2 below. This is not an error. === Verifying install for webkitgtk-1.0 in /usr/ports/www/webkit-gtk2 === Building for webkit-gtk2-1.4.3 gmake all-am gmake[1]: Entering directory `/usr/ports/www/webkit-gtk2/work/webkit-1.4.3' GENWebKit-1.0.gir /usr/local/bin/gmkdir -p ./.deps/DerivedSources /usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm (bswap %0 : +r (__X)); __X; }));' at '{' /usr/include/machine/endian.h:123: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm (bswap %0 : +r (__X)); __X; }));' at ';' /usr/include/machine/endian.h:130: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm (bswap %0 : +r (__X)); __X; }));' at '{' /usr/include/machine/endian.h:130: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm (bswap %0 : +r (__X)); __X; }));' at ';' _these_ errors may be a separate issue They indicate an incompatibility between the code and the -compiler- being used. This could be an artifact of other errors, like the one implied below, or they could be from unrelated causes. Eliminate the other errors, and see if this remains. The port maintainers are responsible for assuring the compiler matches the code, and that the code compiles with that compiler. This is clearly an error, but one that I have no idea how to fix. Source/WebKit/gtk/webkit/webkitversion.h:33: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION' This is probably directly related to the 'not found' error above. Not so sure about that. But again, how is this (and other errors) to be fixed? Why don't the port maintainers respond to this thread? /usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x2e8): undefined reference to `webkit_dom_html_media_element_get_type' /usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x3c0): undefined reference to `webkit_dom_media_error_get_type' /usr/ports/www/webkit-gtk2/work/webkit-1.4.3/tmp-introspectiHsaMf/WebKit-1.0.o(.data+0x450): undefined reference to `webkit_dom_time_ranges_get_type' as are all these. Again, not so sure about that. Can anyone tell me what is going on here and how I can correct it? Can it be that this port does not build correctly on AMD hardware? Again, thanks for the reply, but it doesn't get me all that much closer to getting this port built. Anyone else have any ideas or pointers? Regards, web... Can you check if you got the video option selected? make config if you haven't, please select it and do a make clean before trying to build it. -Koop ___ 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: make buildworld powers down system
On Fri, 2 Dec 2011 03:28:09 -0500, Mehmet Erol Sanliturk wrote: On Fri, Dec 2, 2011 at 3:05 AM, Polytropon free...@edvax.de wrote: On Fri, 2 Dec 2011 02:06:26 -0500 (EST), d...@safeport.com wrote: The screen does go into standby and I am not sure what is controling that, nothing in KDE or Xorg that I set, perhaps a sysctl setting but I did not see one in the acpi section. This might be a dafault option. You can override it in your /etc/X11/xorg.conf by setting Option DPMS false in the section Monitor where you define the values for your monitor. I had a similar experience with an 21 CRT Eizo F980 going to sleep unintendedly. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Another way may be inserting the following lines into ~/.xinitrc : xset s off xset -dpms Correct, I also have those in my ~/.xinitrc together with the xorg.conf setting above. With both settings, screens shouldn't blank anymore. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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
upcoming 9.0 release
Setting up plans for the upcoming 9.0 release I have one question. Assuming the freebsd-update utility will bring me from the 8.2-release to the new 9.0-release I'm not sure what to do exactly with the installed ports. I always use portmaster. What steps do I take to get from installed ports on 8.2-release to 9.0? Is there a nice and working procedure to follow? Thanks for the advice. ___ 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: upcoming 9.0 release
On Fri, 02 Dec 2011 14:10:30 +0100, Dick Hoogendijk wrote: Setting up plans for the upcoming 9.0 release I have one question. Assuming the freebsd-update utility will bring me from the 8.2-release to the new 9.0-release I'm not sure what to do exactly with the installed ports. I always use portmaster. What steps do I take to get from installed ports on 8.2-release to 9.0? Is there a nice and working procedure to follow? Thanks for the advice. Basically, there are two approaches: a) Update everything. Using portmaster (and also portupgrade), you can update all ports that are installed via all plus recursion. Make sure to read the UPDATING file regarding your installed applications. Also see man portmaster (or man portupgrade) for the correct switches to portmaster so it can run without any further inter- action (which is often desired). b) Install from scratch Make a list of the ports you _intendedly_ want to use, this means do not pay much attention at dependencies that you don't want to have, but are forced to. :-) It's often helpful to make a list of installed ports from the system prior to updating. Then install the ports on your list, as they will pull in any dependencies they need. This makes sure you don't carry cruft and bloat from your prior installation that you _maybe_ don't have any actual use for. Needless to say, you should bring your ports tree up to date before starting either procedure. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: upcoming 9.0 release
On Friday 02 December 2011, Dick Hoogendijk wrote: I always use portmaster. What steps do I take to get from installed ports on 8.2-release to 9.0? Is there a nice and working procedure to follow? Thanks for the advice. You need to re-install all your ports after upgrading between major revisions. The final example on the portmaster man page provides a good checklist of what you need to do. -- Mike Clarke ___ 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: ipfw And ping
On 12/1/11 6:25 PM, Tim Daneliuk wrote: I have a fairly restrictive ipfw setup on a FBSD 8.2-STABLE machine. Pings were not getting through so I added this near the top of the rule set: # # Allow icmp # ${FWCMD} add allow icmp from any to any It does work but, two questions: 1) Is there a better way? Consider allowing only the ICMP that does things you want to do. Google something like icmp types to allow for some hints and opinions. Just as an example, you can independently control being able to ping others and others being able to ping you. 2) Will this cause harm or otherwise expose the server to some vulnerability? Well, if you allow all ICMP types, it's possible to make your little packets go places you didn't really want them to go, and similar network breakage. You can also find those who feel strongly that allowing others to ping your machines gives them way too much information about what you have at which IP address. On the other hand, working ping and traceroute can be very handy to figure out what's wrong when the network breaks. But do you open up access on your server?---well not so much, though having said that I'm ready for somebody to remind me of some obscure attack that uses ICMP for more than information gathering. :-) --Jon Radel j...@radel.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: df command reports wrong value after fd have been released
Bastien Semene bsem...@cyanide-studio.com writes: I removed a file from /var using all my filesystem space, then restarted the process that handled its file descriptors. I then, for another reason, had to reboot the system. During the boot I had a warning saying that the filesystem is full. I did not checked the fs state with df before, thinking it was resolved. df now still shows me the fs is full, I stopped the process then checked the fd with lsof, they were removed. I changed the log file name then restarted the process. lsof shows me that the process no longer uses fd on this ghost file. I'm out of ideas to resolve the problem, as I'm out of knowledge to understand it. Any explanation/idea to resolve this issue is welcome. some informations : # uname -a FreeBSD vcs.cyanide-studio.com 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Are you sure there isn't some other file on /var using up the space? The file you already deleted might not be the culprit. It also might be useful to fsck the filesystem and to mount it without the database (tank, you called it) filesystem on top of it, to make sure there are no files shadowed there. ___ 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
Brief Inquiry about freebsd.org
Hello, I'm interested in placing a text link on your page: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/networking.html The link would point to a page on a website that is relevant to your page and may be useful to your site visitors. We would be happy to compensate you for your time if it's something we're able to work out. The best way to reach me is through a direct response to this email. This will help me get back to you about the right link request. Please let me know if you're interested, and if not thanks for your time. Cheers! Jake Roberts ___ 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: ipfw And ping
On 12/01/2011 05:45 PM, Jon Radel wrote: On 12/1/11 6:25 PM, Tim Daneliuk wrote: I have a fairly restrictive ipfw setup on a FBSD 8.2-STABLE machine. Pings were not getting through so I added this near the top of the rule set: # # Allow icmp # ${FWCMD} add allow icmp from any to any It does work but, two questions: 1) Is there a better way? Consider allowing only the ICMP that does things you want to do. Google something like icmp types to allow for some hints and opinions. Just as an example, you can independently control being able to ping others and others being able to ping you. 2) Will this cause harm or otherwise expose the server to some vulnerability? Well, if you allow all ICMP types, it's possible to make your little packets go places you didn't really want them to go, and similar network breakage. You can also find those who feel strongly that allowing others to ping your machines gives them way too much information about what you have at which IP address. On the other hand, working ping and traceroute can be very handy to figure out what's wrong when the network breaks. But do you open up access on your server?---well not so much, though having said that I'm ready for somebody to remind me of some obscure attack that uses ICMP for more than information gathering. :-) --Jon Radel j...@ratdel.com I have been so advised by a number of people to do just this and I am investigating. I am not horribly concerned about this, though, because the machine in question is a NATing front end for a private, non-routable LAN and the associated nameserver uses split-horizon DNS to make all the internal name-ip associations invisible outside the LAN. So ... I don't really see much threat here. I am throttling ICMP rates via sysctl because - AFAIK - the only overt ICMP attack is to flood a target in hopes of getting Denial Of Services. As with you, I remain open to someone presenting a scenario wherein a particular ICMP protocol could actually cause harm... Thanks for your time. -- --- Tim Daneliuk ___ 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: failure building www/webkit-gtk2 on 8.2-STABLE
According to Koop Mast k...@rainbow-runner.nl on Fri, 12/02/11 at 07:03: Can you check if you got the video option selected? make config if you haven't, please select it and do a make clean before trying to build it. Excellent advice!!! Thank you very much! Looks like -questions comes through again. You folks are wonderful. :-) Now for some questions and issues to resolve this once and for all. How could I have possibly known that this option (WITH_VIDEO=yes) was required? I looked back at when I last built www/webkit-gtk2 and that was here: -rw-r--r-- 0 root wheel 215 Jan 19 2010 webkit/options In that file I found: WITHOUT_VIDEO=yes So about a year ago www/webkit-gtk2 built just fine WITHOUT the video option. What changed? I checked and there is no match (using grep) in the /usr/ports/UPDATING file (whose first entry dates from 20080108): % grep -i webkit /usr/ports/UPDATING % So I wouldn't have found anything there. I see in the Makefile that WITH_VIDEO has a default of on. That must not have been the case a year ago. Should I blame the www/xxxterm for having a dependency on www/webkit-gtk2? During the attempted build of www/xxxterm I was not asked for any options for www/webkit-gtk2 since I had a previous file /var/db/ports/webkit/options from back about a year ago. This is now a moot point, since the port did build correctly with this change (thanks again!), but for completeness sake and for my own sanity, how would I have been able to avoid this problem? Thanks. :-) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ 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
Issues with Link Aggregation
Hello Freebsd-Questions, I have an Asus laptop running FreeBSD 8.2-RELEASE-p4. I have successfully configured both the wired and wireless interfaces. They both work individually. I use the wireless interface more than the wired, so I have attempted to us link aggregation (LAGG) to tie the two together so either can be used when connected. lagg and iwn have been added into a custom compiled kernel. FreeBSD on this Asus uses alc0 for the wired interface and iwn(wlan0) for the wireless interface. The following is in my rc.conf: ifconfig_alc0=up wlans_iwn0=wlan0 ifconfig_wlan0=up wpa cloned_interfaces=lagg0 ifconfig_lagg0=laggproto failover laggport wlan0 laggport alc0 ipv4_addrs_lagg0=192.168.2.90/24 defaultrouter=192.168.2.1 hostname=asus.local Looking at various documentation shows this should support wlan0 as the master and alc0 as the failover. Everything is working like it should. However, every so often, I get messages on the console stating: alc0: phy read timeout : 0 alc0: phy read timeout : 17 alc0: phy read timeout : 1 ... alc0: phy read timeout : 1 Even though this is happening, there doesn't appear to be any issues. Can anyone shed light on why these messages are showing up? -- If at first you don't succeed, so much for skydiving. ___ 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: ipfw And ping
Здравствуйте, Tim. Вы писали 2 декабря 2011 г., 1:25:04: TD I have a fairly restrictive ipfw setup on a FBSD 8.2-STABLE machine. TD Pings were not getting through so I added this near the top TD of the rule set: TD# TD# Allow icmp TD# TD${FWCMD} add allow icmp from any to any ${FWCMD} add 1 allow icmp from any to any DO NOT FORGET RULE NUMBERS ;-) TD It does work but, two questions: TD 1) Is there a better way? TD 2) Will this cause harm or otherwise expose the server to some vulnerability? TD ___ TD freebsd-questions@freebsd.org mailing list TD http://lists.freebsd.org/mailman/listinfo/freebsd-questions TD To unsubscribe, send any mail to TD freebsd-questions-unsubscr...@freebsd.org -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
dead; need help reconnecting
weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ 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: dead; need help reconnecting
You need to define Dead, Gary. Your posts lack... proper detail most of the time. On Dec 2, 2011, at 6:26 PM, Gary Kline wrote: weds morning at 4 was my last log so it was around then that my telco modem broke. a few hours ago a tech reset the router with all 5 ips. my bsd server is dead/water. only my wifes pc and daughters nmacbook work. i have spent hours under desk trying one thing/time. does anyone have any suuggestions what to try next? i have only bsd server; ubuntu desktop. standalone firewall. one hub/switgh. gary ___ 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
AHCI driver and static device names
I was getting ready to install the latest FreeBSD 9-RCs image, and I found that 9 now defaults to using the ahci driver for sata disks. This would be great if it weren't for the fact that the ahci driver seems to do dynamic device name assignment as opposed to the static ones used with the older drivers. I've looked around on google and while this is mentioned (in old threads), the solution is to use labels or elaborate mapping via hints which really aren't solutions imo. If I have 15 disks in an array, I want to be able to label them and know which bay is which device name. If I have to replace a drive, I have no idea what dynamic device name it will have when it comes time to partition (and label, if I were using that). I could probably figure it out by looking at what disks are used on the system, but that's more work that it really should be. Is there a way to use the ahci driver and get static device names? Rob ___ 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
ZFS Filesystems wont auto-mount on boot
Hello, I followed a couple tutorials I found through google to setup RAID-Z1 on root on FreeBSD 9.0-RC2. Everything works well, except it always drops me into a recovery shell on boot. I'm forced to run `zfs mount -a` to get all my data visible. Here's the boot log: Trying to mount root from zfs:root []... Dec 3 01:23:07 init: login_getclass: unknown class `daemon` cannot open /etc/rc: No such file or directory Enter full pathname of shell or RETURN for /bin/sh: I then hit return, then run `zfs mount -a` to mount all my zfs filesystems. How can I have zfs automount these filesystems on boot so that the system can continue booting without being interrupted? 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