Apparently the recently committed support for Areca RAID cards came with some help directly from Areca, facilitated by Venkatesh Srinivas. Perhaps next time you’re searching for a RAID card, consider Areca in light of the effort they are willing to contribute for an open-source project…
Category: Device support
arcmsr(4) added
Sascha Wildner has brought in arcmsr(4), an Areca RAID controller driver. Please try it if you have the right hardware.
iwn(4) support updated
Among other things, Joe Talbott has brought in support for the 6000 and 6050 series of iwn(4) wifi devices.
twa(4) updated
Sascha Wildner has pulled in a bunch of updates for twa(4), adding more devices for this SATA RAID device driver. There’s a list of what’s supported now on the man page.
iwn(4) support added
Joe Talbott’s ported over iwn(4), which is the “driver for Intel 1000, 5100, 5150, and 6000 wifi chipsets.”
HEADS UP: ehci.ko is always there
EHCI support is now always on, for 2.7 users, and will be for 2.8 when released. It’s possible to turn it off if it causes a problem, but it should generally just mean better USB performance.
Messylaneous – Unixy articles, clang, pkgsrc projects, more
- IBM’s developerWorks has an article up about GNU screen. It’s not BSD-specific, but the tips in using screen are useful. (Before someone brings it up: yes, tmux too.)
- Another article talks about inspecting network traffic using various tools including tcpdump and wireshark. It is a tremendous advantage to see what happens on a network at the most basic level, so this is a good skill to pick up.
- Oh, and “Setting up UNIX file systems” and “10 steps to Unix nirvana“.
- FreeBSD now ships with clang. (via) I know DragonFly (mostly?) works with clang… Could we switch?
- “hwstat” will gain DragonFly support soon.
- Firmware for ral(4) has been added by Joe Talbott.
- Thomas Klausner has a writeup of some project ideas or goals taken from the recent pkgsrcCon. A followup has me thinking: if the -uu option updates dependent packages with pkg_add, does that mean ‘pkg_radd -uu packagename” will do all updating possible based on available binary packages? Worth trying.
How to get more wireless drivers
Joe Talbott wants to write DragonFly/BSD drivers for a whole slew of wireless devices. These are also all the adapters he doesn’t physically have. You can fix this by purchasing something off that page, which will ship right to him. A bwi(4) driver is next, for instance.
Last-ditch disk effort
YONETANI Tomokazu pointed out something that could be useful in the future: when you start getting drive errors, before you throw it out, try lowering the speed. Maybe it’s a cable problem, if you’re lucky.
mptutil(8) brought in
And the torrent of new activity continues: Alexander Polakov has imported FreeBSD’s mptutil(8), good for managing LSI Fusion-MPT controllers.
Tip for ath(4) users
In this recent note about the new wireless driver framework, Rui Paolo noted how to add a ath(4) device as wlan0 automatically.
Even more new things: multimedia card support
Sascha Wildner has ported MultiMedia Card support from FreeBSD; SD, SDHC, and MMC cards should work in DragonFly now. Man, there’s been a lot of new additions recently.
All-new network drivers
Rui Paulo’s work porting the current set of FreeBSD network drivers over to DragonFly has been committed; there’s about a zillion commits (via Matthew Dillon) today to show for it.
New wireless drivers going into 2.7
Rui Paulo’s work on wireless drivers will be entering 2.7 very soon. (2.6 is unaffected.) This will cause problems if you are running acx(4), bwi(4), iwi(4), iwl(4), rtw(4), rum(4), or ural(4), until someone writes a driver that matches the new framework. If you’re on 2.7 and you need these drivers working, hold off on updates for a bit…
Hooray for DRM work and for testing
David Shao is working on improving DragonFly’s DRM (kernel graphics drivers, not that other thing). That’s a good project to start, and also Antonio Huete Jimenez is willing to test it. We can always use more guinea pigs; if you want to contribute to DragonFly without writing code, testing someone’s dramatic changes is a big help.
SSD sale at Newegg
Newegg is having a big SSD sale; I’m repasting the email with models and prices here. Use it for swapcache! There’s also a promo page with fancy images.
More I/O scheduling tools
Alex Hornung posted a followup about his I/O scheduler work, with some interesting ways to watch the state of your disk’s activity.
Flash works too!
Thanks to work from Samuel J. Greear and Alex Hornung:
- Install Firefox (natively)
- libflashsupport and adobe-flash-plugin
- mount linprocfs
- null mount devfs within the linux system
There’s occasional video and audio sync problems, but Johannes Hofmann has already found a fix.
A fan control narrative
Constantine Aleksandrovich Murenin posted his work on fan control, involving Winbond Super I/O Hardware Monitors. He’s had a series of commits up to this point, and this message nicely sums up the work done, including the presentations for it at BSDCan last year and AsiaBSDCon this year. Even if you aren’t planning to adjust your system cooling, it’s a surprisingly in-depth writeup, with more details available.
Some specials: SSDs, port multipliers
Newegg is running some specials: a 64G Kingston SSD for $140, a 256G (yikes!) Crucial SSD for $660, and a Sans Digital port multiplier for $110. The SSDs are good for using swapcache(8), though 256G is probably overkill. Doesn’t make me want it less, though…
The port multiplier’s SiI3726 chipset might be supported, or potentially supported, by the sili(4) driver. Someone have $110 to spare to try this out?
Vinum root mounts possible again
As if Alex Horning wasn’t busy enough with his Linuxulator update, he’s also made it possible to have a vinum root volume in conjunction with using devfs.
Another power solution
“Device initiated power management” via AHCI is now possible, thanks to Johannes Hofmann. If I understand it correctly, it lets the computer handle power reductions automatically, which is more efficient than setting by hand.
em(4), igb(4) port added
Michael Neumann has added his port of the e1000 driver from FreeBSD, though he doesn’t recommend using it yet. He’s looking for testers who have this hardware.
aps(4) also added
Constantine A. Murenin has committed support for aps(4). This supports various sensors for disk and mouse activity, and even acceleration sensors.
igb(4), em(4) testers needed
Michael Neumann has ported igb(4) and em(4), and he needs people with the corresponding hardware to test it. Those are network cards, if you aren’t familiar with those short names.
IGD support added
Matthew Dillon’s added support for IGD chipsets, found in various N450-based netbooks. It was tested on a Gateway LT2104u, for instance. I didn’t realize there still were Gateway computers.
Cheap SSD at Newegg, today
For those of you wanting to try swapcache: Newegg is running a deal today: 30G OCZ SSD for $90. That’s after a mail-in rebate, though.
Disklabel goes 64
The disklabel64 program will permanently be ‘disklabel’ from now on, with the original disklabel sticking around as disklabel32. This is for a number of reasons, including 4k physical sector size in newer drives, which is still causing problems for other operating systems.
Bizarre boot issue
Matthew Dillon fixed a strange error on boot that had been plaguing some systems. The problem appears to be some sort of timing issue related to SMP and to other factors as strange as which USB port was being used. The commit message has more details.
A week’s worth of posts for you
I can’t keep up with all the things to post. I desperately want to clear my inbox, so here’s a week’s worth of posts all smushed together. Enjoy!
- Naoya Sugioka’s tmpfs work is almost ready to go.
- Francois Tigeot is looking to find supported RAID hardware for DragonFly; the LSI1068e isn’t useable. Freddie Cash listed a number of different and fully supported cards, and Francois listed some other potential choices.
- While talking about hardware, Steve O’Hara-Smith reported excellent results with a particular Atom 330-based board and DragonFly.
- Stathis Kamperis has added to ‘hammer snapls’ output; an example is in his submit@message.
- The 2.6 release of DragonFly, scheduled for March, will have version 4 of HAMMER. 2.4 has version 2. Upgrading from version 2 to 4 can happen in place, live, and only needs to happen once per volume, not per PFS. That’s about as easy as it gets. More details are available.
- The default sshd config has been updated; this shouldn’t affect your normal operations unless you’re using one of the mentioned options.
- Oliver Fromme linked to more discussion of SSD durability.
- Also, Matthew Dillon posted more notes and benchmark numbers for his swapcache work. There’s been some side benefits too. A man page for swapcache is now available.
- Aggelos Economopoulos’s libevtr has been added, for event tracing. He’s posted some additional notes on this work-in-progress.
- We now have /var/log/daemon, too.
- Notes on prepping for Google Summer of Code 2010 from the GSOC Discussion list; I don’t know if that link is readable for nonsubscribers.
- The Definitive Guide to PC-BSD is out at the end of this short month. Dru writes good books.
- Did you know FreeCiv (a Civilization clone, of sorts) is playable in a web browser? Goodbye free time! Details are available at my favoritest game site.
Phew.
New wpa_supplicant, hostapd to test
Jan Lentfer has updated wpa_supplicant and hostapd, and while there’s already some postive reports, he’d like more testing in the wild. Give it a run if you’re already using the prior version.
Cache-data-as-swap project started
Matthew Dillon is setting up DragonFly to be able to use a fast disk (like a SSD) for disk cache, reducing the effect swap has on speed. This means very large amounts of data could be read into memory – greater than the available RAM in the system – without having the normal paging out problems that happen when memory is exhausted. It’ll work for any filesystem on the machine – HAMMER, UFS, or NFS. His inital notes have more. Other notes include details on the NFS benefits, and possibilities with SSDs. Wear-leveling may make SSDs last much longer.
Work has started, and there’s an update (with examples) that people can try, though it may destroy all your data at this point. Test results in that update show, if I’m reading it right, a better than doubling of speed on a repeated md5 test on a large file when using the new caching system. This should be a huge benefit.
SiI 3124 support added
Thanks to some work by Tim Darby, the SiI 3124 SATA controller is now supported. This, like other SiI devices, should be able to handle hotplugging…
Hammer REDO and other storage notes
Matthew Dillon declared his intention to have REDO working for Hammer very soon. This will improve speed by lowering the number of fsync()s needed in a given period of time to flush data to disk.
He continues in a separate message talking at length about data flushing and how to implement it efficiently, with some comparisons to work in FreeBSD. The followups are worth reading, too.
Crypto testing needed
Jan Lentfer needs someone with cryptographic hardware that isn’t padlock (e.g. not VIA) to test his recent OpenSSL upgrade. Do you have hardware that matches? Please help.
vr(4) driver fixup
Jan Lentfer noticed a lot of errors with his vr(4) card under load. Matthew Dillon suggested some reasons/fixes, and then made a commit that may fix it. Please test if you have an older Rhine card.
4k disk sector support
Newer disks are moving to 4KB sectors (more info), instead of the 512-byte sectors that have been in use for… decades? There’s been some recent discussion on how to support this, for booting DragonFly. It should otherwise work.
USB work on the way
Several people really want a USB update, even offering a bounty. Alexander Polakov has volunteered himself for it – a large but worthwhile task. It’ll be the USB4BSD code, as Alex Hornung recommends.
hotplugd added
Alexander Polakov has imported OpenBSD’s hotplugd(8). It monitors for hotplug-style events, like disk additions and removals, and executes corresponding scripts to handles those events.
First step to linuxulator improvement
Alex Hornung pointed out that getting the Linux Test Project to work on DragonFly (using the linuxulator) would be a very helpful step in that same Linux emulation. Running the LTP does not require programming skills, incidentally.
Using NVIDIA on DragonFly
This has been around for a while, but I’m re-mentioning it because it’s not really linked anywhere: Simon ‘corecode’ Schubert has a version of the FreeBSD NVIDIA video driver that should work on DragonFly: http://gitweb.dragonflybsd.org/~corecode/nvidia.git. It should be possible to clone from that link, build the code, and use it. (Untested by me – if you’ve done it, some explicit instructions would be helpful to others.)
ACPI update soon
Alexander Polakov has a further update for his new ACPI code. He now even provides a DragonFly ISO image and USB image so that a new system can be installed for testing. There’s already one positive report. It will probably go in this weekend.
AHCI + DVD fix
If you’ve previously had problems in DragonFly with AHCI and a DVD drive, there’s a potential fix available.
ACPI update, with questions
Alexander Polakov is putting together an update for the complex beast that is ACPI, but he has two questions that need an answer, about locking and APICs. Please help if you know something about it, as an up-to-date ACPI helps everyone.
Teeny notebooks
With some recent reports of people running DragonFly on Eee 900 and Acer Aspire netbook models, here’s a link to a recent O’Reilly column that links to a whole bunch of different netbook vendors. If you have some spare cash and an urge for a netbook, try DragonFly on one and report back…
estd update, new hardware support
Johannes Hofmann has taken over estd, a “frequency scaling daemon for NetBSD and DragonFly”. The newest release brings multicore support on DragonFly.
Acer Aspire One hints
Do you have an Acer Aspire One D150 and you want DragonFly to work on it? Alexander Polakov has one something similar, and he got it to boot. Sound and wireless networking works too.
Another laptop
Sdävtaker has reported success booting DragonFly on a Clevo TN120R, which is almost more of a tablet/nettop than a laptop.
Surprise! Soekris 5501
Alex Hornung has added support for a bunch of hardware to enable a Soekris 5501 to run DragonFly. We now have a watchdog and gpio framework as a side effect.
NVIDIA on DragonFly
It’s been mentioned before, but it’s moved: Simon ‘corecode’ Schubert has a version of the FreeBSD NVIDIA graphics driver that works on DragonFly.
ASUS hardware monitoring
Do you have a recent ASUS system? Constantine Murenin has a patch for you, for hardware monitoring.
Dual display choices
If you’re setting up a DragonFly workstation, and you want to use two monitors, here are some suggestions on what video card to use.
Test images for amd64
If you were bit by the bug where the 64-bit version of DragonFly wouldn’t boot from CD/DVD on your system, Matthew Dillon has some test images of DragonFly 2.4 for testing. Please use and report if it was successful.
ACPI, umass fix for amd64
If you’re running DragonFly 2.4 on amd64, you may have noticed trouble with USB drives or separate issues with ACPI. Both seem to be fixed by the same commit. It’s been merged to the 2.4 branch, so updating on that branch will get the fixes without moving to 2.5.
kbdmux added
Alex Hornung has ported FreeBSD’s kbdmux, making it possible to run multiple keyboards. This can help if a system has a built-in virtual keyboard, as some newer HPs do.
Running too fast? This will help
If you’re running 10G Ethernet, Matthew Dillon’s turned on the inflight limiter by default, which should help keep your system from being overwhelmed if it’s not handling the greater volume of packets. If you’re not running 10G Ethernet, this shouldn’t affect you. If only we all could be so lucky.
Disk monitoring improvements
Alex Hornung has added support for ATA command passthrough. As a pleasant side effect, smartmontools works with AHCI again.
Laptop users, please speak up
Are you running DragonFly on a laptop system? Please mention the brand and model number on the appropriate page on the DragonFly website. (Also: Laptop tips and tricks, thanks to Alexander Polakov)
HP server testing
There’s some new HP server hardware out there, and Hasso Tepper found some problems (and lists some potential solutions) with installing DragonFly, mostly centered around keyboard handling. It sounds like NetBSD’s keyboard mux may solve it for us, if someone’s willing to add it…
Unix98 ptys and devfs
Alex Hornung has posted a summary of what Unix98 pty devices are, and how they are supported under DevFS. If something screwy happens, there’s even a debug option to turn on.
Attaching drives by serial number: HOWTO
The 2.4 release will attach disk drives by serial number. Matthew Dillon’s written up a quick HOWTO that describes how to use it. The interesting effect, as he notes, is that a drive can be attached in almost any way – a firewire enclosure, directly to the motherboard, through a card, etc. – and the machine will still happily boot without any changes needed.
Hammer speedups
Matthew Dillon’s made some changes to Hammer that make performance during mixed operations (reading and writing requests at the same time) much faster. This should work for everyone, though AHCI/SILI/SCSI users will notice it more. The new writing system is called ‘BIOQ‘.
MPT updated
The mpt(4) driver has been updated, thanks to Alexander Polakov. This is useful for anyone using LSI Logic hardware for fibre channel disks, for instance.
Vinum and devfs play together nicely
Vinum’s been changed to work with devfs, with the advantage that drive labels instead of device paths can now be used. There’s some caveats – read the message for details.
Much more swap space available
The amount of swap space usable under DragonFly has gone to a theoretical max of 4 terabytes. The practical limit is probably around 512 gigabytes. As Matthew Dillon writes, this could be interesting when paired with SSDs.
Serial number details
There’s some more explanations of how disk serial number support is working from Matthew Dillon, plus a warning that a full kernel/world rebuild is needed because of these changes.
If I’m reading it right, serial number support, combined with a dynamic /dev, makes it possible to identify a disk by serial number, assign a name to it, and then refer to that disk directly by name in places like /etc/fstab. Much, much easier than remembering /dev/ad0c or /dev/ad1a, and so on.
Serial number support for devices
Preliminary serial number support for drive identification has been added to DragonFly, with /dev/serno listing the appropriate devices and numbers.
DevFS arrives
DevFS has been added. There’s some issues, each with a workaround. Please test, as it’s certain that a major change like this will cause new problems around video and sound. Once those are fixed, however, device management will be a lot easier.
Support for mxge(4) and 10G
DragonFly has its first 10G network driver, mxge(4), for the Myricom Myri10GE. Aggelos Economopoulos ported it from FreeBSD. Check his post for notes and credits for the people who helped out.
ae(4) support added
Alexander Polakov has ported the ae(4) network driver from FreeBSD to DragonFly; it’s committed now. This device is common in some (many?) Asus Eee devices.
AHCI disk renaming reminder
Dennis Melentyev was trying out AHCI support, and as part of that process, Matthew Dillon described the steps needed to deal with disk renaming issues that can come from a NATA -> AHCI switch. This isn’t needed for most people right now, but I wanted to link to it just in case someone hits that moment of panic.
AHCI update, testing
Matthew Dillon fixed a problem with AHCI on July 2nd. If you are running AHCI from before that date with a port multiplier, you may want to update. Further tests have completed without issues.
New installation option
Sascha Wildner has added an option to the installer to create a UFS boot and Hammer volume as an install disk, in addition to the all-Hammer and all-UFS options already available. Programs expecting the booting kernel to be on UFS will be able to find it, but users still get the benefits of Hammer.
Updated: It replaces the all-Hammer option. Thanks for the correction, Sascha!
New keyboard layout possible
I’ve heard of Dvorak keyboard layouts, but I didn’t know there’s another, called Colemak. Sascha Wildner has committed a patch from Geert Hendrickx which makes Colemak layouts available on DragonFly.
Disks done differently
Matthew Dillon has changed the way USB flash drives are attached, to make sure they don’t interfere with AHCI-attached disks. This is temporary, and will be replaced by a dynamic /dev.