175752 Commits

Author SHA1 Message Date
ad
1e550c311b Adjust RESCHED_ values for existing code. 2008-12-02 18:02:29 +00:00
ad
7ad98abc71 - Wrap sys/cpu.h contents in _LOCORE.
- Add a RESCHED_LAZY flag and use instead of zero.
2008-12-02 17:57:32 +00:00
ad
277ec70b63 Remove unused functions. 2008-12-02 17:56:06 +00:00
uwe
b523b8ffed hd64461video_info: fix pasto, correctly report 4-bit grayscale in LDR2. 2008-12-02 16:39:47 +00:00
sketch
8f51fb3d31 Fix '||' vs '&&' mix-up from when ich9 support was added. Fixes nasty
EEPROM-trashing bug on ich8 and ich9 chipsets as described in

  http://mail-index.netbsd.org/current-users/2008/12/02/msg006435.html

caused by setting the wrong type of EEPROM.
2008-12-02 15:30:04 +00:00
wiz
a3fb1878ab Fix fiance/fiancee confusion. Fix another typo.
Jason McIntyre <jmc@kerhand.co.uk>.
2008-12-02 14:21:26 +00:00
wiz
999da72c23 Fix insure -> ensure confusion. From Jason McIntyre <jmc@kerhand.co.uk>. 2008-12-02 14:21:02 +00:00
njoly
96d7b57e0f Regen for getdirentries fix. 2008-12-02 13:45:40 +00:00
njoly
488fb8373c Fix getdirentries(2) by not calling compat_43_sys_getdirentries, but
letting do its own job instead (native and osf1 dirent structure have
different member number and types).
2008-12-02 13:45:02 +00:00
ad
f98296e627 Oops, fix the build. 2008-12-02 10:48:21 +00:00
ad
04b3e89c3f uvmpd_tune: make the adjustments to individual variables atomic. 2008-12-02 10:46:43 +00:00
hubertf
2aea62cc33 Work around another bunch of places where Solaris' /usr/xpg4/bin/sh
can't handle for-loops with no arguments ("for foo in") which result
from empty make-variables.

One step further in getting NetBSD cross-compiling from Solaris 10/x86.

