Commit Graph

10657 Commits

Author SHA1 Message Date
yamt fa92fe776c document whatis. 2007-12-13 02:45:51 +00:00
xtraeme c10e464ab3 acpiecdt* at acpi? is required now. HI JOERG! 2007-12-12 21:12:45 +00:00
xtraeme a239f94d36 Rename battery(4) to battery_pmu(4), because at least we know that is
only specific to pmu.
2007-12-12 20:26:23 +00:00
macallan 2204867a54 add a simple battery(4) man page 2007-12-12 20:09:27 +00:00
apb d38013a8c2 Document CPUFLAGS, and note that CFLAGS shold not be set in mk.conf. 2007-12-12 19:52:02 +00:00
lukem e226e0f887 It's "its" for possessive, not "it's". 2007-12-11 14:06:04 +00:00
elad 98c50c91dd Add TAILQ_CONCAT() and STAILQ_CONCAT(), from FreeBSD. 2007-12-11 11:24:21 +00:00
agc 755a2e55e0 Move to a resizable dynamic array for the targets that the initiator
can find.

If the initiator discovers too many targets for it to handle
(currently more than 16), then truncate to the maximum with a loud
warning message, rather than aborting.

In practice, this means that multiple targets can now be used with the
NetBSD iSCSI initiator.

% ls -laR /mnt/inspiron1300.wherever.co.uk/
total 192
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 .
drwxr-xr-x  2 root  wheel    0 Jan  1  1970 ..
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 target0
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 target1

/mnt/inspiron1300.wherever.co.uk/target0:
total 576
drwxr-xr-x  2 agc  agc        512 Dec 11 08:53 .
drwxr-xr-x  2 agc  agc        512 Dec 11 08:53 ..
lrw-r--r--  1 agc  agc         44 Dec 11 08:53 hostname -> inspiron1300.wherever.co.uk
lrw-r--r--  1 agc  agc          9 Dec 11 08:53 ip -> 10.4.0.42
lrw-r--r--  1 agc  agc         16 Dec 11 08:53 product -> NetBSD iSCSI
-rw-r--r--  1 agc  agc  104857600 Dec 11 08:53 storage
lrw-r--r--  1 agc  agc         43 Dec 11 08:53 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target0
lrw-r--r--  1 agc  agc          8 Dec 11 08:53 vendor -> NetBSD
lrw-r--r--  1 agc  agc          4 Dec 11 08:53 version -> 0

/mnt/inspiron1300.wherever.co.uk/target1:
total 576
drwxr-xr-x  2 agc  agc       512 Dec 11 08:53 .
drwxr-xr-x  2 agc  agc       512 Dec 11 08:53 ..
lrw-r--r--  1 agc  agc        44 Dec 11 08:53 hostname -> inspiron1300.wherever.co.uk
lrw-r--r--  1 agc  agc         0 Dec 11 08:53 ip ->
lrw-r--r--  1 agc  agc        16 Dec 11 08:53 product -> NetBSD iSCSI
-rw-r--r--  1 agc  agc  52428800 Dec 11 08:53 storage
lrw-r--r--  1 agc  agc        43 Dec 11 08:53 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target1
lrw-r--r--  1 agc  agc         8 Dec 11 08:53 vendor -> NetBSD
lrw-r--r--  1 agc  agc         4 Dec 11 08:53 version -> 0
%
2007-12-11 09:07:36 +00:00
reed cc3ab0502a Add MFC. A FreeBSD-ism that is often used outside of FreeBSD. 2007-12-10 16:14:53 +00:00
jmcneill 0e8ccf6ed2 Remove trailing comma in SEE ALSO section, bump date. 2007-12-10 12:49:10 +00:00
jmcneill 75a94c407a Add power management framework man page. 2007-12-09 20:37:42 +00:00
yamt 9390360597 should -> can 2007-12-09 08:53:57 +00:00
apb 368240a3c4 regen 2007-12-09 08:46:57 +00:00
apb 6d3d3ebe02 * MAKEDEV's "-M -M" option was always intended for use only by init(8).
Improve the documentation around that.
* The "-p pax", "-m mknod", and "-s" (mtree specfile) options should
  always have been mutually exclusive.  Now enforce that.
* The "-f" option didn't ever work with pax or mtree mode; document that,
  and make it an error to try something that won't work.
* Make pax mode the default, if no other options prevent this, and if
  "pax -w -M" appears to be usable.
