163714 Commits

Author SHA1 Message Date
sborrill
1a550c9b7b Add boot menu and welcome banner to installation CD allowing the user to
choose between the normal and non-ACPI kernel.
2007-11-23 16:21:22 +00:00
sborrill
14df52fe64 Add support for CDBUILDEXTRA which acts like CDEXTRA to add extra items
to the CD-ROM image.
Make CDEXTRA and CDBUILDEXTRA be able to contain lists of files and directories
which are added in turn.
Add support for CDEXTRA_SKIP which contains a list of fnmatch(3) items to
skip during the copy. This is _very_ useful for skipping CVS dirs for example.
CDBUILDEXTRA and CDEXTRA_SKIP are to be used in Makefiles creating the images,
CDEXTRA remains to be used from build.sh.
Update documentation and build.sh help text to show that -C can be used to
specify a list of files and directories rather than just a single dir.
2007-11-23 16:19:28 +00:00
elad
18558073a1 Kill another instance of KAUTH_GENERIC_ISSUSER. 2007-11-23 16:03:47 +00:00
dholland
d08cb6cf65 Handle non-trivial NIS compat entries (like +joe:::::::::) in the password
file. Fixes (my own) PR bin/33138.

reviewed: christos
2007-11-23 15:51:27 +00:00
bouyer
11d3f17479 Sync BSD_SYMTAB declaration with xeni386, pointed out by Christoph Egger 2007-11-23 15:38:52 +00:00
bouyer
b378f8b2cb Include opt_xen.h #ifdef _KERNEL_OPT instead of custom logic.
Thanks to Izumi Tsutsui for pointing me at _KERNEL_OPT
2007-11-23 15:38:06 +00:00
pooka
2b2c7bcc21 Update comments: ufs_{rename,mkdir,rmdir} haven't been system calls
since 4.3BSD.
2007-11-23 14:18:01 +00:00
sborrill
e39e1e7810 Print a newline above the menu, but not below the custom banner.
This means that there is a consistent empty line above the menu both with
and without a custom banner.
2007-11-23 13:47:03 +00:00
xtraeme
90a0b7ad49 Mention evbarm/iopwdog(4) and swwdog(4). 2007-11-23 13:32:46 +00:00
xtraeme
b21a1771fc The sysctl node is machdep.speedstep_state not machdep.speedstep. 2007-11-23 13:06:09 +00:00
xtraeme
4be59ff990 Explain a bit more about the speedstep function. 2007-11-23 13:05:04 +00:00
uebayasi
2b37ebddcf KNF; no variable name in function prototype. 2007-11-23 12:39:15 +00:00
pooka
8243c53652 Fix value of IO_SYNC to not collide with other definitions. 2007-11-23 11:53:45 +00:00
xtraeme
edef3a5e60 typo: piipcib -> piixpcib. 2007-11-23 11:50:08 +00:00
xtraeme
0c6aa39b4f weasel is able to attach at pci since 2001, mention that on SYNOPSYS. 2007-11-23 11:40:50 +00:00
xtraeme
f3d4243d05 It's wdogctl(8) and not wdogctl(4). 2007-11-23 11:37:57 +00:00
xtraeme
9537f21760 Mention some watchdog drivers in SEE ALSO and don't mention envsys(4)
or envstat(8), they don't have nothing in common with watchdogs.

