Commit Graph

157450 Commits

Author SHA1 Message Date
dsl 828a0cec1b Welcome to 4.99.14 , New compat LKMs wont load in old kernels due to
changes in the way sys_stat() etc is now done.
2007-03-10 21:47:03 +00:00
dsl 893faeae9e Update all the compat stuff to not use the 'stackgap' for processing
sys_stat() and friends, instead use do_sys_stat() and do_sys_fstat()
that write the answer into a kernel buffer (on stack) that can be
converted to the correct form and written the userspace.
I've test compiled a few kernels, and tested i386 netbsd1.6 ls.
Given I think I've fixed some bugs, it might be 50-50 with new ones.
2007-03-10 21:40:23 +00:00
christos cd3c9e9afd PR/35970: Todd Kover: Add support for HP ML110 G2 / Adaptec 2610SA 2007-03-10 21:09:33 +00:00
christos 5803d0dc86 regen 2007-03-10 21:08:47 +00:00
christos e8381a0776 PR/35970: Todd Kover: Add support for HP ML110 G2 / Adaptec 2610SA 2007-03-10 21:08:16 +00:00
apb 959aea0471 Serialise making the "sets" tarballs in the maketars target.
On many systems, making them in parallel causes very poor
system performance due to disk I/O.  (Requested by jmmv.)
2007-03-10 20:34:57 +00:00
christos 20d50f44a1 drvctl 4 does not exist. 2007-03-10 20:32:26 +00:00
macallan 964f61e42e adjust some debug output verbosity and use aprint_*() 2007-03-10 18:42:37 +00:00
christos 50873dad9c bump date 2007-03-10 18:31:42 +00:00
christos 6ccceec0a3 tyop 2007-03-10 18:31:07 +00:00
christos 33aa8ab0d0 off by one, reported by jukka salmi. 2007-03-10 18:30:45 +00:00
apb 4713b815f3 WARNS= 4 2007-03-10 18:22:04 +00:00
rumble ca8778bcd3 Expand names of partition types. 2007-03-10 18:16:50 +00:00
jmmv a9a41f6c67 Convert shark's installation kernel image (netbsd-INSTALL) to a.out format
so that it can be loaded by the machine's firmware.  Put the resulting
image inside the 'installation/instkernel' release subdirectory, as the
installation instructions explain.

Fixes port-shark/35563.
2007-03-10 17:57:41 +00:00
christos 476933786a PR/35968: Jukka Salmi: add option to pam_krb5(8) to request renewable tickets 2007-03-10 17:47:21 +00:00
dsl 935d2b1c7f Use the support routines from kern_syscalls.c instead of rolling our own code. 2007-03-10 17:33:29 +00:00
christos 38f7168c16 PR/35965: Kazushi Marukawa: SSHD doesn't work under protocol 1
This is a manifestation of a bug in OpenSSL 0.9.8e, which breaks
certain ciphers in OpenSSH <= 4.5p1. See:
    http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/ssh2-aesctr-openssh.html
    http://bugzilla.mindrot.org/show_bug.cgi?id=1291
2007-03-10 17:18:31 +00:00
dsl 6d1bab1af3 Split the work for sys_stat, sys_lstat, sys_fstat and sys_fhstat out into
separate functions that don't do the copyout.
This allows all the compat_xxx versions to convert the 'struct stat' to
the correct format without using the 'stackgap'.
The stackgap isn't at all LWP friendly, and needs to be removed from
any compat functions that might involve threads (inc. clone()).
The code is still binary compatible with existing LKMs.
2007-03-10 16:50:01 +00:00
dsl 70b641887a Chech for _LOCORE (aka asm source) before defining some enums instead
of inventing another symbol.
2007-03-10 16:42:04 +00:00
kent 4540a56313 add diagnostic code in azalia_codec_construct_format() 2007-03-10 16:39:37 +00:00
hauke 90670ac801 Fix more fallout from caddr_t removal.
Since kbd_adbcomplete() uses the buffer parameter for accessing a
(sic!) data buffer, make it uint8_t *, instead of casting the pointer
everywhere it is actually used.

While here, fix prototype naming issue. One of these days, the code
should be converted to either all kbd_*, or all akbd_*.
2007-03-10 16:35:14 +00:00
christos 74d38ec395 sort. 2007-03-10 16:30:45 +00:00
ad b1da576054 Add a MUTEX_NODEBUG type that avoids allocating debugging resources for
the lock. To be used for e.g. struct vm_page until a better way is found.
2007-03-10 16:01:13 +00:00
ad 64e54fbb70 lockdebug:
- Initialize on the first allocation.
- Handle overflow better. PR kern/35723.
2007-03-10 15:56:21 +00:00
ad ba01c7d177 qc_init: don't leave pointers to destroyed pools hanging or we will
allocate from them later.
2007-03-10 15:54:14 +00:00
apb 7a268741a3 Document the new checks for whether a PBR is bootable.
Also add more detail in the introduction, and a few
more references.
2007-03-10 14:19:46 +00:00
apb 4c9d64d78e Try to check whether each partition is bootable. If not,
always print an error message.  If bootable and -v flag was
specified, print a success message.  If -v flag was specified
more than once, also try to decode more information from
the PBR.

