Commit Graph

173851 Commits

Author SHA1 Message Date
sborrill
85b692fb65 Add support for >2TB arrays and implement raw I/O mode which is a
requirement for this.

N.B. Still to do - move dump on ld to 64-bit disk addresses
2008-10-02 08:21:57 +00:00
wiz
6f5813fea3 Whitespace changes (including new sentence, new line).
Uppercase Dt argument.
Use more macros.
2008-10-02 07:55:26 +00:00
pgoyette
d5697e7834 Add dbcool ki2c attachment for macppc 2008-10-02 00:55:43 +00:00
pgoyette
4d6d694c47 Add dbcool man page and associated links 2008-10-02 00:52:17 +00:00
pgoyette
0219f2ad21 Add new driver for dbCool(tm) family of Thermal Monitor and Fan Controller.
Supported chips: ADM1027, ADM1030, ADT7463, ADT7466, ADT7467, ADT7468,
ADT7473, ADT7475, and ADT7476.  Notably missing is the ADT7490, and fan
controller support on the ADT7466 is still on the to-do list.

Tested by myself and njoly@
Reviewed by garbled@
Commit approved by christos@, bouyer@, cube@, and matt@
2008-10-02 00:47:51 +00:00
christos
9766bcabdc put back matchchars 2008-10-01 21:20:09 +00:00
bouyer
04f65cb049 Use a separate thread to probe/attach atabus's childrens. Fixes a deadlock
where the interrupt routine wants to wake up the atabus thread to perform a
reset, while the thread is blocked in wd's attach function.
2008-10-01 18:23:55 +00:00
christos
c11d4b42be regen 2008-10-01 17:16:15 +00:00
rmind
b312c56767 PR/39664: Dave Huang: ip_mrouter_done: free hash using hashdone(9). 2008-10-01 16:01:51 +00:00
christos
98f48d5f26 ICH10 support from Brad du Plessis 2008-10-01 15:38:14 +00:00
christos
26d7c490fb mention the delete bug in the man page. prompted by perry. 2008-10-01 12:43:46 +00:00
hannken
597afdd860 Make fss(4) D_MPSAFE.
- Use the device lock to protect fss_open(), fss_close() and fss_unmount_hook().
- Make sure fss_bs_thread() does not call biodone() with locks held.

Reviewd by: Andrew Doran <ad@netbsd.org>
2008-10-01 10:45:11 +00:00
joerg
a3ad79d9ac Add missing RCS ID. 2008-10-01 07:53:27 +00:00
joerg
830aad849c Make RCSID() use section .ident like the C version and i386's asm does.
OK ad@
2008-10-01 07:42:52 +00:00
uebayasi
08912a35bf Typo in a comment. 2008-10-01 02:44:14 +00:00
pooka
43242e6cbe Make spec_fsync() a do-nothing instead of a do-panic. Some file
systems have it directly in the specfs op vector.
2008-09-30 21:47:33 +00:00
pooka
f4da52c698 Since the nfs root vnode is eternally constant, fully initialize
it in mountfs instead of deferring part of the initialization to
VFS_ROOT().  Fixes theoretical future bugs for nfs roots.
2008-09-30 21:12:48 +00:00
pooka
85ca5618f1 Check that we apply the previous kludge only to the root vnode. 2008-09-30 21:00:39 +00:00
christos
ffa1f2c907 Fix symlink lossage:
- Use lstat instead of stat to find the destination path. we can make a symlink
  to a broken symlink this way.
- When calling process to create a link, check if the source is a symlink
  instead of trying to remove what the symlink points to!
- Don't create hard links to directories.

XXX: NB. Still sup is broken when used with the delete option. This is because
in the delete pass, it goes and tries to delete all files in the old list
that don't exist in the new list. This is a problem when a directory becomes
a symlink to a hierarchy that contains the same names. Then sup will cross
the symlink and start deleting files and directories from the destination.
This is not easily fixed. Don't use sup with symlink/rsymlink and the delete
option at the same time or *be careful*!
2008-09-30 20:49:14 +00:00
pooka
24fd6139c3 When paging in data, do not try to read past "disk" EOF. This
fixes reads for file systems which are not bound by such mundane
limitations as block size (example: nfs).
2008-09-30 20:08:23 +00:00
pooka
4fb0fb162c Make sure proc0.p_vmspace qualifies as VMSPACE_IS_KERNEL_P(). 2008-09-30 19:50:16 +00:00
pooka
10f58aee6b adapt to RUMPCRED_SUSER change 2008-09-30 19:26:23 +00:00
pooka
44e0ae2322 Switch to std kern_auth. 2008-09-30 19:25:56 +00:00
joerg
1e58602315 Add build glue for pkg_install. 2008-09-30 19:19:56 +00:00
joerg
27d0f2d3b5 Build glue for libfetch. 2008-09-30 19:09:00 +00:00
joerg
af21abb57f Import pkg_install-20080916. Major changes include:
- vulnerability check backend moved into lib for reuse in pkg_add
- add pkg_install.conf parsing for common configuration of the various
  pkg_install components