Tested on the netbsd-5 branch.
2008-12-02 10:06:00 +00:00
tteras
22b0737f30 Explicitly ignore SIGPIPE. Default action on Linux is terminate. 2008-12-02 07:41:43 +00:00
dsl
f8be892cab Correct some comments. 2008-12-01 21:05:21 +00:00
christos
132080e4f9 fix off-by-one allocation. functional change intended... 2008-12-01 19:35:55 +00:00
tsutsui
63156ee6a4 /etc/rc.d/mountall should obviously REQUIRE mountcritremote, and
may also REQUIRE named and ypbind for NFS hostname in fstab(5).
2008-12-01 14:47:14 +00:00
pooka
1f2f77b6f8 Add specfs/fifofs support. Not really fully tested, but at least
vfs routines don't crash now.
(didn't have an image with matching device node numbers)

fixes PR kern/40055 by myself
2008-12-01 14:34:50 +00:00
njoly
d42a74a9ba Regen for sched_get_priority_{min,max}. 2008-12-01 14:19:45 +00:00
reinoud
4b1a812950 Split uid/gid remapping code to be independent of eachother. 2008-12-01 14:19:01 +00:00
njoly
aba771042c Add sched_get_priority_{min,max} syscalls. 2008-12-01 14:18:44 +00:00
joerg
6cdfaeec55 Revert last. Conditionalize variables on FFS_EI. 2008-12-01 13:45:51 +00:00
cegger
9c45aac9d8 build fix: remove unused variables 2008-12-01 13:33:39 +00:00
joerg
740a2c079c ffs_blkfree is used in two different ways. The normal usage is to free a
block in the cylinder groups of the filesystem. The other user is the
snapshot code, which wants to modify the copied cylinder groups. Use
different frontends to distinguish the cases in preparation for fine
grained locking for cylinder groups.
2008-12-01 13:22:06 +00:00
joerg
f5bbefdb21 Check that the filesystem acutally uses WAPBL before initiating a
transaction for the directio case. Fixes PR 39929 and similiar issues
seen with PostgreSQL.
2008-12-01 11:22:12 +00:00
ad
a371a02d26 PR port-amd64/32816 amd64 can not load lkms
Change some assertions to partially allow for VM_MAP_IS_KERNEL(map) where
map is outside the range of kernel_map.
2008-12-01 10:54:57 +00:00
ad
c967a6ed32 Put the log files into /tmp. 2008-12-01 10:22:36 +00:00
ad
aa2aa71eff Put sysinst onto the boot CDs, too. 2008-12-01 10:20:57 +00:00
ad
4d30f18b26 Tweak the install messages. 2008-12-01 10:20:15 +00:00
ad
fedda485e0 Resurrect miniroot.kmod for bespoke installs. 2008-12-01 10:11:26 +00:00
wiz
2c1752b597 Really comment out uucp(1) crossref. 2008-12-01 06:52:59 +00:00
martin
b23c5d4038 Fix "target" calculation (for the sake of matching OF path names) for
atapi cdrom drives - we need to add an offset if the whole atabus is
the second ata bus on the controller since firmware adds 2 to the
target in this case. Avoids a bogus match of cd0 if booting from wd0 on
a U5/U10 (both connected to the same internal ide controller).
Problem reported by Urban Boquist and Greg Oster.
2008-12-01 00:09:47 +00:00
dholland
ce6785d91d Bump date for mjf's Dec 4 2007 commit that corrected the description of
magiclinks and added @ruid.
2008-11-30 23:39:20 +00:00
dholland
1f595bc8ca Update SEE ALSO per PR 40071: compress -> gzip, add missing tar, comment
out uucp because uucp was removed from base. (Though maybe it should be
left in anyway - it belongs as a crossreference for historical reasons.)

It doesn't seem to me that every tool used in an example must
necessarily appear in SEE ALSO, but it doesn't particularly hurt.
2008-11-30 23:22:46 +00:00
dsl
1e7b0ea1a2 Simplify somewhat the code that parses .for lines.
Use malloc to allocate space for teh strings (instead of a buf structure)
to make it mossible to not leak the associated memory (leak not fixed!).
No functional change intended.
2008-11-30 22:37:55 +00:00
hubertf
740e3df3fd Work around a bug in Solaris' shs (both /bin and /usr/xpg4/bin)
where "for d in ; ..." results in a syntax error.

Suggested by apb@
2008-11-30 22:05:56 +00:00
tjam
1588416646 Added myself. 2008-11-30 21:13:03 +00:00
martin
719a906ef5 As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
2008-11-30 18:21:31 +00:00
joerg
dfd7714b8f Split ffs_blkalloc into a frontend that does inode based consistency
checks and a backend that just asserts them. Use the backend in
ffs_wapbl_abort_sync_metadata instead of faking an inode.
2008-11-30 16:20:44 +00:00
tsutsui
587f6b4f8e Add RCS Id. 2008-11-30 08:49:25 +00:00
tsutsui
323d1f8f3d Use shrinked src/distrib/common/protocols rather than fat src/etc/protocols. 2008-11-30 04:18:14 +00:00
haad
e51aea320a Fix two race conditions in proplib library. In prop_dictionary and prop_number
there was small window in which was entry left in rb tree with reference
count 0 which lead to rb tree coruption when another thread picked this up
before it was released.
Add 2 new members to the prop_object_t which are used for locking/unlocking
rb tree guard mutex.

Ok by joerg@, core@, thorpej@
2008-11-30 00:17:07 +00:00
christos
82b58f55f0 regen 2008-11-29 23:48:58 +00:00
christos
78b9002948 Add support for the Intel G45 AGP. From Arnaud Lacombe 2008-11-29 23:48:12 +00:00
cube
ff6575a088 Bump to 5.99.4, ppp compressor interface changed. 2008-11-29 23:16:26 +00:00
cube
9f95a5d658 Fix handling of ppp compressor modules, from Andrew Doran's input.
- ref count each compressor
 - allow {un,}registration of several modules at once
 - une RUN_ONCE to make sure the mutex is initialised, because
   unfortunately built-in (and bootloader-loaded) modules init functions
   are run before pseudo-devices attach (reported by Nick Hudson).
2008-11-29 23:15:20 +00:00
dholland
6a8d114c5f Modernize and expand example. Bump date. 2008-11-29 22:42:53 +00:00
dholland
2ef1dd5f7a Sync usage message with man page. PR 40063. 2008-11-29 22:36:57 +00:00
dholland
75cd00a06a Clarify man page with respect to input and output files, and sync usage
message. Prompted by PR 40063 about the usage message.
2008-11-29 22:36:13 +00:00
tsutsui
7828361bcf - don't build compat_linux on alpha until sys/modules/compat_linux/Makefile
handles required MD files under sys/compat/linux/arch/alpha
- build exec_elf64 for all 64 bit arch
- use MACHINE_ARCH!="alpha" instead of MACHINE!="alpha" for exec_elf32 check

XXX we have many histrical inconsistent use of amd64 vs x86_64.
2008-11-29 18:41:06 +00:00
cegger
83776b8eea check error case for kvm_getlwps or SIGSEGV occurs due to dereferecing a NULL pointer.
return NULL if there are no threads or proceed further through all loops.
Fixes PR 40004. Ok rmind@
2008-11-29 18:24:58 +00:00