Peter Wemm
3d6fde76ed
Introduce two new sysctl's.. vm.kvm_size and vm.kvm_free. These are
...
purely informational and can give some advance indications of tuning
problems. These are i386 only for now as it seems that the i386 is
the only one suffering kvm pressure.
2001-08-22 00:50:46 +00:00
Jim Mock
c412ee3a28
Add doc/sr and doc/sr_* to the sample refuse file.
...
PR: 29935
Submitted by: Rob Simmons <rsimmons@mail.wlcg.com>
2001-08-22 00:38:59 +00:00
John Baldwin
61e9650010
Clear db_active in boot() so that one can call the boot function (as well
...
as use the panic command) w/o having to manually clear db_active first
to avoid the db_error() in mi_switch().
2001-08-21 23:29:40 +00:00
John Baldwin
3a9e0f5bd1
Push down Giant some in trap_pfault() so we don't grab Giant around
...
trap_fatal() to make restarting from panic's slightly easier. Before if
one did 'w 0 0' in ddb, the longjmp in ddb inside of trap_fatal() would
result in Giant being held (or recursed one level deeper) which led to
problems later on. You can now drop to teh debugger, do 'w 0 0', and
continue w/o a problem.
2001-08-21 23:15:25 +00:00
John Baldwin
b285782b29
Release the sched_lock before bombing out in mi_switch() via db_error().
...
This makes things slightly easier if you call a function that calls
mi_switch() as it keeps the locking before and after closer.
2001-08-21 23:10:37 +00:00
John Baldwin
1a5333c37c
Allow one to restart from a panic in DDB by clearing the panicstr
...
variable to NULL. Note that since panic() is marked with __dead2, this
has somewhat unpredictable results at best.
2001-08-21 22:55:20 +00:00
Nick Hibma
83429be9b0
Find spurious interrupts.
2001-08-21 22:39:04 +00:00
Bruce A. Mah
0bd2b09761
New release note: SA-01:54.
2001-08-21 22:26:02 +00:00
Nick Hibma
e940cef54f
Add support for the I-O DATA USB-ET/TX(USB Ethernet adapter)
...
PR: 27792
2001-08-21 22:20:50 +00:00
Alexander Langer
088be0c610
Link MULTI_DRIVER_MODULE.9 to DRIVER_MODULE.9
2001-08-21 22:17:47 +00:00
Nick Hibma
6e155c1b96
Add support for the HP 4300C scanner.
...
Submitted by: Ernst de Haan <ernst@jollem.com>
2001-08-21 22:16:44 +00:00
Alexander Langer
dd748fba6a
Add MULTI_DRIVER_MODULE().
2001-08-21 22:14:43 +00:00
Peter Wemm
95a6562598
Strip out some #if's for old implementations of global data pointers.
2001-08-21 22:14:13 +00:00
Nick Hibma
b4cf607bde
Add quirks for the Olympus Digital Camera.
...
PR: 26295
Add quirks for the Microtech CameraMate.
2001-08-21 22:13:53 +00:00
Nick Hibma
4817ad7e09
Support for the HP 8200e CD writer. (commented out)
...
Submitted by: Heath Nielson <heath@cs.byu.edu>
2001-08-21 22:03:18 +00:00
Nick Hibma
d815b123a2
Add support for the Microtech CameraMate.
...
Submitted by: Phil Knaack <pknaack1@netscape.net>
Submitted by: Jim Bryant <kc5vdj@yahoo.com>
2001-08-21 21:47:08 +00:00
Andrey A. Chernov
2d2857f480
Document new EINVAL, EOVERFLOW cases. Sort ERRORS
2001-08-21 21:44:48 +00:00
Nick Hibma
924be33dc3
Deconfuse a debugging message.
2001-08-21 21:41:15 +00:00
Nick Hibma
9a9a00ec47
Regen.
...
National BearPaw 1200 has changed name USB_PRODUCT_NATIONAL_BEARPAW1200.
2001-08-21 21:36:58 +00:00
Nick Hibma
ff3863b777
Add Mustek, National and Ultima scanners.
...
Submitted by: Henning Meier-Geinitz <hmg@gmx.de>
PR: 29777
MFC after: 1 week
2001-08-21 21:35:40 +00:00
Warner Losh
c08288b540
Report the interrupt path via the sysctl to userland as a string.
...
Submitted by: green
2001-08-21 21:31:27 +00:00
Andrey A. Chernov
383f169d4a
Make lseek() POSIXed: for non character special files
...
1) handle off_t overflow with EOVERFLOW
2) handle negative offsets with EINVAL
Reviewed by: arch discussion
2001-08-21 21:20:42 +00:00
John Baldwin
161778121a
Add a hook to mi_switch() to abort via db_error() if we attempt to
...
perform a context switch from DDB.
Consulting from: bde
2001-08-21 20:09:05 +00:00
Warner Losh
82f1838cd9
Add new, simple pcic manual page.
2001-08-21 20:07:49 +00:00
Dima Dorfman
1794af5592
Don't claim to be mp(3).
2001-08-21 20:05:39 +00:00
Warner Losh
0f102020db
Rearrange how we do interrupt routing tweaking. We now have
...
hw.pcic.intr_path {1,2} 1 == ISA, 2 == PCI
hw.pcic.init_route Force TI chipset initializations in edge case.
2001-08-21 20:04:42 +00:00
Scott Long
2c325c113c
Fresh code drop from the vendor. This fixes some critical bugs and adds
...
support for a new class of controllers. Also adjust MAINTAINER at the
approval of msmith.
Obtained from: mark_salyzyn@adaptec.com
2001-08-21 19:58:16 +00:00
Dima Dorfman
980939b1a8
Do not use contractions where they aren't necessary, use "host"
...
instead of "computer", and clean up some confusing sentences.
Submitted by: sheldonh
2001-08-21 19:39:01 +00:00
Dima Dorfman
2c0dd4d134
Use .In, .Ux, and .Rv where appropriate. Also consistently call this
...
a "function" instead of a "routine".
Submitted by: ru
2001-08-21 19:32:47 +00:00
Dima Dorfman
ccbe835258
Expand the ?: construct into an if/else.
...
Submitted by: nectar
2001-08-21 19:27:07 +00:00
Mike Barcroft
666fb6724a
Take maintainership of whois(1).
2001-08-21 19:24:50 +00:00
Dima Dorfman
c9fa8f40fe
The setprogname() function sets the name of the program to be the last
...
component of the progname argument.
2001-08-21 18:49:58 +00:00
Dima Dorfman
f7bec57b78
Fix style bug.
2001-08-21 18:46:33 +00:00
John Baldwin
91a4536f22
- Fix a bug in the previous workaround for the tsleep/endtsleep race.
...
callout_stop() would fail in two cases:
1) The timeout was currently executing, and
2) The timeout had already executed.
We only needed to work around the race for 1). We caught some instances
of 2) via the PS_TIMEOUT flag, however, if endtsleep() fired after the
process had been woken up but before it had resumed execution,
PS_TIMEOUT would not be set, but callout_stop() would fail, so we
would block the process until endtsleep() resumed it. Except that
endtsleep() had already run and couldn't resume it. This adds a new flag
PS_TIMOFAIL to indicate the case of 2) when PS_TIMEOUT isn't set.
- Implement this race fix for condition variables as well.
Tested by: sos
2001-08-21 18:42:45 +00:00
Mitsuru IWASAKI
eb5b463449
Fix error checking about device state transition from D0 to D3.
...
Turn off the resources listed in _PR0 to go to D3 if we don't have _PR3/_PS3.
Reviewed by: msmith
2001-08-21 18:22:40 +00:00
Warner Losh
df1d57cdb9
It looks like we're doing the wrong thing by catching the setup_intr
...
request and just calling it when we get a bridge interrupt. The
problem is that if other code wants to block hardware interrupts for a
little bit with splXXX, those masks aren't updated the way we're doing
it. This doesn't matter for -current, but does for -stable.
The whole reason that we were catching interrupts was to detect that
the card was still there. Ian's fixes however ensure that the card
will be there with an interrupt handler, or not there at all. Since
the pcic interrupt is at a high priority, this should be OK.
This should fix the network related crashes people started seeing in
stable after I merged the pcic as a pci device code.
Submitted indirectly by: Ian Dowse
MFC when: Ian has had a chance to do his torture hang testing.
2001-08-21 18:13:16 +00:00
Semen Ustimenko
362dfadcf6
Document recent changes about VLAN support and oversized packets.
...
PR: kern/29235
MFC after: 1 day
2001-08-21 17:52:52 +00:00
Ruslan Ermilov
c45f3b47c8
Fixed warnings.
2001-08-21 17:28:39 +00:00
Jacques Vidrine
80578ef3c9
Pass the pointy hat, please.
...
Submitted by: ru
2001-08-21 17:16:32 +00:00
Jacques Vidrine
dbdb228cf7
setprogname() should set __progname to the last component of the given
...
path.
2001-08-21 16:55:34 +00:00
Doug Rabson
d2cb5f3137
Make sure stack is aligned to 16 bytes.
2001-08-21 16:53:23 +00:00
Ruslan Ermilov
d86293dbea
Added TFTP support.
...
Submitted by: Joe Clarke <marcus@marcuscom.com>
MFC after: 2 weeks
2001-08-21 16:25:38 +00:00
Ruslan Ermilov
65c7e9c195
Update -v documentation to match reality.
...
Spotted by: bde
2001-08-21 15:59:55 +00:00
Ruslan Ermilov
ad0ffd0a22
Added netid(5) manpage.
...
PR: docs/25657
Obtained from: OpenBSD
2001-08-21 15:39:15 +00:00
John Baldwin
c0684ba549
Whitespace style nits.
2001-08-21 15:37:19 +00:00
Hajimu UMEMOTO
4a84918dc9
fix typo. icmptype of destination unreach is not 2 but 1.
...
Submitted by: kuriyama
2001-08-21 15:05:09 +00:00
John Baldwin
a71c43dd2b
Protect prototype of ptrace_clear_single_step() with #ifdef _KERNEL/#endif.
...
Requested by: bde
2001-08-21 13:42:39 +00:00
John Baldwin
d721b5de59
GC unused prototype of ptrace_write_u().
...
Forgotten by: peter
2001-08-21 13:41:46 +00:00
Joerg Wunsch
5c6a35107b
Properly initialize the random number generator in pw_getpass().
...
Right now, the automatically generated passwords have been rather
predictable. :-(
MFC after: 1 day
2001-08-21 13:33:20 +00:00
Brian Somers
376958b412
Fix two typos
2001-08-21 13:20:02 +00:00