163928 Commits

Author SHA1 Message Date
plunky
1abda57e11 when using CFATTACH_DECL_NEW(), we must remember to record the
device_t if we wish to use it.

	sc->sc_dev = self;
2007-11-23 22:27:02 +00:00
dsl
d8e8042c1c Add a note about the difficulty of actually looking at the return value
of __syscall() caused by ABIs (eg sparc) that don't pass the low bits of
a 64 bit result in the same register as a 32 bit result.
2007-11-23 20:29:40 +00:00
macallan
9d020f5bdb make this compile on sparc64 2007-11-23 20:12:54 +00:00
elad
ea96710831 Fix typo. 2007-11-23 20:09:30 +00:00
xtraeme
b2bb4b77b8 regen 2007-11-23 20:08:47 +00:00
xtraeme
96fc53aa48 Add some Intel 5000 Series Chipset devices. 2007-11-23 20:08:24 +00:00
joerg
a35b5f81a4 If memory for the firmware image couldn't be allocated, print only
one error message.
2007-11-23 19:47:27 +00:00
joerg
8c65b9a8ce Share code between callout_schedule and callout_reset. 2007-11-23 19:43:32 +00:00
jnemeth
b38a821a97 Delete mention of 'iso-dir=cdextras'. This was a leftover from
the original implementation of cdextra as an operation instead of
a being paramater.
2007-11-23 19:38:43 +00:00
dholland
9c31b45f5e Change the fs_clean member of the ffs superblock to be unsigned
(uint8_t instead of int8_t) - this prevents an ugly sign-extension
printing bug as well as formally undefined behavior when you mount an
unclean fs enough times.

From (my own) PR kern/28134; I've been carrying this patch for three
years, long enough to forget about it, and it's had no ill effects in
that time.

reviewed: pooka
2007-11-23 18:00:46 +00:00
pooka
e490f118e2 Fix a race condition: in case two source paths hardlinked to the
same file were renamed simultaneously, there was a window where
directory entry cached in the vnode during lookup would be replaced
before calling rename.  This lead to one directory entry getting
renamed twice and the other one getting zero renames.  Do a relookup
in rename to make sure we have the correct directory entry.

Thanks go to Greg Oster for reporting the problem, helping with
debugging and thoroughly testing the patch.
2007-11-23 17:16:22 +00:00
sborrill
0a5849baa0 Note that a boot menu has been added to the i386 install CD.
Change my previous entry to reflect that it works on x86, not just i386.
2007-11-23 16:41:09 +00:00
uebayasi
22274752ee s, , , 2007-11-23 16:37:47 +00:00
bouyer
62b95d1250 Put back part of revision 1.1.4.8: the L4 page has to be pinned as L4
before before being mapped by APDP_PDE.
2007-11-23 16:33:25 +00:00
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