<wizd> Bump date.
2007-11-23 11:34:50 +00:00
xtraeme
2c375380d5 tcotimer_setmode: convert seconds to ticks after the value has been
checked with the limits. We can use now the max timeout value on ICH6
or newer (i.e 613 seconds and not the half of it as previously).
2007-11-23 11:21:14 +00:00
bouyer
ec3e8e5c1c xpq_flush_queue(): cast values to u_int64_t and use PRIx64 in printf().
Fix build of i386 Xen kernels, reported by Hisashi T Fujinaka.
2007-11-23 09:54:33 +00:00
dsl
3ba44b945b Reorder the code for i386 and amd64 syscall stubs so that the 'jc' on error
is a forwards jump instead of a backwards jump that a P4 will mispredect (and
probably immediatly get a cache-line miss due to the way the code gets
aligned).
2007-11-23 07:36:05 +00:00
isaki
33469b0e28 loadfile_*() must set errno when it returns -1. 2007-11-23 04:32:14 +00:00
plunky
1effb490f2 remove alias for _insque and _remque since they are no longer
used. leave the vax_insque function for no reason except that
it maps to an actual instruction.
2007-11-22 23:02:05 +00:00
agc
9e8e283ee9 Update the portable version to 20071122, via autoconf.
Only change is that the target returns MAXLBA in a READ_CAPACITY command
response, and the initiator adds one to it to find out the size.
2007-11-22 22:56:20 +00:00
plunky
b83f9a6a6d remove insque/remque from libkern, they are no longer used 2007-11-22 22:56:16 +00:00
agc
516da92e13 Add some more definitions which will be needed in the future. 2007-11-22 22:51:09 +00:00
plunky
8174b7b21a convert usage of insque/remque to queue(3) macros 2007-11-22 22:26:18 +00:00
bouyer
8fc0f9f54d Build amd64 xen kernels, and include them in the distrib. 2007-11-22 21:23:42 +00:00
bouyer
5d7691aecb Fix bouyer-xenamd64 merge fallout:
we can #include "opt_xen.h" when
#if defined(_KERNEL) && !defined(_RUMPKERNEL) && !defined(_LKM),
#ifdef _KERNEL isn't enough.
2007-11-22 21:21:14 +00:00
dsl
b0b7248d92 Change all the syscall C 'glue' functions (most of which just add in an
extra argument to ensure that 'off_t' parameters are even numbered
parameters for stack alignment reasons on 32 bit systems) to use a normal
'syscall' wrapper for __foo instead of using __syscall(SYS_foo, ... ).
This saves all the faffing needed to get a 32bit return value on sparc.
Auto-generate the extra syscall wrappers.
Move swapon.c into the correct list (swapon() uses swapctl()).
This probably means there are very few users of syscall() and __syscall() left.
2007-11-22 21:11:30 +00:00
pooka
5dec3ab667 Don't KASSERT that the pool allocator returns a page - it might be
called with NOWAIT.

XXX: this is just a quick fix to stop the diagnostic panic.  I
think ENOSPC should be treated elsewhere depending on how much
memory tmpfs claims.
2007-11-22 21:08:10 +00:00
bouyer
e221ac46f1 Reinclude machine/cpuvar.h lost in bouyer-xenamd64 merge; make GENERIC.MP
kernel build again.
2007-11-22 20:24:25 +00:00
bouyer
4264e84aeb only include opt_xen.h #ifdef _KERNEL 2007-11-22 17:38:34 +00:00
xtraeme
54d41c7770 Use the returned value of xc_unicast() on xc_wait(), that will wait
for completion on the CPU running the xcall thread.

Tested on a 8-way Xeon by Greg Oster.
2007-11-22 16:27:06 +00:00
bouyer
400aed76df Add Xen devices 2007-11-22 16:25:04 +00:00
bouyer
b91280f3d6 Note amd64 support in NetBSD/Xen 2007-11-22 16:22:07 +00:00
bouyer
ae4f126a81 Update bouyer-xenamd64 status 2007-11-22 16:20:39 +00:00
bouyer
4e54134323 Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.
2007-11-22 16:16:40 +00:00
sborrill
ccf6d08a57 i386 and amd64 share a bootloader, so this should work on both.
Thanks to xtraeme@ and bouyer@ for pointing out this oversight.
2007-11-22 15:27:22 +00:00
jnemeth
309fa09200 comment out com*/lpt* at acpi? as they cause these ports to move from
their traditional location and imminent changes in -current will cause
them to move back
2007-11-22 14:33:53 +00:00
pooka
bc3b2e6a39 PUD_CONF_IOCTL is a goner. Noticed by dillo. 2007-11-22 13:51:59 +00:00
hpeyerl
078cd4b352 Optimize copyin/copyout to transfer as many words as possible before doing
residual bytes. This improves small transfers. As a result, we can avoid
doing bigcopyin/bigcopyout until len>1024 instead of len>256.

Reviewed by: simonb.

(everybody run, Herb's in the kernel again).
2007-11-22 13:33:08 +00:00
yamt
99e9015b80 nfssvc_nfsd: remove a wrong assertion. 2007-11-22 13:30:39 +00:00
yamt
9f6672e12b fix changes which i forgot to commit with sys/arch/vax/include/mutex.h rev.1.9. 2007-11-22 13:13:15 +00:00
skrll
e2b2bdc928 Define PT_MACHDEP_STRINGS for kdump(1) 2007-11-22 11:58:48 +00:00
jmmv
513f77f76c Add the debug files for id's h_id helper tool. 2007-11-22 11:32:12 +00:00
pooka
a4b032e2c8 quick & dirty support & tests for ioctl 2007-11-22 11:28:48 +00:00
pooka
2bde3fa647 Support bdev/cdev ioctl. 2007-11-22 11:26:27 +00:00
yamt
a3dbd70683 lfs_mountroot: use vfs_destroy. 2007-11-22 10:51:44 +00:00
yamt
33e66db218 fix lockdebug_mem_check. 2007-11-22 10:47:37 +00:00
xtraeme
f517956d37 Print the error if sysmon_envsys_register() fails and add a missing
return in that case.
2007-11-22 08:15:00 +00:00