Commit Graph

140935 Commits

Author SHA1 Message Date
manu
3b8100b96a register_t is not an int on amd64 2005-11-04 16:52:51 +00:00
manu
e1c0c1c9dd Implement Linux futex and gettid system calls for amd64 2005-11-04 16:51:56 +00:00
manu
0a3dbc01d5 build fix 2005-11-04 16:49:55 +00:00
tsutsui
78422d0423 Check MIPS3_CONFIG_CS and adjust csizebase at runtime on MIPS_R4100 CPUs,
and remove "XXXCDC: THIS MIPS3_4100 SPECIAL CASE SHOULD GO AWAY" part
from cpuregs.h. Tested on gxemul.

BTW, cache.c doesn't have MIPS_RC32364 config which was added
in mips_machdep.c rev 1.101?
2005-11-04 16:19:31 +00:00
hannken
ba2ee12485 Make it compile on sparc/sparc64. Cast size_t to int for field precision. 2005-11-04 09:26:05 +00:00
yamt
5936836bb1 physio:
- update uio_resid properly.
- don't miss i/o errors near the end of partition.
2005-11-04 08:39:33 +00:00
gendalia
0fbb37df6f statvfs did not appear in 2.1, but in 3.0. 2005-11-04 06:09:20 +00:00
rpaulo
3de46f226c PR 31996: fix the comments for MPBIOS and MPACPI. By Damon Brodie. 2005-11-03 23:12:16 +00:00
dillo
8af62fd627 Split dewey compare functions into their own file dewey.c so they
can be used in a forthcoming Perl module.

Joint work with Thomas Klausner.
2005-11-03 21:59:55 +00:00
dillo
75b9797969 Implement framework to store variable=value pairs about an installed package.
Use this in pkg_add to mark installed dependencies as automatically installed.

pkg_add: new flag -A: marks package as automatically installed.
pkg_admin: new commands set and unset to modify variable pairs for
	   installed packages.
pkg_info: report these variable pairs with -Q/-B.
	  new flag -u: report only manually installed packages (not
	  installed with pkg_add -A).
	  Error out if -a/-u and a package name is specified.

Joint work with Thomas Klausner.