Input from dsl and bad.
2007-03-10 14:18:28 +00:00
jmmv 4eca7e7c2d Implement support for softintrs.
Reviewed, corrected and tested by aymeric@.
2007-03-10 14:15:48 +00:00
skrll 0cc210063b Add in new source files.
From Henning Petersen in PR 35967.
2007-03-10 12:50:09 +00:00
bouyer 3ac78ec8e6 Comment out 'fdc* at acpi?' (it's likely that systems not supporting
fdc0 at isa? don't have a fdc at all). Because of the 'fdc0 at isa?', on
systems supporting ACPI the floppy controller would attach as fdc1. as fd(4)
looks for its type in nvram using the floppy controller index, it's looking for
the wrong controller and the default density isn't set (so /dev/fd0a doens't
work).
Problem analyzed by John Nemeth, thanks !
2007-03-10 10:54:53 +00:00
msaitoh 012c8e5069 Commit from AsiaBSDCon 2007's place
Fix the problem "ifconfig bge0 media auto" negotiates to 100Mbps on 1000BaseT
HUB.
2007-03-10 09:13:07 +00:00
itohy 691799bc9b I tried the test code in PR kern/35934 on PIIX4 and ICH6,
both of which turned out to have the problem.
Enabled (untested) workaround for all PIIX controllers.

XXX  Do other controllers also have this problem?
2007-03-10 06:01:43 +00:00
hubertf 1a16cf8d89 - Remove unused ctype.h
- use EXIT_{SUCCESS,FAILURE} constants instead of 0/1
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-10 01:21:08 +00:00
hubertf 7ce5824ba3 Remove unused ctype.h
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-10 01:16:17 +00:00
hubertf 9fa07b0591 - Remove unused ctype.h header
- ANSIfy prototype

From: Slava Semushin <php-coder@altlinux.ru>
2007-03-10 01:13:14 +00:00
dbj 1d564c7487 add apmlabel.debug, dkscan_bsdlabel.debug, mount_hfs.debug and btuartd.debug 2007-03-10 00:53:44 +00:00
christos 9613494373 whitespace 2007-03-10 00:52:46 +00:00
christos f0f7c41448 enable RFC/3779, requested by George Michaelson 2007-03-10 00:49:47 +00:00
hubertf d8a2863966 - removes unused ctype.h header
- correct comment in mount_nfs/getnfsargs.c: s/Nead/Need/

From: Slava Semushin <php-coder@altlinux.ru>
2007-03-10 00:30:36 +00:00
hubertf ac4dc31da1 - removes unused ctype.h headers
- ANSI'fy prototype for main() function

From: Slava Semushin <php-coder@altlinux.ru>, with minfor fixes by me
2007-03-10 00:22:57 +00:00
hubertf e4dc235f82 - Remove unused ctype.h header
- Remove unused debug and progname variables
 - Use return instead of exit() for quiting at end of main()
 - Print errors to stderr instead of stdout

From: Slava Semushin <php-coder@altlinux.ru>
2007-03-10 00:16:51 +00:00
hubertf dafcd17c49 Remove a bunch of unneeded #include <ctype.h>s
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-10 00:12:23 +00:00
dbj 922d05b21d note src/sys/sys/{sa.h,savar.h} removal and workaround 2007-03-10 00:10:15 +00:00
matt 32188e1e88 Fix typo 2007-03-10 00:04:11 +00:00
hubertf cfb51b951e Move #include <libgen.h> from tip.h to the place where it's really needed.
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-09 23:45:21 +00:00
hubertf 4d49175215 Remove unneeded #include of <libgen.h>
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-09 23:44:50 +00:00
matt 770557b66a If STACKALIGN is defined, use it instead of ALIGN. Some arches need a
stack more aligned that ALIGN will give.
2007-03-09 22:25:56 +00:00
dillo e100c48afd Fix PR kern/35953 by mange at freemail dot hu (panic on mount):
(hfslib_open_volume) We are only interested in the catalgo and
extents header, so read the first 512 bytes, not the whole first
extent.  Also makes mounting a lot faster.
2007-03-09 22:14:09 +00:00
xtraeme 1aaad7d266 regen 2007-03-09 22:11:06 +00:00
xtraeme b2fab0eec1 +ATI Radeon X1300 2007-03-09 22:10:40 +00:00