- fix crashes related to uninitialised PLIST structures
- check explicitly if the required files in pkgdb are present, fixing
  issues with ~empty left-over directories
- improve hardlink handling in pkg_create using the libarchive link
  resolver
- pkg_delete with -P overwrite now updates the pkgdb correctly
- silence warning about empty /var/db/pkg, it provides no value
- pkg_info uses libfetch for remote locations and works without
  temporary files, speeding up operation a lot
2008-09-30 19:00:25 +00:00
joerg
fe618babc6 Import libfetch from pkgsrc, which remains authoritive.
libfetch is a high-level interface for retreiving and uploading files
using URLs. Currently implemented are local file access, FTP, HTTP and
basic HTTPS support, upload only for local files and FTP.
2008-09-30 18:46:07 +00:00
njoly
ab896e4008 Small fix to make setpriority(2) with PRIO_PROCESS return ESRCH when
no valid process can be found.
2008-09-30 17:28:47 +00:00
pooka
49d75a288d Do not clear curlwp after request if we have unmounted. This avoids
an annoying side effect of the reference counting nightmare, namely
trying to vrele() a recently-ceased-to-be cwd.
2008-09-30 17:18:46 +00:00
jmcneill
536d3f6c8b Remove esl(4) 2008-09-30 16:51:45 +00:00
pooka
8bf6577840 Always set HASBUF when creating a componentname. 2008-09-30 16:51:26 +00:00
jmcneill
c46c423e8e Remove esl(4) 2008-09-30 16:45:33 +00:00
rmind
ae626d791a - Schedule bound threads even if CPU is offline. Might be revisited later,
when decision what to do with already bound threads will be made.
- Do not allow to assign offline CPU to the processor-set.

Quick fix for PR/39349.
2008-09-30 16:28:45 +00:00
pooka
eb50fe2242 Add an unspeakable kludge for nfs, which keeps an explicit reference
to the root vnode.  Properly fixing this would require fixing p2k,
which would require fixing puffs, which has some optimizations,
which are incompatible with kernel file systems...  guess my Eyes
of the Overworld were misplaced at that time.
2008-09-30 15:26:54 +00:00
pooka
c7637a677e Initialize nfsnode pools and malloc type dynamically in the
constructor instead of depending on link sets.  Consequently, rename
nfs_nh{init,reinit,done} to nfs_node_{init,reinit,done}, respectively,
to better convey the function.
2008-09-30 14:29:39 +00:00
pooka
7f617ba79e Apply #ifdef modern art to make NFSSERVER-without-NFS possible. 2008-09-30 14:25:15 +00:00
wiz
0247fc12f6 Bump date for previous. Remove trailing whitespace.
New sentence, new line. Capitalize Ethernet.
2008-09-30 09:41:41 +00:00
aymeric
e56ab6501a have '$' include the last character in the line when embedded in a command.
This fixes c$, d$, y$, and so on in vi mode.
2008-09-30 08:37:42 +00:00
dholland
b0188b51ef Refine previous: can put the main -> mymain thing in the .x file, which is
both tidier and also doesn't break update builds.
2008-09-30 06:25:22 +00:00
dholland
b458f98fad If the parser scrapes up something it thinks is positionally a month, but
is numerically out of range, do something reasonable instead of crashing.
PR bin/39627.
2008-09-30 05:51:41 +00:00
dholland
fe23e175c3 Enable the code that reads /etc/pcnfsd.conf. It was disabled because
rpcgen offers no mechanism to call it from the rpcgen-created main().
So, use the preprocessor to rename that mymain() and provide another
main() that loads the config file first.

PR bin/12758.
2008-09-30 05:20:42 +00:00
dholland
d65073510e Use off_t, not __off_t. 2008-09-30 04:03:37 +00:00
lukem
b88214a09b update copyrights 2008-09-30 03:41:53 +00:00
pgoyette
d17ee48907 When scanning i2c bus for responding devices, skip over the multicast
i2c Alert Response Address.  Skipping this won't hurt (the address is
allegedly reserved), and it might avoid the lock-ups that have been
seen by others.
2008-09-29 22:55:08 +00:00
njoly
6d60715500 Make setpriority(2) return EINVAL for incorrect which values. 2008-09-29 21:30:12 +00:00
dyoung
7abd58c82d Do not mention the 'ns' address family any longer, since that
support was removed quite a while ago.

Mention the 'link' address family.  Describe the 'active' keyword.
Add examples for adding and activating a link-layer address.
2008-09-29 17:28:07 +00:00
pooka
d93a348b24 remove verbosity attack 2008-09-29 15:59:54 +00:00
agc
c66caa9ca7 Make this build on Mac OS X. 2008-09-29 12:30:12 +00:00
njoly
d79dceef56 Add strfile.debug and unstr.debug 2008-09-29 11:39:37 +00:00
rmind
03fe669395 - Fix message queue permissions problems.
- Rake into account umask when creating mqueue.
- Restore DDB command, which was accidentally lost (hi martin).
- Misc.
2008-09-29 10:27:53 +00:00