Search results

  1. bthomson

    Shell Getting Raw Key Events

    Ahh, interesting stuff! It is really a shame this usbhidaction cannot somehow be made to work with regular keyboard keys, because it is designed to launch a program when the key is detected and that is exactly what I am hoping to accomplish! Actually hmm, there are events for the keyboard...
  2. bthomson

    Shell Getting Raw Key Events

    Hey gang, I am interested in writing a daemon that watches for raw key events so I can detect the F-keys on the console and launch actions. So far the closest thing I found is something like usbdump -i usbus2 -v. I think I can make it work from that, but this seems a bit ugly. Curious if you...
  3. bthomson

    Raspberry Pi 2

    Thanks for your reports, NewGuy! It is good to know that ZFS can be installed, but is unstable for some reason. I hope the crash did not harm your ZFS pool! I will share some of my observations having run the Pi 2 for an evening... Surprisingly, I found the network I/O performance was actually...
  4. bthomson

    Raspberry Pi 2

    Thanks, that solved the problem! Motherboard USB power is enough for RPI1, but not for RPI2! So it is working splendidly now, thanks to everyone for your hard work! It is very much appreciated. The same thing often happens with the Pi 1 images as well. It is not so reliable just yet, give it...
  5. bthomson

    Raspberry Pi B+ - FreeBSD 11 wrong pin mapping

    I think the instructions here could be used to fix it: https://vzaigrin.wordpress.com/2014/12/20/gpioled-in-the-freebsd-on-the-raspberry-pi/ I will post again if I get a chance to try it.
  6. bthomson

    pfctl: DIOCSETLIMIT

    Bug is filed here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195568 But this worries me. What if this was a security update that didn't get applied? Shouldn't freebsd-update at least notice that the checksum is wrong on /sbin/pfctl and report that? EDIT: After reading a little more...
  7. bthomson

    PF, NAT and connection failures

    Thanks for sharing these details, matoatlantis. I can relate to your frustration there because I have also sometimes been ignored when I try to bring a possible bug to the developers' attention. But, at least we are able to provide some documentation here to help those who might try to track...
  8. bthomson

    PF, NAT and connection failures

    Saw something similar to this today on a NAT router running 10.1-RELEASE, and wanted to leave a note in case anyone encounters a similar problem or learns something from this debugging info. To test I was using this: % fetch -o /dev/null...
  9. bthomson

    ZFS: arc_meta_used exceeds arc_meta_limit?

    I have observed it on 10.0-RELEASE-p7 today: % sysctl -ah | grep vfs.zfs.arc vfs.zfs.arc_max: 134,217,728 vfs.zfs.arc_min: 517,351,680 vfs.zfs.arc_meta_used: 313,004,120 vfs.zfs.arc_meta_limit: 33,554,432 arc_max is less than arc_min probably because I have added vfs.zfs.arc_max="128M" to...
  10. bthomson

    vnet jail - ping: permission denied

    Usually ping: sendto: Permission denied is what I see when a firewall blocked the ping. For connection problems there are different errors. You say you have stopped the firewall on the host, but any chance you have a firewall running in the jail? Output from jls -v would also be helpful.
  11. bthomson

    ZFS root-on-ZFS options and quotas for security

    In response to your question 4, I assume that your zroot/tmp will be mounted at /tmp? If so, you should take special care to remember that you have marked it exec=off because some programs that you may install later may require that files they store in /tmp are allowed to be executed (for an...
  12. bthomson

    The disk is not calm now

    I recall trying to find this information quite a while ago. My memory may be failing me, but what I recall is that you can use fstat to find the processes that are writing to your disks (and the files they're writing to) for most filesystems. Except ZFS. If it's ZFS, then you have to use some...
  13. bthomson

    PF Allow Outlook through PF firewall

    The best way I have found to solve this problem is to set up a pflog device for your blocked traffic by adding a log directive to any block rules in your pf.conf. Then you can use tcpdump on the pflog device to see what packets from Outlook are getting blocked, and then modify your rules...
  14. bthomson

    High interrupt rate on ehci0

    Here is the new bugzilla URL for this issue.
  15. bthomson

    How is FreeBSD coping with a systemd future?

    I for one am very grateful to systemd. It convinced me to finally migrate my desktop to FreeBSD, which turned out to be a great decision. I'm sure I'm not the only "systemd refugee" here.
  16. bthomson

    Nearline storage?

    I spent a week researching this a couple years ago, but gave up and went to a 2-server solution. My requirements were a bit different from yours, though: it had to be FreeBSD-based and I wanted to minimize power consumption of the always-online system. With FreeBSD I could suspend the unused...
  17. bthomson

    Out of space

    Might be relevant here to point out that when a zpool is almost full, the allocation algorithm changes from first fit to best fit, causing additional write performance loss. I think the cutoff is 96% full in recent FreeBSDs. I believe it used to be 70% or 80%. It was probably changed to improve...
  18. bthomson

    Benchmark results: 20 TB RAID-Z3

    I have observed the same thing on 9.1-RELEASE with UFS-on-ZVOL. There are some parameters that could be tweaked, such as the block size of the ZVOL vs the block size of the UFS volume, whether the zpools do sync or async writes (sync parameter), etc. Another interesting question would be...
  19. bthomson

    Geli and ZFS

    I do not think this will work: currently creating a zpool on a ZVOL does not seem to be supported. Apparently it works fine in Solaris but currently doesn't work in FreeBSD. Having geli as an intermediate layer between the ZVOL and the zpool might let it work, but I'm doubtful.
  20. bthomson

    Can I attach a zvol to mirror?

    Still not working in 9.1-RELEASE. A similar thing that does work is to create a zpool from normal files on a ZFS dataset (see this blog). Unfortunately the performance was really bad. I got about 3 MB/s sequential write on a 260 MB/s pool. Mucking about with the checksum and sync parameters may...
Back
Top