lagg with devices that may disappear
I have two USB devices: run0/wlan0 - a wireless nic ue0 - a wired nic In my rc.conf I have these set up to lagg - (note that this is done from memory and may not be exact): # ether address also set up here ifconfig_ue0="up" wlans_ue0="wlan0" ifconfig_wlan0="WPA" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport ue0 laggport wlan0 DHCP" This behaves as expected when both devices are plugged in. However, when either the ue0 or wlan0 device is removed the link goes down. In addition, if the device is reinserted I need to re-run "service netif start" before the link returns. It would be nice if removing the either nic failed over to the other one without additional work. Is there a way I can set up these devices to properly failover and return on device removal and insertion? Please CC me as I am not subscribed. -- Eitan Adler ___ 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: absurd I/O perf with ZFS: hangs on zfs->cv)
On 18 January 2013 05:20, Fabian Keil wrote: > A common recommendation is to disable atime for all datasets where > it isn't needed as it can cause lots of unnecessary write operations. Good call. I thought I had already disabled atime updating but it turns out that some datasets had this property still on. > With 8 GB of RAM ZFS enables prefetching by default and I assume > for the git use case it's not too useful and could hurt performance > by amplifying read operations. The "Data Prefetch Efficiency" is > shown by zfs-stats and if it doesn't look too impressive you might > want to disable prefetching to see if it helps. I will look at this number - thanks. > If your repository isn't fresh, you could also try "git gc". > My impression is that the automatic doesn't trigger frequently > enough for larger repositories like /usr/src. This isn't git specific. Doing anything remotely I/O related takes forever: - starting a new shell take over a minute - opening a file in vim which wasn't opened recently take a few minutes - etc. That said, I will be looking closely at the zfs-stats and see if I notice any patterns. -- Eitan Adler ___ 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: absurd I/O perf with ZFS: hangs on zfs->cv)
On 17 January 2013 07:52, Fabian Keil wrote: > Eitan Adler wrote: > I don't think there are any laptops with "large amounts of RAM" > as far as ZFS is concerned. Haha okay: 8GB of RAM. >> It is taking me 45 minutes to make 5 commits to git. Something is >> wrong here but I have no idea what I should be looking at. Any ideas? > > Try sysutils/zfs-stats to get a rough idea of how ZFS is using > the available memory. Anything in particular I should be looking for? > If you already followed tuning advice from the Internet without > benchmarking it, try reverting it. I have done absolutely no tuning. Is there anything in particular I *should* tune? > Once you have gathered some more information it might make sense > to ask again on freebsd-fs@. Ack. > On a new system it's probably not an issue, but the recommendation > is to keep around 20% of the pool free to keep the performance up. Good to know. I will be careful here. -- Eitan Adler ___ 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: absurd I/O perf with ZFS: hangs on zfs->cv)
On 15 January 2013 23:57, Eitan Adler wrote: > Hi all. > > > Running FreeBSD 9.1-Release, I am seeing some absurd hangs (10 minutes > or more to open a file) with SIGINFO informing me that the process is > stuck on zio->io_cv. > > Does anyone have any suggestions for what I want to look at to tune > this? This is on a newly bought laptop with large amounts of RAM and > almost nothing else running. It is taking me 45 minutes to make 5 commits to git. Something is wrong here but I have no idea what I should be looking at. Any ideas? -- Eitan Adler ___ 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"
absurd I/O perf with ZFS: hangs on zfs->cv)
Hi all. Running FreeBSD 9.1-Release, I am seeing some absurd hangs (10 minutes or more to open a file) with SIGINFO informing me that the process is stuck on zio->io_cv. Does anyone have any suggestions for what I want to look at to tune this? This is on a newly bought laptop with large amounts of RAM and almost nothing else running. Please CC me as I am not subscribed. -- Eitan Adler ___ 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 needs Git to ensure repo integrity [was: 2012 incident]
On 19 November 2012 22:04, Zach Leslie wrote: > I've always been confused by this. Which source repo is the true source > of truth? This changed a few months ago when ports and doc switched. As of now: - SVN is *the* source of truth. - CVS is exported from svn. It will eventually go away - git is exported from svn. It will remain as an option for developers (including myself). > To obtain the FreeBSD source, you can use CVS, SVN, or Git? Do all have > the same level of support? Are they all up to date? SVN is *always* up to date. We try really hard to keep the others up to date, but fail at times. > Also, local branching and merging is amazing. +1 - but one can always use git-svn. -- Eitan Adler ___ 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: Jails on FreeBSD 9.0
On 22 July 2012 21:55, Herbert J. Skuhra wrote: > On Sat, 21 Jul 2012 16:10:56 +0200 > "Herbert J. Skuhra" wrote: > >> On Sat, Jul 21, 2012 at 11:24 AM, Herbert J. Skuhra >> wrote: >> > Hi, >> > >> > ok, this is obviously a pf problem and the reason why the network in >> > the jail doesn't work. >> > >> > ifconfig lo1 create >> > ifconfig lo1 10.0.0.10 netmask 0xff00 >> > nc -s 10.0.0.10 xx.xx.xx.xx 25 >> > >> > With pf: connections fails; server receives SYN-ACK, but nc continues >> > sending SYNs until nc gives up >> > >> > With ipfw: connection OK >> > >> > On my Soekris box at home (9.1-PRERELEASE i386) both ipfw and pf works. >> >> Could this be a bug in the fxp driver? >> I have a 2nd machine with a fxp nic. Same problem. > > Thanks to yongari@ the issue could be resolved on both machines by > disabling receive checksum offloading (ifconfig fxp0 -rxsum). If this is a fxp bug, can you please file a PR explaining the issue and how to reproduce it? -- Eitan Adler ___ 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 donate code
On 17 July 2012 02:16, Виталий Туровец wrote: > Hello, colleagues! > How would one propose some code to current branch? > I've made a little change to ifconfig ( a switch to display IPv4 > network masks in CIDR format instead of HEX) and want to suggest this > change to FreeBSD project. > Also i've created a PR with my patch describing what is done and for > what (http://www.freebsd.org/cgi/query-pr.cgi?pr=169072&cat=), but > maybe there's some other way to somehow push this code for review by > FreeBSD developers? > Thank you a lot and sorry for noobish question :) The general advice is mail the patch to -hackers for review. If you don't get a reply or if people like it, submit a PR so it doesn't get lost. Be aware that the latency for some patches could be longer than you expect. :( FWIW "unified diff" format patches are much preferred. (diff -u) -- Eitan Adler ___ 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 is LOCALBASE actually defined?
On 15 July 2012 15:17, Anton Shterenlikht wrote: > I though LOCALBASE has meaning outside > of the ports system too. Clearly I was wrong. > > So, if I happen not to have the ports tree, > I cannot use LOCALBASE in my makefiles, right? correct. LOCALBASE is a ports tree specific thing. you could define it yourself as follows: LOCALBASE?=/usr/local -- Eitan Adler ___ 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 is LOCALBASE actually defined?
On 15 July 2012 14:47, Anton Shterenlikht wrote: > $ cat Makefile > all: > echo $(LOCALBASE) > $ > $ make > echo easier way to test is "make -V LOCALBASE" > What do I need to do to use LOCALBASE > in my makefiles? You need to include "bsd.port.mk" (found in /usr/ports/Mk) -- Eitan Adler ___ 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: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e [SOLVED]
On 9 July 2012 15:26, Mario Lobo wrote: > I don't know how to get in touch with the boost-lib port mantainer so > he/she can fix the port file patch-boost_asio-ioctl to add these > changes. The best way to contact a maintainer for something like this is to submit a PR: http://www.freebsd.org/send-pr.html -- Eitan Adler ___ 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: Does FreeBSD start slices at head boundaries?
On 6 July 2012 11:44, Rick Miller wrote: > Thanks for this explanation. > > Is there any performance advantage to using a "dedicated disk" layout > over the old way of creating a slice and having your partitions within > it? Slices isn't the "old" way. There is no perf advantage for dedicated disks. Maybe you get a few kb of extra space. Don't do it. http://www.unixguide.net/freebsd/faq/09.03.shtml -- Eitan Adler ___ 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 can i decrease memory occupied by xorg ?
On 4 July 2012 20:52, J B wrote: > It is in ports: > http://www.freedesktop.org/wiki/Software/xrestop > jb [10001 eitan@radar ~ ]%whereis xrestop xrestop: /usr/ports/x11/xrestop -- Eitan Adler ___ 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: New to FreeBSD - Some questions
On 22 June 2012 11:44, Matthew Seaman wrote: > On 22/06/2012 18:40, Eitan Adler wrote: >>> q) Is there a place where all sysctl variables are documented? It >>> > occurred to me when I was trying to find the memory usage on my system >>> > but `sysctl -a | grep mem' shows a whole bunch of stuff. > >> You can try sysctl -ad but most of the systls are either documented in >> man pages or not at all. :( > > It would be a really handy thing if the output of 'sysctl -d' told you > what man page to refer to for more information. A neat little project > but pretty boring to implement. Agreed. I don't have the time to do this directly, but I'm willing to commit patches that do this. -- Eitan Adler ___ 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: New to FreeBSD - Some questions
Merged From Current to -stable. Releases are branched from -STABLE. -STABLE is branched from -HEAD. > Also, > when somewhere is mentioned `make world', this means to rebuild all > installed ports which doesn't include base, I assume? "make world" is always wrong. "make buildworld" is closer. In source land "world" is everything but the kernel. Ports are not related. > q) The files in /etc/rc.d are all executable, from my understanding, > those files will get executed and it is their duty to check the > variable `_enable' for whether they should start or > not. Wouldn't it be more efficient to chmod -x or +x them to > disable/enable? For a variety of reasons, no. They do more than just check *_enable in complex cases. > q) Is there a tool that can test a set of mirrors for connection time > and speed (for packages and ports)? Analogous to Archlinux's > rankmirrors? looks in ports-mgmt/ there is fastestmirrors or something like that. I ran it once and forgot about it ;) > q) Is it possible for the pkg_* tools (especially pkg_add -r) to > display progress? no. > q) I noticed in the ports collection that there were some outdated > packages (skype-2.2, gimp-2.6), should I report that and where? (A > PR?) skype is out of date cause the newer ones don't work. Generally, reporting out of date ports as PRs with patches (or to po...@freebsd.org without patches might help) is a good thing. Larger ports tend to be actively maintained. For gimp try asking gn...@freebsd.org for progress. > q) Is it possible to have the ports system compile into an mfs (to > avoid disk access)? Yes. Set WRKDIRPREFIX in /etc/make.conf to a mfs disk > q) Is it possible to have the user asked to change their password the > first time they log in (using an OTP) in a simple way? I looked at > OPIE but it seems to be much more complex than what I need. Look at pw -e ? Hope I helped and didn't disappoint too much :) -- Eitan Adler ___ 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: Why Clang
On 19 June 2012 12:58, Wojciech Puchar wrote: >>> >>> Does GPLv3 does force programs you compile with gcc to be GPLed? >> >> >> As far as I know, the main difference is that the GPLv3 is >> often called a "viral license". Software linking against v3 >> libraries and so maybe programs compiled by a v3 compiler >> will have - according to the license - to be released as >> v3 too. > > This word: "MAYBE" is most crucial here. This is false: http://www.gnu.org/licenses/gcc-exception-faq.html > i wouldn't be surprised that FreeBSD team would decide to go back to gcc > soon. Unlikely. clang is much better on all the other fronts. Even if clang produces slightly slower code for math heavy code for now we don't care that much. The kernel does not spend much time in compute heavy code. :) -- Eitan Adler ___ 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: Why Clang?
On 17 June 2012 21:37, Thomas Mueller wrote: > What is the current status of Clang vs. GCC as default compiler for ports and > for > "make buildworld" and "make buildkernel" in HEAD and 9.0-STABLE? http://wiki.freebsd.org/PortsAndClang > Now one concern is wine not working when Clang is used to "make buildworld". This isn't good. Can you please follow up with more debugging information? (gdb backtrace with debugging symbols enabled) > I see from reading the emailing lists that the intention is to make Clang the > default (or only?) compiler suite for 10.0-RELEASE. Yes. > I realize that still leaves much time to work out many of the bugs. We need your help though. -- Eitan Adler ___ 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: `ls -l` shows size of file other than of the folder?
On 13 June 2012 23:11, Polytropon wrote: > On Wed, 13 Jun 2012 22:33:50 -0400, grarpamp wrote: >> > The following creates a file with a size of 102402 (a gig) >> > fseek(stdout, 100*1024, SEEK_END); >> >> Nope :) What you have there is not actually called (anything). > > It would maybe be called a MKiB. :-) In SI units it is called a gigabyte. The value 2^30 is called a gibibyte. Everyone knows what he talking about so playing semantic games is silly. Can we move on to real questions? :) -- Eitan Adler ___ 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: Lost /var/db/pkg
On 12 June 2012 18:03, William Orr wrote: > Hello, > > I had a hard disk failure some time ago, and I ended up losing > /var/db/pkg/ and everything under it (before you say I should've been > backing it up, I know, I was actually doing an initial full when this > happened). Is there a way I can restore it, or at least manually add > entries I know for sure about? look in /var/db/pkgdb.bak.tbz -- Eitan Adler ___ 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: Lost /var/db/pkg
On 13 June 2012 12:17, jb wrote: > William Orr worrbase.com> writes: > >> >> Hello, >> >> I had a hard disk failure some time ago, and I ended up losing >> /var/db/pkg/ and everything under it (before you say I should've been >> backing it up, I know, I was actually doing an initial full when this >> happened). Is there a way I can restore it, or at least manually add >> entries I know for sure about? > > forums.freebsd.org/showthread.php?t=6466 > "The application themselves are still installed and will keep functioning, you > just removed the records of their installation. When you later install newer > versions, you may have to use a force flag to overwrite files (the port thinks > it is uninstalled after all). The new port installations will get recorded in > /var/db/pkg again.' > > jb This will work if you need minimal downtime, but *will* come back to bite you some time down the line. -- Eitan Adler ___ 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: prune ports tree?
On 8 June 2012 23:21, Polytropon wrote: > On Sat, 09 Jun 2012 00:06:39 -0600, Gary Aitken wrote: >> Is it possible to specify that parts of the ports tree should never be used? > This approach does _not_ work well when using portsnap. From > the portsnap.conf manpage: "Note that operating with an incomplete > ports tree is not supported and may cause unexpected results." Note that the issue of incomplete ports trees has nothing to do with portsnap - it is unsupported no matter how you obtain ports. -- Eitan Adler ___ 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: prune ports tree?
On 8 June 2012 23:06, Gary Aitken wrote: > Is it possible to specify that parts of the ports tree should never be used? yes, but don't do it. the ports tree needs to be complete to be guaranteed to function. -- Eitan Adler ___ 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: (no subject)
On 29 May 2012 20:06, wrote: > > Hello, > I am moving away from MS products due to security a nd stability > concerns. Below are the machines I use and would like to know which > version of FreeBSD will work best with each. The computer s are used > at home and away, for e-mail, preparing documents, databases, an d > spredsheets, as well as, web browsing and some begining programing > (Perl, C, HTML, and Assembely I think). I don't know much about the specifics but for a desktop computer I would go with either FreeBSD 9 or PC-BSD (perhaps with the intel kms patch) -- Eitan Adler ___ 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: Portmaster Fetch
On 28 May 2012 14:12, Silvio Siefke wrote: > Hello, > > is there a chance that portmaster can be only fetch all Source which need > update? > I mean make fetch-recursiv has helped in the ports collection, when i think > right, > but can portmaster that with all packages they need update? portmaster -F -- Eitan Adler ___ 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: library search path
On 28 May 2012 08:54, Polytropon wrote: > On Mon, 28 May 2012 23:11:26 +0900, fake fake wrote: >> To install tmux under $HOME/bin, I have installed libevent library >> under $HOME/lib (I do not have root privilege). >> Then set the variable LD_LIBRARY_PATH to $HOME/lib in .cshrc. >> But "./configure --prefix=$HOME" in src/tmux returns "configure: >> error: "libevent not found"". >> What am I doing wrong? > > Note that you need to _add_ $HOME/lib to $LD_LIBRARY_PATH > (and check that it's expanded correctly). > > Do you have access to the ports tree (reading)? Then you > could simply redefine $WRKDIRPREFIX to where you can > compile, and $PREFIX to where you can install to. See > "man 7 ports" for details. You can also try -DINSTALL_AS_USER though it may not work as advertised. -- Eitan Adler ___ 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: Using inb() and outb()
On 22 May 2012 14:25, Thomas D. Dean wrote: > On 05/22/12 14:08, Robert Bonomi wrote: > > That is what I thought. > > The entire operation will have to run as root. Nothing will be non-root. Can you make a SUID helper which only does the inb/outb operations as root? -- Eitan Adler ___ 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: hard link identification
On 22 May 2012 13:06, Gary Aitken wrote: > Is there any way to tell if something is a hard link, other than > ls -i of relevant files and seeing that the inode is the same? > or a better way? Hard links are not special. You can't tell something is a "hard link" because normal files are exactly the same. You can use stat(1) to see how many hard links point to a file though. -- Eitan Adler ___ 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: Problem with npviewer.bin
On 10 May 2012 08:14, Carmel wrote: > I am continuing to have a problem with certain "flash" videos not > displaying with Firefox on FreeBSD-8.3. > > I have discovered numerous messages like this in the system log file. > > May 10 07:59:04 scorpio kernel: linux: pid 96942 (npviewer.bin): syscall > pipe2 not implemented > > I have also discovered: npviewer.bin.core files in my HOME directory. > > Is there something that I can do to correct this problem? Which version of flash are you using? -- Eitan Adler ___ 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: Building kernel outside of /usr/src (with an unprivileged user)
On 1 May 2012 13:02, Matthias Petermann wrote: > Hello, > > while trying to build a patched CURRENT src on a STABLE FreeBSD 9 I was > wondering if it would be possible to have the source directory (src) in a > different place from /usr (e.g. in /home/myuser/src) where it can be built > with an unprivileged user and without interference with the STABLE sources > in /usr/src. > > Does anyone have an idea how to achieve this? buildkernel and buildworld function without superuser permission. Just check out the directory in a different and run the typical commands. -- Eitan Adler ___ 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: Segmentation fault in FreeBSD 9.0 flockfile ()
On 1 May 2012 14:08, Unga wrote: > Hi all > > I'm getting a Segmentation fault in FreeBSD 9.0 as follows for myprog.c: > > > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x28ebb062 in flockfile () from /lib/libc.so.7 > [New Thread 29c04900 (LWP 100575/SDLTimer)] > [New Thread 29c04300 (LWP 100416/myprog)] > (gdb) > (gdb) info threads > * 2 Thread 29c04300 (LWP 100416/myprog) 0x28ebb062 in flockfile () > from /lib/libc.so.7 > 1 Thread 29c04900 (LWP 100575/SDLTimer) 0x28e1527b in _umtx_op () > from /lib/libc.so.7 > (gdb) > > I use -lpthread. I doubt this is related, but using -lpthread is wrong. use -pthread (without the l). -- Eitan Adler ___ 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: UFS Crash and directories now missing
On 30 April 2012 07:36, Robert Bonomi wrote: > A competennt, "not stupid", sysadmin would know these things. And not > 'remove all doubt' (in the words of Abraham Lincoln), by raising such > nonsense questions. A competent sysadmin would ask questions when they don't know the answer bringing up possibilities they thought about. A stupid sysadmin would yell at someone asking a question claiming they should have known the answer. -- Eitan Adler ___ 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 -X (X11 forwarding) not working from 6.1 to 8.1
> > It still fails with the 6.1 system as the ssh client, > and works with the 6.1 system as the ssh server Is X11Forwarding yes set in the server config of the failing direction? > ___ > 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" > -- Eitan Adler ___ 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: Filename containing French characters ?
> > I'm going mad trying to > Open a file which the filename contains one or more French characters ( file > not found ) > Is there some magical receipe to do so ? Or do I have to forget trying ??? Open a file using what program? Do you have permission to read/write to the file? What is the file called? You need to give us more data to help you. -- Eitan Adler ___ 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: No keyboard after ports update, 2x moused_enable="YES" culprit
On Mon, May 16, 2011 at 4:00 AM, Polytropon wrote: > On Sun, 15 May 2011 12:18:28 -0700, Chip Camden > wrote: >> I wish I could figure >> out what dependency wanted HAL to be installed so I could remove it. > > I would assume that the HAL dependency may be required by > some deeper-inside Gnome part that is used by Gimp, maybe > a part of the Gtk+ library... I'm not sure it's trivial to > find out which one it is. Also see ports-mgmt/pkg_tree pkg_tree -v is quite useful. -- Eitan Adler ___ 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: find and remove ?
> The comamnd: > #find /path/to/start/deleting -type d -name _vti_\* > worked fine to give the listing of what to delete, but when just adding the > "-delete" at the end didn't delete, just ran the listing again. I forgot that adding the -type d won't let it delete non-empty directories. Try running it like: find /path/to/start/deleting -name _vti_\* -delete > > (^_^) -- Eitan Adler ___ 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: find and remove ?
> Thanks, Eitan, but it didn't delete. What did I do wrong? I would need to see what command you typed :-) Go to the top directory you start deleting from and type find . -name _vti_\* This will print out what it thinks should be deleted. If you don't see the directories you expect here then please be more specific about what should be deleted. If you do see the directories you expect and running the find command with "-delete" doesn't work then we could try and debug from that point. -- Eitan Adler ___ 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: Piping find into tar...
> | while read X; do ; done > often gets around many of the problems. But causes way more. I suggest you read http://www.dwheeler.com/essays/filenames-in-shell.html and http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html > -- > > Walter M. Pawley > Wump Research & Company > 676 River Bend Road, Roseburg, OR 97471 > 541-672-8975 > ___ > 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" > -- Eitan Adler ___ 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: find and remove ?
> I'm finally getting around to removing any remnants of frontpage. There are > 1000s of _vti_* directories across several domains and need to clean those > out. What's the best way to run a short script or command set to find and > delete those? man 1 find find /path/to/start/deleting -type d -name _vti_\* -delete run the command without -delete to see what will be removed. -- Eitan Adler ___ 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 logon screen
On Sat, May 7, 2011 at 9:12 AM, pwnedomina wrote: > there is any logon screen manager for freebsd? > sometimes computer is idle for sometime and i would like to add a logon > screen in it.. I'm guessing you mean a screen locker for X, not a logon screen. Take a look at x11/xlockmore or x11/xscreensaver. If you do want a logon screen take a look at x11/gdm (gnome) and x11/xdm both of which act as a display manager and a logon screen. -- Eitan Adler ___ 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: Comparing two lists
> They have some lines in common > and some lines are unique to one of the files. Use comm whenever you are dealing with set operations (in your case the intersection operation): http://www.catonmat.net/blog/set-operations-in-unix-shell -- Eitan Adler ___ 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: tuning a system for a single user
On Mon, Apr 4, 2011 at 9:42 AM, Kristaps Kūlis wrote: > Hi, > I believe no FreeBSD system is "single user". As root, daemon users, > system users, "nobody" is required for running system smoothly, > securely and easy, so scheduling is nessecary :) Obviously :-) I guess a better way to ask the question would be "for a desktop user". I see a lot tuning guides that show how to getting scalable systems - but few show potential changes for desktop users. -- Eitan Adler ___ 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"
tuning a system for a single user
When I look for tuning guides online, or reading tuning(7) I find a lot of guides for tuning a system for multiple users or for specific purposes (web servers, file servers, etc) I am looking for specific tunables that might make the experience of using FreeBSD better. I found the sysctl kern.maxusers but I'm unsure how things affects things. Can I reduce the amount of time, memory, etc the kernel spends enforcing quota, scheduling, etc? I don't have anything particular in mind - just want to get a general set of tunables I might be interested in. -- Eitan Adler ___ 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: printf() leak?
Hi David, > It seems printf() always alloc something and does not free it: What compiler and what optimizations? Most compilers will optimize a printf without any special formatting into a puts call instead of a printf call. For example clang -O3 -fomit-frame-pointer (which I use for clarity here) outputs this code: .file "leak.c" ... main: # @main # BB#0: # %entry subl$12, %esp movl$str, (%esp) calll puts xorl%eax, %eax addl$12, %esp ret .Ltmp0: ... str: .asciz "Hi" .size str, 3 ... [snip] > ==67840== suppressed: 4,096 bytes in 1 blocks Lets take a look at what valgrind says immediately after this: ==14481== For counts of detected and suppressed errors, rerun with: -v One of the lines we get is --14508-- used_suppression: 1 libc puts leak Which means it is a known issue and has been specially marked as to avoid being reported by valgrind. Lets take a look to see where this suppression happens: in /usr/local/lib/valgrind/default.supp we find { libc puts leak Memcheck:Leak fun:malloc obj:/lib/libc.so.7 obj:/lib/libc.so.7 obj:/lib/libc.so.7 fun:puts fun:main } After some investigation I was able to find the following commit: http://p4db.freebsd.org/chv.cgi?CH=168767 which shows when this suppression was added and by whom. I trust that if you are interested in the details of why this leak is detected you have the skills to follow up on this by yourself :-) Thank you for trying to make FreeBSD better! -- Eitan Adler ___ 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: why vim ports have personal KNOBS for options
> I expected to hear that just so happened historically. Тext question I > ask only to satisfy my interest. What OPTIONS framework basically can > someone not like it? http://lists.freebsd.org/pipermail/freebsd-ports/2010-October/063914.html -- Eitan Adler ___ 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: can make -j be used for ports?
>Is this possible or am I being unreasonable, or both, or not? This is unsupported, but you are not being unreasonable. This is a much wanted feature. > Yes. Ports which support parallel builds will have MAKE_JOBS_SAFE=yes set in > the port Makefile. It defaults to running -j with > MAKE_JOBS_NUMBER=`${SYSCTL} -n kern.smp.cpus`, but you can change that to > some other # if you like. No, this is incorrect. The MAKE_JOBS_NUMBER and MAKE_JOBS_SAFE is used internally when building a single port. When the OP is asking if he can manually specify -j on the command line which would end up building multiple ports in parallel. This can not be done (primarily because there is no locking done on ports) Certain utilities can make this process faster. For example portmaster prefetches as much as it can, -- Eitan Adler ___ 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: HAL must die!
On Sun, Mar 6, 2011 at 1:56 PM, Lars Eighner wrote: > Using the -C switch with portupgrade, I am managing to turn WITH_HAL off in > ports that I install or upgrade. Is there a way to make this a global > default? > You can put WITHOUT_HAL=yes in /etc/make.conf -- Eitan Adler ___ 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 keep track of data usage (mobile broadband)
> Looks like it's exactly what I was looking for, thanks! > Do you have the rc.d script maybe? It should be part of the port. I don't have it on this computer. -- Eitan Adler ___ 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 keep track of data usage (mobile broadband)
> How can I keep track of data usage? It's a laptop so these counters needs to > be reboot persistent. I'm running 8.1-R with ue0 interface. Check out http://humdi.net/vnstat/ and http://www.cyberciti.biz/faq/freebsd-install-vnstat-network-traffic-monitor-software/ -- Eitan Adler ___ 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 CTM still being offered for updating FreeBSD?
Why is this question even arising? Surely there are other > problems that need to be addressed much more than the ending of a > useful, uncontroversial service by someone who is not familiar with > it? I am familiar with it. I just happened to notice that the mailing lists were empty and therefore I thought the service is not being used. In case you did not notice the subject was in question form and points #2 and #3 both had an "if not " clause. Your initial response answered my question: that CTM is still being offered. and therefore the rest of the email is moot. Thanks Eitan Adler ___ 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"
Is CTM still being offered for updating FreeBSD?
http://lists.freebsd.org/pipermail/ctm-src-8/ appears to be empty and http://lists.freebsd.org/pipermail/ctm-users/2009-December/000226.html seems to be the last mention of CTM on any of the related mailing lists (other than a few people asking if it was down). So I have a few questions: 1) Is it still being offered and supported as a method of updating FreeBSD systems? 2) If not can the section in the handbook be removed? I have attached a patch which removes references to CTM from the handbook. Should it be applied? 3) Probably the most controversial question - but I'll ask it nonetheless. If CTM is no longer an option for updating FreeBSD is there any reason to leave it in base? Is it still being used by a sufficient number of people to maintain it? -- Eitan Adler remove-ctm.patch Description: Binary data ___ 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: shutdown computer after the halt command
>> if I use the *halt* command I just see "the system is halted press any >> key to reboot" >> How can I fix this? shutdown -p now don't use halt directly -- Eitan Adler ___ 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: OT: How to set a timeout for a process
On Thu, Jan 27, 2011 at 3:37 AM, Aryeh Friedman wrote: > I have a script that may or not hang (the reasons why it hangs are > unimportant here) and need to call it from an other script and need to > say if it hangs to give up after X seconds and just continue the > script (no harm done if it fails) or in addition to my previous answer use /usr/ports/sysutils/timelimit -- Eitan Adler ___ 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: OT: How to set a timeout for a process
On Thu, Jan 27, 2011 at 3:37 AM, Aryeh Friedman wrote: > I have a script that may or not hang (the reasons why it hangs are > unimportant here) and need to call it from an other script and need to > say if it hangs to give up after X seconds and just continue the > script (no harm done if it fails) If you are willing to be bash specific: http://www.bashcookbook.com/bashinfo/source/bash-4.0/examples/scripts/timeout3 I'm not exactly sure how to do it in a normal POSIX shell. -- Eitan Adler ___ 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"
computer panics when wifi settings are touched.
Recently I tried to connect to the same AP described in the following thread: http://www.mail-archive.com/freebsd-questions@freebsd.org/msg238799.html It worked relatively well until now. Whenever I try to use ifconfig, wpa_supplicant, dhclient, or any related tool on the wlan0 interface it results in a system freeze. The only way to get out of this is to hard reset the computer - but I do not see the typical backtrace associated with a panic (even when X is not running). What debugging information is needed to help solve the problem? -- Eitan Adler ___ 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: gnome to kde
On Thu, Dec 30, 2010 at 9:53 AM, xinyou yan wrote: > I want to use kde instead of gnome > > How can i delete gnome completely > (I am afraid to delete others or less delete ) Use pkg_rmleaves (ports) to remove the "leaf" ports of gnome and keep in going thru until you don't see anything to gnome related. IMHO its better when doing such a massive switch to either a) delete all the ports from your system and start from scratch or b) leave the kde stuff and delete the ones you don't use during your normal cleaning cycle. -- Eitan Adler ___ 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 build a BROKEN port?
On Thu, Dec 30, 2010 at 6:35 AM, Chris Rees wrote: > I'm pretty sure it's in the Porter's Handbook under the marking as BROKEN > section Heh - now I feel silly for missing it :-{ Either way it should be documented in ports(7) and bsd.port.mk. -- Eitan Adler ___ 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 build a BROKEN port?
>> Thanks for the reply, but can someone tell me if this is documented anywhere > particularly? I'm going to be pissed if I missed it ;) It does not seem to be documented anywhere. I found it by grepping for BROKEN in the Mk subdirectory. I will submit a pr now to add it to ports(7) and the top of bsd.port.mk -- Eitan Adler ___ 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 build a BROKEN port?
>> >> Edit the port's Makefile and comment-out the BROKEN line. Generally - don't do this. >> > > Oh, the irony! :) I considered doing that, but I thought there might have > been some magic incantation that got around this... > There is make -DTRYBROKEN -- Eitan Adler ___ 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"
Kernel panic on power button
I just pressed the power button on my desktop computer - it seemed like it was attempting to do an ACPI suspend instead of a power down like I expected - but I'm not sure. Either way: When It got close to the end I got Kernel trap 12: page fault in kernel mode followed by the fault address, instruction pointer, etc. I have the information written it down if it would help. At the end it said "unable to dump - device not configured" uptime: 11d... The current process was listed as 81250 (tmux) if that matter. I then needed to perform a hard shutdown of the computer. uname -a FreeBSD voodoo 8.1-STABLE FreeBSD 8.1-STABLE #1 r213338: Fri Oct 1 22:11:41 UTC 2010 ei...@voodoo:/usr/obj/usr/src/sys/GENERIC i386 What debugging data should I provide to help fix this issue? -- Eitan Adler ___ 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"
simple NAT for jails
Hi, I want to throw together some jails for friends to play with. I'm not terribly concerned about security on this machine. My goal is to do something like ezjail create james 10.0.0.1 ezjail create jared 10.0.0.2 ezjail create joe 10.0.0.3 ezjail create idaho 10.0.0.4 I have a single IP address for my computer - so I would need some kind of nat to allow these jails to access the outside world - and allow the outside world to access them. I've looked into pf and I guess I would need something like nat on nfe0 from 10.0.0.1 to any -> $external_ip is this correct? Do I need anything in in /etc/pf.conf ? -- Eitan Adler ___ 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: openssl version - how to verify
On Fri, Nov 19, 2010 at 4:36 PM, Jerry wrote: > On Fri, 19 Nov 2010 15:08:26 -0600 > Adam Vande More articulated: > >> While I agree with your point in this context, the statement "The >> number of _UNDISCOVERED_ bugs, on the other hand, is an infinite >> one." is false. >> >> http://www.unsw.edu.au/news/pad/articles/2009/sep/microkernel_breakthrough.html > > It was later discovered that the software used to certify the kernel > 100% bug-free was not itself bug-free thereby nullifying results. The paper "Diverse Double-Compiling" by David A Wheeler is relevant although not strictly the same topic. It could be used to avoid this type of issue. -- Eitan Adler ___ 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: removing files
On Mon, Nov 8, 2010 at 2:20 AM, Pegasus Mc Cleaft wrote: > On Monday 08 November 2010 06:10:20 yoganjaneyulu kasetti wrote: >> hi, >> >> I have a problem for deleting files using scriptplease some one can >> guide me for the same. >> >> I have some files with the extension of ".chk" extension along with the >> extension of ".log" and ".gjf" extension in the folder called different >> *input folders. *I wanted to delete the ".chk" file extension having >> files. If i go to individual input folder manually i can delete the file >> with *rm* command line by but i would like to delete all the ".chk" files >> extension files at a time through scripting rather than manual. So please >> some one help me for the same. >> /student/sweety/gaussiandata/*1249624064640*/input >> > > Could you, in your script do something like: > > cd /Path_to_Data_Root > find . -name "*.chk" -print -prune -exec rm -rf {} \; If you really want to "delete all the ".chk" files extension files at a time" find path -name '*.chk' -print -prune -exec rm -rf {} + \; -- Eitan Adler ___ 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: man(1) output error
> % man csh | less +/rehash > > but after exiting less: > > Error executing formatting or display command. > system command exited with status 36096 > Error executing formatting or display command. > system command exited with status 36096 > No manual entry for csh > > This error seems new. I can confirm that this does occur on 8.1-RELEASE and does not occur on 8.1-STABLE r213338. -- Eitan Adler ___ 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: Clean up / filesystem
> I also understodd the meaning of /tmp in this way - "does not need > to survive reboot". For things that have a kind of temporary nature, > but have to survivve a reboot, /var/tmp is usually used. I did not know that. I aliased /var/tmp to /tmp which is tmpfsed I'm guessing I should undo that - right? -- Eitan Adler ___ 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: Clean up / filesystem
On Sun, Oct 10, 2010 at 8:40 AM, Mike Clarke wrote: > On Saturday 09 October 2010, Arthur Chance wrote: > >> Not if running an X desktop, as all sorts of things get stuck in /tmp >> that are needed. In single user mode it should be safe, and it >> probably is when simply running on the console. >> >> As a long term solution, if you wish to clear /tmp every reboot add >> clear_tmp_enable="YES" # Clear /tmp at startup. >> to your /etc/rc.conf > You may also want to consider changing /tmp to be a TMPFS file system add the line tmpfs /tmptmpfs rw,mode=01777 0 0 to /etc/fstab (and remove any other /tmp lines). A warning will come saying that it is highly experimental - but I've been running with it for a while now without any issues. -- Eitan Adler ___ 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: Clean up / filesystem
On Sat, Oct 9, 2010 at 12:43 AM, Caleb Stein wrote: > I'm constantly getting the message, ":/ write failed, filesystem is full", > so I did df, and it said that my / filesystem was at 108%. What files can I > delete to free some space? du -chx / to view all and their sizes you might want to use du -cx /|sort to view them largest to smallest. -- Eitan Adler ___ 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: [solved - I hope] Re: if_bwn woes
On Fri, Oct 8, 2010 at 12:15 PM, Paul B Mahol wrote: > On 10/8/10, Eitan Adler wrote: >> Finally, thank to Freenode's ##freebsd I tried wpa_supplicant which worked. >> I can now connect to the internet. >> >> I'd still like to know why I must use the program and I can't use the >> raw commands though. > > So OPEN authmode is broken somehow? Send a problem report if really is. > I used key_mgmt=NONE in wpa_supplicant.conf so I think it is still using OPEN. I'm not really sure what the difference is. -- Eitan Adler ___ 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"
[solved - I hope] Re: if_bwn woes
Finally, thank to Freenode's ##freebsd I tried wpa_supplicant which worked. I can now connect to the internet. I'd still like to know why I must use the program and I can't use the raw commands though. On Thu, Oct 7, 2010 at 9:18 PM, Eitan Adler wrote: > On Thu, Oct 7, 2010 at 9:14 PM, Paul B Mahol wrote: >> On 10/7/10, Eitan Adler wrote: >>> On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol wrote: >>>> On 10/7/10, Eitan Adler wrote: >>>>>> Looks like you cant associate at all. >>>>>> Also signal power is too low. >>>>>> >>>>>> Why is INT (beacon interval of AP) 102 ? >>>>> >>>>> These are the defaults - I have no idea what these numbers mean. What >>>>> should/could I be changing? >>>> >>>> I doubt that AP have capatibility to change that. >>>> Anyway maybe you could associate if your txpower is big enough... >>>> >>> >>> Sorry - I realized a brief portion of out conversation was done off-list. >>> >>> I just noticed that when I put in the ssid ifconfig seems to be >>> cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others). >> >> Well, force it to stay on channel 1 all the time. >> > I destroyed and recreated wlan0 with the channel 1 > Now it stopped cycling but bwn0 now says "no carrier" as well. > > > -- > Eitan Adler > -- Eitan Adler ___ 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: if_bwn woes
On Thu, Oct 7, 2010 at 9:14 PM, Paul B Mahol wrote: > On 10/7/10, Eitan Adler wrote: >> On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol wrote: >>> On 10/7/10, Eitan Adler wrote: >>>>> Looks like you cant associate at all. >>>>> Also signal power is too low. >>>>> >>>>> Why is INT (beacon interval of AP) 102 ? >>>> >>>> These are the defaults - I have no idea what these numbers mean. What >>>> should/could I be changing? >>> >>> I doubt that AP have capatibility to change that. >>> Anyway maybe you could associate if your txpower is big enough... >>> >> >> Sorry - I realized a brief portion of out conversation was done off-list. >> >> I just noticed that when I put in the ssid ifconfig seems to be >> cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others). > > Well, force it to stay on channel 1 all the time. > I destroyed and recreated wlan0 with the channel 1 Now it stopped cycling but bwn0 now says "no carrier" as well. -- Eitan Adler ___ 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: if_bwn woes
Sorry for the reply-to-self On Thu, Oct 7, 2010 at 9:11 PM, Eitan Adler wrote: > On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol wrote: >> On 10/7/10, Eitan Adler wrote: >>>> Looks like you cant associate at all. >>>> Also signal power is too low. >>>> >>>> Why is INT (beacon interval of AP) 102 ? >>> >>> These are the defaults - I have no idea what these numbers mean. What >>> should/could I be changing? >> >> I doubt that AP have capatibility to change that. >> Anyway maybe you could associate if your txpower is big enough... >> > > Sorry - I realized a brief portion of out conversation was done off-list. > > I just noticed that when I put in the ssid ifconfig seems to be > cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others). > > I'm not sure what this behavior means. > > What would the best way see why I can't connect be? > > I tried > $ifconfig wlan0 txpower 50 > but txpower stays at 30. > > Is this for sure a signal strength problem? it worked when I used ndis > from the same location. > ... I also noticed that bwn0 says status: associated while wlan0 says status: no carrier -- Eitan Adler ___ 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: if_bwn woes
On Thu, Oct 7, 2010 at 5:22 PM, Paul B Mahol wrote: > On 10/7/10, Eitan Adler wrote: >>> Looks like you cant associate at all. >>> Also signal power is too low. >>> >>> Why is INT (beacon interval of AP) 102 ? >> >> These are the defaults - I have no idea what these numbers mean. What >> should/could I be changing? > > I doubt that AP have capatibility to change that. > Anyway maybe you could associate if your txpower is big enough... > Sorry - I realized a brief portion of out conversation was done off-list. I just noticed that when I put in the ssid ifconfig seems to be cycling among multiple channels (1,5, 11,12,13 ,14 and maybe others). I'm not sure what this behavior means. What would the best way see why I can't connect be? I tried $ifconfig wlan0 txpower 50 but txpower stays at 30. Is this for sure a signal strength problem? it worked when I used ndis from the same location. -- Eitan Adler ___ 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: if_bwn woes
> Looks like you cant associate at all. > Also signal power is too low. > > Why is INT (beacon interval of AP) 102 ? These are the defaults - I have no idea what these numbers mean. What should/could I be changing? -- Eitan Adler ___ 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: if_bwn woes
On Thu, Oct 7, 2010 at 2:31 PM, Paul B Mahol wrote: > On 10/7/10, Eitan Adler wrote: >>>> >>>> ifconfig wlan0 scan results in no output and takes forever (ie - it >>>> hangs) >>> If you set wlan0 for manual roaming it will not hang. >>> >>> Use 'ifconfig wlan0 list scan' instead. >> That worked, thanks. >> >> dhclient still results in no link being found. > > Are you sure that you setup is correct? > For example you can not connect to AP which require RSN authmode > if you configure wlan0 for OPEN authmode, you also may not > connect to AP if you are far away, because you are able > to receive and send doesn't mean AP can see your packets > > Try changing ucastrate to lower values. > I'm not really sure what ucastrate does - but here it goes: $ifconfig wlan0 list scan|head -1 xyz 00:23:xx:yy:zz:aa:bb 1 54M -125:-95 102 E HTCAP WME $ifconfig wlan0 ssid xyz $dhclient wlan0 ... no link ... $ifconfig wlan0 ucastrate 9 $dhclient wlan0 ... no link ... $ifconfig wlan0 ucastrate 1 $dhclient wlan0 ... no link ... I'm fairly sure that I'm in an area where the signal reaches because when I was using the ndis driver (on an old install) it worked. This is a fresh install now. -- Eitan Adler ___ 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: if_bwn woes
>> >> ifconfig wlan0 scan results in no output and takes forever (ie - it hangs) > If you set wlan0 for manual roaming it will not hang. > > Use 'ifconfig wlan0 list scan' instead. That worked, thanks. dhclient still results in no link being found. > >> ifconfig wlan0 ssid my_ssid >> dhclient wlan0 >> results in no link being discovered >> >> Here is some relevant system config and such to help diagnose the problem: >> >> #ifconfig wlan0 create wlandev bwn0 >> >> #ifconfig bwn0 >> bwn0: flags=8843 metric 0 mtu 2290 >> ether xx:yy:zz:xx:yy:zz >> media: IEEE 8.2.11 Wireless Ethernet autoselect mode 11g >> status: associated >> >> # cat /boot/loader.conf |head -2 >> bwn_b4_lp_ucode_load="YES" >> if_bwn_load="YES" >> >> #kldstat |grep bwn >> 2 1 0xc0fb6000 37248 if_bwn.ko >> 3 2 0xc0fee000 a26c siba_bwn.ko >> 7 1 0xc1078000 2cbd8 bwn_v4_lp_ucode >> >> #pciconf -lv | grep -A3 bwn >> siba_b...@pci0:4:0:0: class=0x028000 card=0x04b514e4 chip=0x431514e4 >> rev=0x01 hdr=0x00 >> vender = 'Broadcom Corporation' >> device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)' >> class = network >> >> #uname -rms >> FreeBSD 8.1-RELEASE i386 >> >> On a Lenovo G530 >> >> -- >> Eitan Adler >> ___ >> 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" >> > -- Eitan Adler ___ 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"
if_bwn woes
On a fresh 8.1-RELEASE install ifconfig wlan0 scan results in no output and takes forever (ie - it hangs) ifconfig wlan0 ssid my_ssid dhclient wlan0 results in no link being discovered Here is some relevant system config and such to help diagnose the problem: #ifconfig wlan0 create wlandev bwn0 #ifconfig bwn0 bwn0: flags=8843 metric 0 mtu 2290 ether xx:yy:zz:xx:yy:zz media: IEEE 8.2.11 Wireless Ethernet autoselect mode 11g status: associated # cat /boot/loader.conf |head -2 bwn_b4_lp_ucode_load="YES" if_bwn_load="YES" #kldstat |grep bwn 2 1 0xc0fb6000 37248 if_bwn.ko 3 2 0xc0fee000 a26c siba_bwn.ko 7 1 0xc1078000 2cbd8 bwn_v4_lp_ucode #pciconf -lv | grep -A3 bwn siba_b...@pci0:4:0:0: class=0x028000 card=0x04b514e4 chip=0x431514e4 rev=0x01 hdr=0x00 vender = 'Broadcom Corporation' device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)' class= network #uname -rms FreeBSD 8.1-RELEASE i386 On a Lenovo G530 -- Eitan Adler ___ 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: ACPI & battery issues
> Eitan, > > I've attached the patch - this came from David Naylor on the ACPI list. If I > understand what he told me at the time, it doesn't fix the problem entirely - > but I can't pretend I understand ACPI. I know it means that on my S10e I no > longer get spammed with ACPI errors - and that my battery status and shutdown > work properly. > > The patch applies to /usr/src/sys/dev/acpica/acpi_ec.c > > It needs some new entries in /boot/loader.conf to adjust the timeouts and > delays - which you can tinker with. The settings given are what works for me > - but search the acpi list archives for David's original email: > > debug.acpi.ec.delay="200" > debug.acpi.ec.gpe="1" > debug.acpi.ec.timeout="100" > > Hope it helps, > > > > Peter Harrison. Thanks for the patch. Unfortunately the hard drive in the laptop in question broke and I'm waiting for a replacement. I will test it when I reinstall freeBSD though. Thanks for the patch. -- Eitan Adler ___ 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: ACPI & battery issues
I was told to bring this to acpi@'s attention On Sun, Oct 3, 2010 at 10:47 AM, Ian Smith wrote: > In freebsd-questions Digest, Vol 330, Issue 10, Message: 5 > On Sat, 2 Oct 2010 10:42:23 -0400 Eitan Adler wrote: > > > I see > > ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for > > [EmbeddedControl] (20100331/evregion-588) > > ACPI Error (psparse-0633): Method parse/execution failed > > [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6adba60), > > AE_NO_HARDWARE_RESPONSE > > > > repeatedly in dmesg > > > > sysctl's relating to battery information is also slow: > > % time sysctl hw.acpi.battery.state > > hw.acpi.battery.state: 7 > > sysctl hw.acpi.battery.state 0.00s user 2.18s system 72% cpu 3.006 total > > > > % time sysctl hw.acpi.battery > > hw.acpi.battery.life: -1 > > hw.acpi.battery.time: -1 > > hw.acpi.battery.state: 7 > > hw.acpi.battery.units: 1 > > hw.acpi.battery.info_expire: 5 > > sysctl hw.acpi.battery 0.00s user 6.58s system 67% cpu 9.779 total > > > > also note that the life and time are both negative one. > > > > This is on a Lenovo G530 laptop. > > The Embedded Controller timed out so battery info is unknown / bogus, > which appears quite likely the issue reported here: > http://www.freebsd.org/cgi/query-pr.cgi?pr=150517 It might be the same issue - but I am able to use shutdown -p to shutdown. > > If you're sure you have the latest Lenovo BIOS/EC updates, try posting > your report above to the freebsd-acpi list, also providing OS version > (uname -a) and contents of /var/run/dmesg.boot I'm unsure if I have the latest BIOS, however the vendor's only update tool requires windows - which I don't have a copy of to run it. Machine info: FreeBSD AlphaBeta.local 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 http://isis.poly.edu/~eitan/files/dmesg.boot If its relevant here is acpidump -dt http://isis.poly.edu/~eitan/files/AlphaBeta.acpidump.asl.gz -- Eitan Adler ___ 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: ACPI & battery issues
On Sat, Oct 2, 2010 at 4:01 PM, wrote: > I get the same messages with the stock acpi on a Lenovo S10e. Someone on the > acpi list (who's name I forget) wrote a patch which removes the error. If you > think it might help I'll root it out and forward it on. I'll be happy to take a look at the patch and see if it solves my problem. does the patch just remove the error message or solve a specific problem that might be causing the issue? > ... > I see > ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for > [EmbeddedControl] (20100331/evregion-588) > ACPI Error (psparse-0633): Method parse/execution failed > [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6adba60), > AE_NO_HARDWARE_RESPONSE > > repeatedly in dmesg > > sysctl's relating to battery information is also slow: > % time sysctl hw.acpi.battery.state > hw.acpi.battery.state: 7 > sysctl hw.acpi.battery.state 0.00s user 2.18s system 72% cpu 3.006 total > > % time sysctl hw.acpi.battery > hw.acpi.battery.life: -1 > hw.acpi.battery.time: -1 > hw.acpi.battery.state: 7 > hw.acpi.battery.units: 1 > hw.acpi.battery.info_expire: 5 > sysctl hw.acpi.battery 0.00s user 6.58s system 67% cpu 9.779 total > > also note that the life and time are both negative one. > > This is on a Lenovo G530 laptop. -- Eitan Adler ___ 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"
ACPI & battery issues
I see ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6adba60), AE_NO_HARDWARE_RESPONSE repeatedly in dmesg sysctl's relating to battery information is also slow: % time sysctl hw.acpi.battery.state hw.acpi.battery.state: 7 sysctl hw.acpi.battery.state 0.00s user 2.18s system 72% cpu 3.006 total % time sysctl hw.acpi.battery hw.acpi.battery.life: -1 hw.acpi.battery.time: -1 hw.acpi.battery.state: 7 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 sysctl hw.acpi.battery 0.00s user 6.58s system 67% cpu 9.779 total also note that the life and time are both negative one. This is on a Lenovo G530 laptop. -- Eitan Adler ___ 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 tell "ls" output date in digital
On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger wrote: > Hi-- > > On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote: >> No D option in ls: >> >> [162] bsd-ms: ls -lD "+%F %H:%M" >> ls: illegal option -- D >> usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] > % svn log -r 177907 r177907 | grog | 2008-04-03 23:57:46 -0400 (Thu, 03 Apr 2008) | 2 lines Add -D option to specify exact format of date and time output with ls -l. I just noticed your using 6.x. I'm not sure what revision 6.x was but maybe it is too old to have this option? -- Eitan Adler ___ 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 tell "ls" output date in digital
On Wed, Sep 8, 2010 at 7:03 PM, Guojun Jin wrote: > I remember that "ls" can output date in digital like following format ls -lD "format" check strftime(3) for details on format. -- Eitan Adler ___ 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: BWN driver error messages
As I recall, I had to add this line to loader.conf because it wouldn't > autoload it: > if_bwn_load="YES" # Broadcom BCM43xx IEEE 802.11 wireless NICs > > Someone may have fixed it by now. I was doing this back during the release of > 8.1 > I already did $kldload if_bwn && kldload bwn_v4_ucode.ko && kldload bwn_v4_lp_ucode.ko -- Eitan Adler ___ 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: BWN driver error messages
> I'm not familiar with portsnap, so I'll let someone else troublehoot that. > But I want to mention that the port was added to the tree six months ago... > I checked it out from CVS and installed the port. I'll test the wireless soon. -- Eitan Adler ___ 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: BWN driver error messages
On Wed, Sep 8, 2010 at 10:44 AM, Steven Friedrich wrote: > On Wednesday 08 September 2010 10:21:44 Eitan Adler wrote: >> On Tue, Sep 7, 2010 at 10:24 PM, Steven Friedrich > wrote: >> > On Tuesday 07 September 2010 21:46:43 Eitan Adler wrote: >> >> When I attempt to use the if_bwn driver I get the following messages: >> >> >> >> Is my card not supported or am I missing a step or is it something else? >> >> ... >> >> > You need a package or port of: >> > bwn-firmware-kmod-0.1.0 Broadcom AirForce IEEE 802.11 Firmware Kernel >> > Module >> >> The closest port I find is >> >> net/bwi-firmware-kmod >> >> >> # locate bwn-|grep ports|wc -l >> 0 >> >> When I searched for firmware using make quicksearch key="firmware" I >> found net/bwn-firmware-kmod but it does not exist >> >> ls -lao /usr/ports/net/bwn-firmware-kmod >> ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory > > I'm sorry, I read your post too quickly and missed where you clearly stated > the problem. > > You said: >> ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory > This indicates that you need to update your ports tree. Do you know how? > [r...@alphabeta ~ ]# !portsn [r...@alphabeta ~ ]# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Latest snapshot on server matches what we already have. No updates needed. Removing old files and directories... done. Extracting new files: Building new INDEX files... done. [r...@alphabeta ~ ]# grep "REFUSE" /etc/portsnap.conf # can cause problems due to missing dependencies. If you have REFUSE REFUSE arabic chinese french german hungarian japanese REFUSE korean polish portuguese russian ukrainian vietnamese -- Eitan Adler ___ 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: BWN driver error messages
On Tue, Sep 7, 2010 at 10:24 PM, Steven Friedrich wrote: > On Tuesday 07 September 2010 21:46:43 Eitan Adler wrote: >> When I attempt to use the if_bwn driver I get the following messages: >> >> Is my card not supported or am I missing a step or is it something else? >> ... > You need a package or port of: > bwn-firmware-kmod-0.1.0 Broadcom AirForce IEEE 802.11 Firmware Kernel Module > The closest port I find is net/bwi-firmware-kmod # locate bwn-|grep ports|wc -l 0 When I searched for firmware using make quicksearch key="firmware" I found net/bwn-firmware-kmod but it does not exist ls -lao /usr/ports/net/bwn-firmware-kmod ls: /usr/ports/net/bwn-firmware-kmod: No such file or directory -- Eitan Adler ___ 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"
BWN driver error messages
When I attempt to use the if_bwn driver I get the following messages: Is my card not supported or am I missing a step or is it something else? siba_bwn0: mem 0xf470-0xf4703fff irq 1 8 at device 0.0 on pci4 bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2) bwn0: DMA (64 bits) bwn0: Using 1 MSI messages bwn0: [FILTER] wlan0: Ethernet address: 00:21:00:e7:75:20 bwn_v4_lp_ucode15: could not load firmware image, error 2 bwn0: the fw file(bwn_v4_lp_ucode15) not found bwn-open_v4_lp_ucode15: could not load firmware image, error 2 bwn0: the fw file(bwn-open_v4_lp_ucode15) not found -- Eitan Adler ___ 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: getting eclipse to recognize that devel/subsclipse is installed
On Tue, Aug 31, 2010 at 1:11 PM, Andreas Maechler wrote: > I've always installed Subclipse directly through the Eclipse' plugin > manager, which works very well. > > Andy > > On Tue, Aug 31, 2010 at 6:14 PM, Eitan Adler wrote: >> I installed eclipse and subclipse via ports. When I start eclipse I do >> not see svn as an option in the preferences menu nor or do any of >> subclipse's features. >> >> How can I tell eclipse that I installed subclipse? I'll try that next - but I'd still like to know what step I am missing if I use the ports version. -- Eitan Adler ___ 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"
getting eclipse to recognize that devel/subsclipse is installed
I installed eclipse and subclipse via ports. When I start eclipse I do not see svn as an option in the preferences menu nor or do any of subclipse's features. How can I tell eclipse that I installed subclipse? -- Eitan Adler ___ 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: Moving from one port to another
On Sat, Aug 28, 2010 at 10:40 PM, Kurt Buff wrote: > Portupgrade won't, AFAIK, cross branches, though I could be wrong about that. > > There's a 3.0 branch in /usr/ports/www/squid30 and a 3.1 branch in > /usr/ports/www/squid31, and I want to make the switch to pick up a > feature. > > Kurt portmaster -o www/squid31 www/squid30 -- Eitan Adler ___ 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: Moving from one port to another
On Sat, Aug 28, 2010 at 4:56 PM, Kurt Buff wrote: > Right now I've got an installation of squid 3.0.24, and want to move > to the 3.1 branch. > > I could just do a 'make deinstall' on the current version, then do > 'make install' in the 3.1 port, but I'm wondering if there's a smarter > way to do this. > If you use portmaster try portmaster [Common Flags] -o -- Eitan Adler ___ 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 Problems
>> I used make install as I had no way of knowing that additional drivers >> could be selected. Perhaps that should be an option to the sysinstall >> program when FBSD is initially being installed. >> > > Yes, people can't guess what are the names of the drivers, it's in my > opinion a problem for this port. I Cced the maintainer. I have a lot on my plate right now so I can't guarantee that I'll solve this soon. Would depending on x11-driver/xorg-drivers instead of requiring VIDEO_DRIVER being set help at all? I intended this port to be used when you require X11 to up and running fast without any overhead. That is why things like xset aren't installed. It is possible to run X11 with the vesa driver even if you can get better performance with a different driver. -- Eitan Adler ___ 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 Problems
On Sat, Aug 21, 2010 at 11:42 PM, Fred Boatwright wrote: > Eitan Adler wrote: >> >> >> Something odd is going on with some of the fonts. >> > >> > I installed ports/x11/xorg-minimal as the full Monty appeared to be a >> > huge amount of software that will never get used. Ā I don't want all the >> > stuff for gnome and kde as I will never use them. >> > >> > It appeared to me that the fonts could be straightened out when >> > everything else is working. Ā I think the Handbook has a section on >> > adding fonts. >> > >> >> Hi, >> I'm the maintainer of x11/xorg-minimal. I have not been following this >> thread. >> >> Did you have problems with fonts when installing x11/xorg-minimal ? >> >> -- >> Eitan Adler > > Hi Eitan, > The Xorg.0.log file shows it can't find some expected fonts. The file > is at > http://wonkity.com/~wblock/tmp/Xorg.0.log These are harmless. X.org will work without them which is why I didn't depend on them on x11/xorg-minimal > The actual problem I am having is that startx produces only a completely > black screen. Xorg -config xorg.conf.new -retro produces the expected > grid and mouse pointer. A .xinitrc file is supposed to start a window > manager. Modern X.org installs don't show a default window manager (so a black screen is "expected). What is the contents of your .xinitrc file? > > Best regards, > Fred > -- Eitan Adler ___ 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: Can't remove or move file
On Fri, Aug 20, 2010 at 12:00 PM, Rem P Roberti wrote: > This is a new one for me. I converted a YouTube selection using youtube_dl > and the file that was created was named -elDeJaPWGg.flv. When I try to > rename it, or delete it, I get an error message thus: > > root@ ~: rm -elDeJaPWGg.flv > rm: illegal option -- e > usage: rm [-f | -i] [-dIPRrvW] file ... > unlink file > > No switch with either the rm or mv command works. What is actually going on > here? > You may find this article interesting: How to properly deal with filenames in shell scripts: http://www.dwheeler.com/essays/filenames-in-shell.html Some more detail (and a possible "fix"): http://www.dwheeler.com/essays/fixing-unix-linux-filenames.htm -- Eitan Adler ___ 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"
devd & enabling the "fn-f7" switch monitor functionality
Any further input on this issue? On Mon, Aug 16, 2010 at 11:12 AM, Eitan Adler wrote: > # kldstat|grep acpi_ibm > 12 1 0xc121d000 5244 acpi_ibm.ko > # tail -6 /etc/devd.conf > notify 0 { > match "system" "ACPI"; > match "subsystem" "IBM"; > match "notify" "0x07"; > action "/home/eitan/xbin/do-switch-screen.sh"; > }; > > # ls -laod /home/eitan/xbin/do-switch-screen.sh > -rwxr-xr-x 1 eitan eitan - 88 Aug 16 10:57:05 2010 > /home/eitan/xbin/do-switch-screen.sh* > % dmesg|tail > acpi_ec0: EcRead: failed waiting to get data > ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for > [EmbeddedControl] (20100331/evregion-588) > ACPI Error (psparse-0633): Method parse/execution failed > [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), > AE_NO_HARDWARE_RESPONSE > acpi_ec0: EcRead: failed waiting to get data > ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for > [EmbeddedControl] (20100331/evregion-588) > ACPI Error (psparse-0633): Method parse/execution failed > [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), > AE_NO_HARDWARE_RESPONSE > drm0: [ITHREAD] > acpi_ec0: EcRead: failed waiting to get data > ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for > [EmbeddedControl] (20100331/evregion-588) > ACPI Error (psparse-0633): Method parse/execution failed > [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), > AE_NO_HARDWARE_RESPONSE > > In the script I have "touch $0.ran" but the file does not get created. > > > Is there some program that would allow me to watch ACPI events? Is > there some way I could known that the key is 0x07? > >> Add >> >> notify 0 { >> match "system" "ACPI"; >> match "subsystem" "IBM"; >> match "notify" "0x07"; >> action "/full/path/to/script"; >> }; >> >> to /etc/devd.conf > > > -- > Eitan Adler > -- Eitan Adler ___ 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: enabling the "fn-f7" switch monitor functionality
Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: [1]Click here for our website We look forward to your continued business in the future. Regards, Webmaster References 1. http://www.downwind.com.au/avdir/rd.php?id=7564 ___ 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: enabling the "fn-f7" switch monitor functionality
# kldstat|grep acpi_ibm 121 0xc121d000 5244 acpi_ibm.ko # tail -6 /etc/devd.conf notify 0 { match "system" "ACPI"; match "subsystem" "IBM"; match "notify" "0x07"; action "/home/eitan/xbin/do-switch-screen.sh"; }; # ls -laod /home/eitan/xbin/do-switch-screen.sh -rwxr-xr-x 1 eitan eitan - 88 Aug 16 10:57:05 2010 /home/eitan/xbin/do-switch-screen.sh* % dmesg|tail acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE drm0: [ITHREAD] acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] (20100331/evregion-588) ACPI Error (psparse-0633): Method parse/execution failed [\\_SB_.PCI0.LPCB.BAT1._BST] (Node 0xc6ad8d40), AE_NO_HARDWARE_RESPONSE In the script I have "touch $0.ran" but the file does not get created. Is there some program that would allow me to watch ACPI events? Is there some way I could known that the key is 0x07? > Add > > notify 0 { > match "system" "ACPI"; > match "subsystem" "IBM"; > match "notify" "0x07"; > action "/full/path/to/script"; > }; > > to /etc/devd.conf -- Eitan Adler ___ 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"
enabling the "fn-f7" switch monitor functionality
I have a key which is meant to switch between the built in and an external monitor. This key is activated by fn-f7. xev does not report any activity when it is pressed. How get I run a script when it is pressed? I think this key is supposed to report some sort of ACPI event. % uname -rms FreeBSD 8.1-RELEASE i386 Laptop model is Lenovo G530. -- Eitan Adler ___ 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: why do I require "WPA" in rc.conf even for open networks.
> I use WPA and have no urge to run tests for someone else on this > right now, but are you sure something like > > ifconfig_wlan0="ssid ForteanJungle wepmode mixed wepkey 8675309 DHCP" > > doesn't work at all these days? I had ifconfig_wlan0="ssid MySSID DHCP" and attempted to connect to an OPEN network without being able to do so. When I added ifconfig_wlan0="ssid MySSID WPA DHCP" I was able to connect to the same network. -- Eitan Adler ___ 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"
why do I require "WPA" in rc.conf even for open networks.
For some reason I can not connect to *any* wireless network regardless of the connection type unless I have "WPA" in /etc/rc.conf right before "DHCP". Why would I require this to connect to open networks? -- Eitan Adler ___ 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: size suffix w x
> I have a script I am hacking. The code has a check for a size suffix. > I know what m|mb|g|gb|k|kb| and the upper case version of the same letters > mean. But the code also has an w|x size options. > Is this a valid size type and what does it mean? Are you looking at the expand_number(3) function? It is very hard to help you unless you give more details. -- Eitan Adler ___ 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"