* Add missing options to a usage message.
2007-12-09 08:46:16 +00:00
yamt 478ca46add document LWP_CACHE_CREDS. 2007-12-09 08:31:58 +00:00
wiz 3c088505e9 Spelling. 2007-12-08 11:09:58 +00:00
wiz 64617fb7d8 New sentence, new line. Sort SEE ALSO. Use standard headers.
Replace links from iic(4) with iic(9) because the former doesn't exist.
XXX: battery(4) and smartbat(4) don't exist either.
2007-12-08 11:06:52 +00:00
ad 3aac377195 Fix pasto. 2007-12-07 14:24:21 +00:00
xtraeme 820f120b52 Add ENVSYS_DRIVE_MIGRATING for ENVSYS_DRIVE sensors, this is for RAID
volumes that are migrating such as when you change the stripe size.

While I'm here use the same string than we had in the old framework to
report status "online" vs "drive is online", because the sensor might be
a RAID volume and not just a drive.
2007-12-07 11:47:49 +00:00
xtraeme 79511422f5 Typo: indepenent -> independent 2007-12-06 10:36:37 +00:00
xtraeme 7b695de5c1 Typo: higest -> highest 2007-12-06 10:32:12 +00:00
xtraeme 9925ec4aa7 typo: futher -> further 2007-12-06 10:27:20 +00:00
ad 7d67c53f8d Minor corrections, from David P. Reese, Jr. 2007-12-05 18:12:09 +00:00
ad 383c1bbc65 Minor corrections. 2007-12-05 18:10:00 +00:00
xtraeme b831aabcdc Mention arcmsr(4). 2007-12-05 12:30:54 +00:00
ad e1b5d7773c Add links for softint_* 2007-12-05 05:52:21 +00:00
ad 96f20655cf Sync with reality and supply a large dose of hot air. 2007-12-05 05:49:59 +00:00
ad d3b027e04e Xr spl(9) 2007-12-05 05:24:28 +00:00
ad 0c655cb964 Note that rw locks can be taken from a soft interrupt handler. 2007-12-05 05:22:22 +00:00
ad 55bfbff8a0 Sort. 2007-12-05 05:20:38 +00:00
ad 6a7a863131 + mutex_spin_enter, mutex_spin_exit 2007-12-05 05:19:34 +00:00
ad 64bd285067 Sync with reality. (Apolgies for moving the goalposts slightly but it took
a long time to decide on and implement the new interrupt model.)
2007-12-05 05:17:53 +00:00
ad 851c98e8ed +splsoftbio(9) 2007-12-05 04:53:19 +00:00
ad f9ff149878 - See the spl(9) manual page for a description of interrupt priority levels.
- splbio -> splvm
2007-12-05 04:50:49 +00:00
ad 394d36de78 sys/param.h ??? 2007-12-05 04:49:26 +00:00
ad 7ff112988c IPL_BIO -> IPL_VM 2007-12-05 04:48:57 +00:00
ad be843f3b0a Sync with reality. 2007-12-05 04:47:56 +00:00
xtraeme e1d9000305 arc -> arcmsr 2007-12-05 00:22:12 +00:00
xtraeme 11b3a747bd Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.
2007-12-05 00:18:06 +00:00
xtraeme a7f63e6197 Add missing dot. 2007-12-04 23:12:07 +00:00
mjf d4a648c345 Implement a new magic string for magic symlinks, @ruid, which exapnds to the
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687

Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
pooka 7b59c3d4c2 Add note that this manual should not be trusted to be entirely
up-to-date.  (and don't bump date to give a hint about the vintage
of reality of the discussion in here)
2007-12-04 19:48:24 +00:00
xtraeme 8e6cf74867 Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume  Status               Size Device
 arc0 0 Online               466G ARC-1210-VOL#00 RAID0
      0 Online               234G 0:0.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
      1 Online               234G 0:1.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
 arc0 1 Online               466G ARC-1210-VOL#01 RAID0
      0 Online               234G 0:2.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
      1 Online               234G 0:3.0   noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.
2007-12-04 18:47:50 +00:00
oster 0fa5922403 Add a '-D' option to allow "Discovery" of the targets provided by a host.
Initial support for multiple targets from the same host.

Base 'MaxTargets' on a #define, rather than hard-coding.

Reviewed by: agc
2007-12-04 16:22:38 +00:00
jmcneill ec441ebbd7 Document boot -x 2007-12-04 01:00:54 +00:00
riz 46e81bb02d Add SCTP and a second definition of STP. 2007-12-03 18:45:06 +00:00
wiz e270f5ec9c New sentence, new line. Use correct verb form. 2007-12-03 18:09:28 +00:00
wiz dd74b1a149 Standardize spelling. We use the full month name for .Dd. 2007-12-02 22:12:04 +00:00
wiz c8684d9bac Standardize spelling. Remove superfluous Pp. Fix typo. 2007-12-02 22:09:34 +00:00
wiz ba1fba9f16 Prepare for HTML output. 2007-12-02 21:52:30 +00:00