As discussed on tech-pkg.
2005-11-03 21:16:41 +00:00
bouyer
58ce78eeda When forking, we keep a reference to the status db file, and if the
memory copy of the file is dirty, is will be synced when the child exists.
But the parent may have done changes to the database in the meantime, resulting
in a db corruption.
Fix this by calling sync_file() just before the fork. The child will still have
a reference to the db, but won't try to write it on exit.
2005-11-03 19:36:42 +00:00
chs
c6be96e0fb update errors for EIDRM (which we've returned for a long time now). 2005-11-03 17:07:28 +00:00
chs
ff50b97f19 fix the SYSV semop number of operations per request to be limited by
seminfo.semopm (which is tunable via the SEMOPM config variable)
rather than an arbitrary constant.
2005-11-03 16:57:03 +00:00
chs
72d7d84d98 regen 2005-11-03 16:49:09 +00:00
chs
59fddeceaa turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
are compatible with the LKMs that are part of the release.
2005-11-03 16:48:29 +00:00
rpaulo
504edaa687 Sync with FreeBSD's rev. 1.98 adding FreeBSD 6 and updating FreeBSD-current. 2005-11-03 13:17:29 +00:00
yamt
06085e8f52 - use sys/spl.h.
- add some IPL_ definitions.
2005-11-03 13:06:06 +00:00
yamt
e9b064c703 a helper to implement splxxx() using splraiseipl(). 2005-11-03 12:31:32 +00:00
gdt
2de7c6cd0d Adjust signature of softdep_freefile (dummy stub which always panics
if called) to match ffs_extern.h so that kernels w/o softdep can compile.
2005-11-02 22:10:41 +00:00
rpaulo
528981fc93 Add NetBSD 2.1 and 2.0.3. Thanks to riz, jmc, jschauma and salo. Did if
forget anyone?
2005-11-02 20:27:43 +00:00
rpaulo
f93565e59b Sync with FreeBSD version 1.96 adding OpenBSD 3.8. 2005-11-02 17:25:43 +00:00
yamt
e81a08ca3f pool_printit: don't keep a lock when printing info.
we can't clean it up if ddb pager is quitted.
2005-11-02 14:32:54 +00:00
yamt
94809e83ec don't pass -t option to xargs unless MAKEVERBOSE is 2. 2005-11-02 14:29:52 +00:00
yamt
73a46700dc sync with kernel. (yamt-vop) 2005-11-02 14:22:36 +00:00
yamt
914c85ff3b terminate yamt-vop branch. 2005-11-02 12:44:24 +00:00
yamt
60df7649c9 bump to 3.99.11. yamt-vop merge. 2005-11-02 12:42:58 +00:00
yamt
f3602c2466 regen. 2005-11-02 12:41:50 +00:00
yamt
a748ea88dd merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE
2005-11-02 12:38:58 +00:00
yamt
73370bbcf4 yamt-vop: new base. 2005-11-02 12:12:36 +00:00
wiz
8312fd6420 Fix pcmcia_io_map arguments. From Iain Hibbert in PR 31973.
Bump date.
2005-11-02 06:42:36 +00:00
dyoung
ba91bb71cf Bug fix: correct the sense of an if-condition in tmpfs_spec_close:
because VOP_UPDATE() usually succeeded, spec_close() was not usually
called.  Only skip the spec_close() step if VOP_UPDATE() returns
an error result.  Now /dev/watchdog works as expected when /dev/
is a tmpfs; previously, it was impossible to disarm a user-tickled
watchdog.
2005-11-02 05:41:50 +00:00
dyoung
b441f8100f Bug fix: change tmpfs_spec_bwrite from tmpfs_bwrite to vn_bwrite,
per yamt's suggestion.  Previously, if /dev/ was mounted on a tmpfs,
block device buffers were never flushed to disk.  Trying to unmount
a dirty filesystem (umount /dev/wd0e, say) caused an endless stream
of vflushbuf warnings, because tmpfs_bwrite was not flushing buffers.
The fix told to me by yamt solves the problem.
2005-11-02 05:39:16 +00:00
christos
c952ef6b81 PR/31923: Sergey Svishchev: pax-as-tar ignores -k, overwrites existing files
Fix from Onno van der Linden
2005-11-01 23:43:27 +00:00
bjh21
24f32d9b06 Put the "cache chip bug" message back on a line of its own after the CPU type
is announced, which is where it was before 1997.  This finally stops the
CPU attachment message overflowing a line on an ELC.
2005-11-01 22:49:17 +00:00
abs
8380617e54 Regen after adding Radeon 9000 PCI (0x4966) 2005-11-01 22:01:44 +00:00
abs
f643837128 Add Radeon 9000 PCI (0x4966) 2005-11-01 22:00:56 +00:00
christos
8481673c7a Don't decrement the ttl, until we are sure that we can forward this packet.
Before if there was no route, we would call icmp_error with a datagram
packet that has an incorrect checksum. (From Liam Foy)
2005-11-01 21:21:09 +00:00
bjh21
58654bce56 Fix second "no drives attached" message (as seen on sun4c) so as not to
include the device name, since this message is printed on the same line
as the attach message anyway.
2005-11-01 21:00:56 +00:00
martin
b1134bf887 Rework the funny "user_strat: No ioctl" error messages - the functions
have not been called user_strat for quite some time and the message is
confusing if you do not know the code.
2005-11-01 20:44:04 +00:00
mrg
77b434d1e4 note that Airlink AWLH4030 PCI b/g and Belkin F6D3000 PCI a/b/g cards
are supported.
2005-11-01 20:42:07 +00:00
mrg
60c6df9a25 note that vixie cron 4.1 is out (since jan 2004) 2005-11-01 20:20:13 +00:00
christos
f1e915cc01 Split the linux syscall out to make the code easier to read and maintain. 2005-11-01 16:28:28 +00:00
christos
4f38beeb43 Update documentation for pam, and don't accept flags that we don't support
anymore.
2005-11-01 15:47:43 +00:00
bouyer
1421f4d030 Don't claim there is a data in or out phase if the datalen is 0 (userland
shouldn't claim it either, but a buggy software shouldn't be able to crash
the kernel anyway). Should fix port-sparc64/31925 by Johan A.van Zanten
(which should really be kern/31925).
Analysed and patch tested by Martin Husemann.
2005-11-01 15:40:00 +00:00
manu
e326d4a34d Linux does not seems to set rdx on syscall exit. 2005-11-01 09:13:48 +00:00
yamt
8ab7495c2d make scheduler work better when a system has many runnable processes
by making p_estcpu fixpt_t.  PR/31542.

1. schedcpu() decreases p_estcpu of all processes
   every seconds, by at least 1 regardless of load average.
2. schedclock() increases p_estcpu of curproc by 1,
   at about 16 hz.

in the consequence, if a system has >16 processes
with runnable lwps, their p_estcpu are not likely increased.

by making p_estcpu fixpt_t, we can decay it more slowly
when loadavg is high.  (ie. solve #1.)

i left kinfo_proc2::p_estcpu (ie. ps -O cpu) scaled because i have
no idea about its absolute value's usage other than debugging,
for which raw values are more valuable.
2005-11-01 09:07:53 +00:00
jmcneill
b755c1973c Change description to contain the text 'audio device driver', for consistency
with other audio device manuals.
2005-11-01 02:20:17 +00:00
chs
04084538be use correct types, allow size to be larger than 1 TB. 2005-11-01 01:42:29 +00:00
dyoung
fec0b664fc Oops, condition another printf on verbose_level > 0. 2005-10-31 23:21:25 +00:00
dyoung
96801f79bb Condition several cd9660 printfs on verbose_level > 0. Silences
makefs -t cd9660.
2005-10-31 23:19:54 +00:00