Edward Berger found that using a LG/Hitachi DVD drive kept him from successfully booting a DragonFly install CD. Using other manufacturers worked out fine. What causes the problem? I don’t know, but it’s worth mentioning it out loud in case someone else gets bit by it.
Category: Device support
Setting up a DragonFly wireless access point
What if you have a DragonFly system that you want to use for an wireless access point? Andrey N. Oktyabrski did, and he helpfully listed his solution.
Things that have been updated
I need to catch up on some older stuff, so here is a longer list of recent updates: libarchive to 3.0.2, xz to 5.0.3, mfi(4) and mfiutil(8) (LSI MegaRAID driver) updated, ATI SB7x0/SB8x0/SB9x0 AHCI devices (on motherboards I assume) updated, and the PHY ID for the Atheros F1 added. Thanks to everyone who did the work! I bet I missed something.
Better MSI support
That’s Managed System Interrupts, for when your hardware is passing a lot of data and generating a lot of corresponding hardware interrupts. MSI is what deals with all that traffic. High-bandwidth (10G) network cards, for instance. Anyway, Sepherosa Ziehau’s made more commits than what I’m linking to here, for support with various devices.
There’s many other MSIs out there, oddly enough.
New ECC device
Sepherosa Ziehau has added updated the ‘ecc’ device, for Intel E3-1200 series systems. What’s it do? It will report on memory errors, and potentially fix them.
You should have ECC memory in your server already. If not, you oughta.
Update: as Sascha Wildner pointed out, ecc(4) already existed, but didn’t support Intel controllers. Also, the Xeon X3400 series is supported now too.
Remember rcrun?
I think a lot of people don’t realize rcrun exists, and run files in /etc/rc.d directly. If you’re one of those people, read the rcrun(8) manpage. Then, notice that Sascha Wildner has extended rcrun to work with the etc/rc.d in /usr/local and /usr/pkg too.
Video and USB fix
Matthew Dillon has written a contiguous memory mapper, which is designed to fix problems with video cards and USB drives that need a big chunk of memory to keep. This can affect booting or later on, when disconnecting/reconnecting a USB drive. If this still doesn’t fix the problem for you, try adjusting the sysctl ‘vm.dma_reserved’ to something bigger, like 64M. It defaults to 16M.
(Normal mailarchive isn’t updating because of an ongoing upgrade to crater.dragonflybsd.org – sorry!)
Do you have a Geode? Well, good news!
John Marino added tuning support within GCC 4.4 for the Geode CPU. Waaaay back when, these were x86 -compatible Cyrix chips. Nowadays I think they are most common in single-board computers.
Lazy Reading for 2011/10/30
It’s snowing in the northeast U.S., which makes me happy! Keep going, sky!
- Richard Stallman’s requirements when giving talks/lectures. (via) I read this not unreasonable but long list and thought about it. Every requirement on there probably has an experience/story behind it… (“If you can find a host for me that has a friendly parrot, I will be very very glad.” – so this)
- Continuing the famous computer people trend of dying, John McCarthy died. He invented LISP (((insert parentheses joke here))) among other things, and wrote this story. (also via)
- I mentioned issues over the time zone database previously, but there’s a new home, and we’re still getting updates in DragonFly.
- And, it’s Dennis Ritchie Day. (via) That linked article does a good job of describing just how universal his influence has been.
- 64-bit ARM chips. (design PDF) This is just the announcement, but I bet these will be a good porting target in the next year or two if these designs wander out into the general market. (via many places)
- I’ve linked to similar deals before, but this one’s quite cheap: the Power Squid power strip sold as surplus. I find the design and name both great.
- Speaking of names, “I think Dragonfly is the coolest, cuz of the name.“
- I like this article on web advertising just because it has blocked-out screenshots that show exactly how much space gets used up by ads.
Unrelated link of the week: Manly Guys Doing Manly Things. Most of the jokes revolve around games you may or may not know, with the occasional realistic experience that I’ve had myself.
Got an r600-based video card?
That would be a recent ATI card, though I don’t know exactly which model name. Samuel Greear has imported David Shao’s DRM work, originally for Summer of Code, last year. Most newer Radeons should work (?).
MMC/SD cards now automatically supported
I did not realize this, but MMC/SD cards are not supported in the default DragonFly kernel. Or at least, they weren’t until now. (also committed to 2.12)
Update: PCI-based MMC/SD readers, specifically. USB ones were already recognized as umass devices.
Per-CPU hardware resources
It looks like Sepherosa Ziehau is working on hardware support being split up per-CPU, judging by this commit – one of many, recently.
GEM/KMS warning
Some newer laptops have Intel integrated video chipsets that require GEM/KMS to work well; they are supported by the vesa driver in X, but performance isn’t great. Johannes Hofmann found this out the hard way. GEM/KMS support is on the way for various BSDs, but it’s not here yet. Just be aware of this if shopping for a new laptop in the next little while…
TRIM arrives for DragonFly
Tim Bisson’s work on TRIM support has been committed. I don’t know if it will show in 2.12, but it’s off by default so it would seem a safe move.
Update for ndis(4)
Sascha Wildner has updated ndis(4), the wrapper that makes Windows network drivers usable on DragonFly, with an extensive description of what’s changed.
Try x86_64 again
If DragonFly/x86_64 fails to install on your system, but DragonFly/i386 works, try again. Sepherosa Ziehau has a fix for the keyboard controller that may make x86_64 systems boot DragonFly when previously they did not.
New patches for TRIM support
Tim Bisson has posted a new batch of patches putting TRIM support into DragonFly. He has a graph in there too!
New HighPoint RocketRAID support
If you have a HighPoint RocketRAID 4321 or 4322 model, Sascha Wildner’s just added support for them in the hptiop(4) driver, taken from FreeBSD.
A bounty for rum(4)
It sounds like I’m about to mention something pirate-themed, doesn’t it? Brendan Kosowski needs the rum(4) driver, for (I think) Ralink RT2501USB and RT2601USB wireless. He’s willing to offer a bounty of $100 to anyone who can get it working before the next DragonFly release. Work on it if you can port, or add money if you can use it.
More network hardware changes: Broadcom
Sepherosa Ziehau continues his relentless network feature improvement/porting: this time, adding the ability for DragonFly to recognize more varieties of Broadcom hardware.
More msk(4) modification
Sepherosa Ziehau has been making a lot more changes to the msk(4) driver for Marvell Ethernet chipsets. I link to this commit adding support for Yukon Supreme cards, but there’s a great deal of work from him, recently added.
LSI driver updates
Sascha Wildner has committed version 3.981 of the mfi(4) driver, for a variety of LSI MegaRAID SAS 92XX devices. Read the commit message for details on the model numbers.
More Marvell support
Sepherosa Ziehau has added support for a wider range of Marvell network interfaces; specifically the chips on board, not just card models. If you’ve got the right chips but they aren’t working for you, you know what to do.
Various old ISA drivers gone
17 different ISA device drivers have been removed by Sascha Wildner. The commit message has device descriptions. This may mean you need to change your kernel configuration file on the next buildkernel, since some of them were in the GENERIC kernel. If you need any of them, speak up. (I don’t think I’ve ever used any of them. Oh darn.)
More Broadcom support
Thanks to Michael Neumann, there’s more supported Broadcom network card chipsets. There’s some wierdness in setup, though, so look at his commit message.
Tim and TRIM
Tim Bisson has another status report on supporting TRIM in DragonFly. It supports UFS and Hammer slices, and trimming swap too. I’m not sure what else could be done; that sounds pretty complete to me… In any case, if you have a SSD, his code is available to try right now.
Smartphone driver
If you happen to use a LG P-500 smartphone to get online via USB, as ‘Romick’ does, he’s got a patch that makes that device work under DragonFly. (Sorry, the original users@ email seems to have gone missing.)
More benchmarks, graphs
Francois Tigeot has repeated his benchmarking, this time changing out the CPU instead of the operating system. There’s still more graphs, yay!
Blogbench and Areca RAID tests
Francois Tigeot tested a system under both FreeBSD and DragonFly using various RAID setups with arcmsr(4) and blogbench. Hooray for graphs! Like any good benchmark, it quickly went to discussion of how the test was conducted and how the various runs differ. (Follow the thread.)
bce(4) firmware update
Sepherosa Ziehau has a firmware update for bce(4) (Broadcom NetXtreme II) cards. He’s been doing a lot more incidental network hardware updates I haven’t linked; thanks, Sephe!
Intel networking updates
Sepherosa Ziehau has been committing a bunch of changes for em/emx(4) and bce(4). You may have hardware that has suddenly become supported, for instance. Also, credit is due to David Christensen and Broadcom for sending hardware to test out.
Instructions for iwi(4)
Do you have a Intel PRO/Wireless 2200BG, 2225BG, or 2915ABG wireless card? The driver is iwi(4). It requires a kernel module and some downloadable firmware, which makes it slightly more troublesome to set up. Luckily, ‘ferz’ has written up just how to get it working.
Who’s listening?
Do you have a DragonFly workstation? That you play audio on? Do you have headphones hooked up? Is it using Intel High Definition Audio? (snd_hda) Does connecting the headphones disable the system speaker?
You can probably guess exactly what I’m trying to troubleshoot given the above questions.
Two SSD things
Here’s two items I meant to post and for some reason did not:
- Sven Gaerner posted a short description of how he migrated his DragonFly system from a hard disk to a SSD. This may be useful for anyone considering a move. Decent-sized SSDs are reaching low prices these days.
- Tim Bisson posted an update on his work on TRIM support for DragonFly. The code is available now if you’re feeling lucky.
Say hello to LAPIC and IOAPIC, single processor
Sepherosa Ziehau’s made it possible for uniprocessor kernels to use the LAPIC and IOAPIC functions on x86_64, which means better timer support, less need to fiddle with configs, and more supported hardware. A win all around! Set hw.lapic_enable=”0″ if there’s trouble. The same changes for i386 are on the way.
Getting started with disk encryption
I haven’t covered recent disk encryption work evenly, here, so I’ll point at a recent discussion instead. Alex Hornung mentioned a cryptsetup(8) man page that may help, as does any dm-crypt tutorial out there on the Internet. (DragonFly has the same userland tools.) The DragonFly installer will create encrypted disks at install time, too.
IOAPIC all the time
The I/O APIC is now always on unless you say otherwise. This may not make a clear difference to you, but enabling that kernel option has always been a somewhat iffy thing; working for some configurations and not others. Now, it’s one less thing to worry about.
SMP kernels all the time
I posted something about this before, but now it’s definite: bleeding-edge users of DragonFly can boot a multiprocessor kernel on a single-processor machine.
NICs and how to go through them all
If you’ve ever wanted to really make sure of all the network interfaces supported on your DragonFly system, you can create an exhaustive (and exhausting) list.
NVIDIA card driver update
Samuel Greear has a totally untested update to the NVIDIA video driver available. It may not work, but it’s not like that’ll be any different than the current state of the driver.
A start on TRIM support
Tim Bisson has inital TRIM support working for UFS. His lengthy posting talks about how it’s done, and shows how much it speeds things up. He’s looking for testers, so please try it if you have a SSD. (The usual warnings apply about testing code that specifically deletes things.)
For those not familiar with TRIM in SSD context, here’s the least annoying page with an explanation that I could find in a few seconds of Googling.
RAID and what to buy
Francois Tigeot did some testing of various hardware RAID adapters (Areca, LSI, 3ware, and Adaptec) in DragonFly, and reported thoroughly on each. This may come as no surprise, but it sounds like Areca adapters are worth the money.
Update: There’s an updated mpt(4) driver, and the performance issues are fixed by enabling write caching.
Hardware suggestions:Supermicro
To go along with the recently-added suggested hardware page on the DragonFly website, Francois Tigeot puts in a good word for SuperMicro boards and DragonFly, and links to some good hardware combinations.
Printing and USB a little bit more possible
If you have a USB printer, you may not have been able to print since the kqueue changes came in for… DragonFly 2.8? Anyway, Matthew Dillon’s made some changes to ulpt(4) that means USB and kqueue play nicely together.
Quad port network card support
Hey, it rhymes! Matthew Dillon’s added support for 4-port Gigabit Ethernet PCI-E cards from Intel. I wish I had one.
Swapcache updates, long-term status
Matthew Dillon made some changes to swapcache(8). Swapcache is now able to cache a lot more data, and the result is that general disk performance for _all_ disks is accelerated by an included SSD using swapcache. Performance previously restricted to all-SSD systems or serious RAID setups is now possible with much less investment.
In addition to that, the long-term wear on the SSD appears to be less of a problem than expected.
Virtual disk simplification
Chris Turner is looking to implement something similar to OpenBSD’s mount_vnd(8) operation, where virtual disks can be mounted at boot. He talks about some of the work and ideas at length. If you don’t feel like reading about it, you can instead mess with it; he has a tarball of the current state of his work linked in his message.
Pardon my interrupt
APIC support has been updated, so not only will some machines work better/at all with a multiprocessor kernel, more machines will boot. Not only that, but Sepherosa Ziehau has a newer version of ACPI and interrupt routing available. This is wonderful news! We’ve needed this update for some time.
Do you have wifi? See Joe Talbott
Joe Talbott has some changes for both Intel and non-Intel wifi NICs; please try out his branch and report the results.
Meteor(4) fizzles out
Sascha Wildner’s removed the meteor(4) code because it apparently no longer builds, and it’s unlikely anyone uses an actual video board that requires this driver, at this point. If you do, speak up.
VirtIO-net drivers disappear
The virtio network drivers for DragonFly (mentioned previously here, here, and here) went away. Apparently the original FreeBSD code was not supposed to be available publicly, under a BSD license, and it’s having a knock-on effect for DragonFly and probably NetBSD.
(virtio drivers, if this is an unfamiliar term, are for devices in virtual environments, as when DragonFly is running under VMWare or something similar.)
WD disk notes
Do you have a Western Digital model 1021 external disk drive? Matthias Rampke does, and he found he had to make some USB quirk entries to get it to work reliably.
Lazy Reading
I’m going to just title these “Lazy Reading” – I end up with too much diverse information/links to fit within the title.
- Neal Stephenson’s thoughts on UNIX. (via)
- Also stolen from the same place: A comparison of text-based browsers.
- Have I mentioned clicky keyboards before? (yes) If you’re a fan of the IBM Model M-style buckling spring keyboard, this Apple keyboard review has links in the comments to clickykeyboards.com and pckeyboards.com, which both have options that may interest you. I’ve only linked one of those before.
- Robot orders coffee. (Youtube, via) The interesting part is that it’s relatively humdrum.
- Modern Perl is now available (free) in ePub format, in addition to PDF. I’ve been reading it; it’s a refreshingly straightforward book.
- It’s always nice to see DragonFly ideas spread.
- You may have heard of Debian GNU/kFreeBSD, the incredibly-awkwardly-named Linux kernel with FreeBSD userland FreeBSD kernel and GNU userland. (How did I manage to reverse that?) Did you know there’s a blend of Linux and NetBSD called SSDLinux? (via) It’s sold on commercial products! I know nothing of it past that link. Come to think of BSD mixes, there’s also that XNU/FreeBSD/NetBSD mix…
- Your DragonFly Pro Tip for the day: always use serial numbers to ID your disks. You’ll be glad you did.
- Git as a backup disk index mechanism. Strange. Git for mail storage, too. (via)
New virtio stats
Tim Bisson posted new network tests contrasting the virtio driver against emulated re(4) in virtual environments. Previously, the virtio driver performed worse, but a more developed test suite seems to deliver more positive results.
tws(4) added
Sascha Wildner is continuing his huge driver-adding streak, this time with tws(4). It’s a port of the FreeBSD driver, for “LSI 3ware 9750 series SATA/SAS RAID controllers”. The commit message has a list of individual models, and further credits.
Burncd comes back
Sascha Wildner re-added burncd(8); it still works for some people. As Matthew Dillon pointed out, cdrecord is probably the better long-term bet.
aac(4) update
Sascha Wildner continues the driver update streak, bringing in the updated FreeBSD version of the aac(4) driver. This adds support for 40+ Adaptec AdvancedRAID cards – the aac(4) man page has a very long list.
re(4) support expanded
Tim Bisson put together support for the RealTek 8168E network card, under the re(4) driver. It’s in DragonFly now.
No more EISA
Another bus bites the dust: EISA is no more on DragonFly. I don’t know if there’s even any system that DragonFly could boot on and would use this. Still, remove your hats and enjoy a moment of silence.
LSI Fusion-MPT 2 SAS controller support
Sascha Wildner has continued his driver-adding run, bringing in mps(4). This supports various LSI Logic SAS controllers, taken from FreeBSD. Support isn’t complete or tested, but it’s enough to start with.
Virtio driver progress
Tim Bisson posted a note on the progress he and Pratyush have made on a virtio driver for DragonFly, ported from NetBSD. This is for use in virtualized environments; his post links to graphs (yay!) that show the performance improvement over emulated IDE. His note also links to the code and documentation.
Miscellaneous 48-core details
As Matthew Dillon works on supporting his new 48-core system, he’s written some notes on power usage and scheduling/drivers that may be worth a read.
Thanks, JMicron
Sepherosa Ziehau fixed a clock issue with the JMicron JMC250/JMC260 chipset, used with the jme(4) driver, and apparently JMicron helped out with hardware for testing this fix. So, thanks, Sephe, and thanks, JMicron! (buy their stuff)
Watch out for scheduler changes
Bleeding-edge DragonFly may suffer some instability issues; Matthew Dillon is making scheduler changes to accomodate larger numbers of CPUs. On the other hand: yay, better performance!
Horrible accident and other errors
Tim Darby had an error with a particular AMD AHCI chipset, and the entertaining error was:
Attempting to reinitialize the port after it had a horrible accident
This gives me a chance to link to one of my favorite error messages ever.
(The chipset works in current DragonFly, by the way.)
24 spare CPUs, anyone?
Matthew Dillon has made it possible to boot DragonFly on 24-CPU systems. Also, we’re currently limited to 32G of RAM. Oh, to have such limitations; I was considering myself lucky to have 4 CPUs.
Swapcache benefits
Tim Darby was looking to take advantage of swapcache, and got some advice from Matthew Dillon. This led to a larger writeup that went into the mechanics and advantages of both swapcache and SSDs. The swapcache(8) page has been expanded with these notes, and I’m sure I need to buy a SSD for my next upgrade.
SSD devices have tumbled into the sub-$100 range for smaller devices; they are perfect for swapcache if you’ve got the spare SATA connector…
amr(4) update
Sascha Wildner has added even more RAID controller support, from FreeBSD, this time in improvements to the amr(4) driver. Check the green lines in this man page diff to see what’s new.
mfi(4) and mfiutil(8) added
Sascha Wildner has brought in the mfi(4) and mfiutil(8) drivers from FreeBSD, adding support for a number of different RAID controllers – including the Dell PERC 5 and PERC 6.
Better AMD chipset support
Matthew Dillon’s made several changes to improve support for AMD SB850 chipsets (for AHCI) and also for 880/890 chipsets. If you have one of these systems, it may be bootable/more reliable. Don’t start messing with the hot-plug capability yet, though.
A Dell laptop fix
Naoya Sugioka had trouble booting DragonFly on his Dell M4400. He updated ACPICA with this patch, and was able to boot. I link to it in case someone else with a recent Dell model (or perhaps just a laptop with the same chipset?) has the same issues.
ral(4) support on the way
Chris Turner is working on ral(4) support, specifically the eee901′s 2860 network chip.
How to run jackd
Chris Turner posted details of how he gets jack (“a low-latency audio server”) to run on DragonFly. Your mileage may vary.