TWS(4)
β¨ TWS(4) β¨ β the 3ware 9750 SATA+SAS 6Gb/s RAID controller card driver, bestie π
okay so this is a page from the Kernel Interfaces Manual and it's literally all about a RAID driver. strap in. π
πΈ NAME πΈ
tws β the 3ware 9750 SATA+SAS 6Gb/s RAID controller card driver. that's it, that's the name, it's giving very specific and we love that for it. π
π¦ SYNOPSIS π¦
so you wanna get this driver living in your kernel? bestie, you gotta compile it in. drop these lines into your kernel configuration file:
device scbus
device tws
orrrrr, if you'd rather load it as a module at boot time (iconic lazy-girl move, no cap), just put this one line in loader.conf(5):
tws_load="YES"
β DESCRIPTION β
the tws driver is here to provide support for LSI's 3ware 9750 SATA+SAS 6Gb/s RAID controller cards. π«Ά
these controllers are lowkey built different β they feature the LSISAS2108 6Gb/s SAS RAID-on-Chip (ROC) and they come in 4- and 8-port configurations. they support RAID levels 0, 1, 5, 6, 10, 50 and single disk, and they can handle 96 SATA and/or SAS hard drives and SSDs. ninety-six. that's not a typo. main character energy fr fr. π
for further hardware information, go check out http://www.lsi.com/. (yes the URL is just there, raw, no hyperlink, we're keeping it exactly as-is because facts don't change, only vibes do. π)
π HARDWARE π
the tws driver supports the following SATA/SAS RAID controller:
- LSI's 3ware SAS 9750 series
one controller, one bullet, zero filler. slay. β¨
π LOADER TUNABLES π
so these tunables can be set at the loader(8) prompt before you boot the kernel, or you can stash them in loader.conf(5). either way, they're yours to play with:
hw.tws.cam_depthβ the maximum queued CAM SIM requests for one controller. the default value is 256. πhw.tws.enable_msiβ this tunable enables MSI support on the controller, but only if you set it to a non-zero value. the default value is 0, so like, off by default, just so you know. πhw.tws.queue_depthβ the maximum queued requests for one controller. (no default listed here, so don't come for me, the original didn't say either π)hw.tws.use_32bit_sglsβ this one limits the driver to use only 32-bit SG elements, regardless of whether the operating system is running in 64-bit mode. the default value is 0. π§
π FILES π
/dev/da?β array/logical disk interface/dev/tws?β management interface
two paths, both important, both here. periodt. π
π₯ DIAGNOSTICS π₯
whenever the driver encounters a command failure, it prints out an error code in this format: "ERROR: (<error source>: <error code>):" β and then it follows that up with a text description of the error. π’
there are also other error messages and warnings that the driver prints out, depending on the kinds of errors that it encounters. so like, the driver is chatty when things go wrong.
and if the driver is compiled with TWS_DEBUG defined, it prints out a whole bunch of debug messages. like, a whole bunch. consider yourself warned, bestie. π
π SEE ALSO π
go read those too, they're the supporting cast and they ate. β
π AUTHORS π
the tws driver was written by Manjunath Ranganathaiah for LSI, and this manual page was written by Xin LI <delphij@FreeBSD.org> for iXsystems, Inc. we stan a credited author moment. π«Ά
and that's the whole page, bestie β this version is from the Debian edition, dated October 4, 2011, so it's a certified vintage classic at this point. stay iconic, go forth, and may your RAID arrays never degrade. πβ¨
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2010, 2011 iXsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms