Peter Wemm
6f8c6a6977
Make ps -M corefile work again. This has been broken for quite some time.
...
kvm_proclist() was aborting when it saw the ithreads with no pgrp.
2001-08-24 09:43:44 +00:00
Peter Wemm
241ca2287a
Banish hard-coded KERNBASE references from savecore. Dynamically
...
adjust to whatever kernbase is in the kernel that we are dumping.
2001-08-24 09:26:17 +00:00
Peter Wemm
fd131b1483
Dynamically adapt to kernbase changes on crashdumps, falling back to
...
KERNBASE if the "kernbase" symbol is not present on older kernels.
2001-08-24 09:12:04 +00:00
Peter Wemm
f85f304006
Dynamically adjust to the value of KERNBASE in a crashdump, with
...
a fallback for old kernels without the "kernbase" symbol.
2001-08-24 08:53:30 +00:00
Peter Wemm
c1c2006ca7
Export the actual KERNBASE to the symbol table. We can use nlist() to get
...
this without having to second guess it in userland.
2001-08-24 08:29:54 +00:00
Peter Wemm
5897d41109
Move cpu_fxsr definition to C code (so debug info is generated) and where
...
it is easily #ifdef'ed so that we dont miss unintentional references to it.
2001-08-24 08:27:24 +00:00
Warner Losh
662460d3d5
Move code to shutdown the pcic_pci_shutdown. Call it on system
...
shutdown and also before we get going with the device initialization.
This may fix the hangs some people are seeing on warmboot. It appears
that some machines will reset the cardbus bridge on boot, while others
don't. So we turn off the card, and ack the interrupts (which likely
is a nop in the shutdown case since we're still fielding interrupts).
This should turn off the interrupts.
Since I don't have hardware that hangs on reboot, I'm committing this
without testing that aspect of the patch (it causes no harm on my
Dell).
2001-08-24 07:43:35 +00:00
Warner Losh
9bec31a4c0
Two fixes. First, put into place a more generic chipset specific
...
initialization structure. Warn the user for those chipsets that
aren't yet customized that they might not work. Second, try to power
off the slot on attach and ack the interrupts. I don't know, but this
might solve the hangs that people will see on Thinkpads if they set
hw.pcic.init_routing=1.
2001-08-24 07:30:18 +00:00
Nick Sayer
2afcd749c7
Get rid of redundant device_set_desc. Both the PCI and PCCARD versions
...
do this in the probe routine now.
2001-08-24 05:47:50 +00:00
Kenneth D. Merry
b915499708
Remove a duplicate "that".
...
Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
2001-08-24 02:24:58 +00:00
Nick Sayer
fa081a357e
In order for the MA301 to pass interrupts from the PCCard, you must
...
go into the PLX 9052's interrupt control register and turn on the magic
interrupt enable bit.
Partial thanks are due to OpenBSD for pointing out that the chip is a
PLX 9052 and pointing me to the datasheet PDF.
2001-08-24 02:14:26 +00:00
Robert Watson
670f6b2fc6
o Clarify comments in vaccess_acl_posix1e() ACL evaluation routine so
...
as to improve readability and accuracy.
Obtained from: TrustedBSD Project
2001-08-24 01:41:42 +00:00
Bruce A. Mah
a6c6c6a29b
Reflect that the lge(4) driver has been tested on the Alpha.
...
Reviewed by: wpaul
2001-08-24 00:30:50 +00:00
Dima Dorfman
dae32f31ab
begin executed --> being executed
...
Obtained from: NetBSD
2001-08-24 00:18:37 +00:00
Nick Sayer
15d2a7c783
if_wi can be either pci (without pccard) or pccard
2001-08-23 23:58:49 +00:00
John Baldwin
6f2d81026c
- callout_stop() now returns an integer value instead of void so
...
describe it.
- Add a return values section.
2001-08-23 23:52:59 +00:00
John Baldwin
a63e78202c
Spelling fix: depreciated -> deprecated.
2001-08-23 23:41:53 +00:00
John Baldwin
e6f6e49f5c
Remove refernces to M_ASLEEP/asleep/await.
2001-08-23 23:40:53 +00:00
John Baldwin
b4e95913f7
Remove references to asleep/await.
2001-08-23 23:37:31 +00:00
John Baldwin
b0b7cb508c
Use witness_upgrade/downgrade for sx_try_upgrade/downgrade.
2001-08-23 22:51:22 +00:00
John Baldwin
8df70cb7a9
Whitespace nit.
2001-08-23 22:47:51 +00:00
John Baldwin
c19fe5e261
Add witness_upgrade() and witness_downgrade() for handling upgrades and
...
downgrades of shared/exclusive locks.
2001-08-23 22:47:05 +00:00
John Baldwin
d7c4536a55
Convert some KASSERT()'s into if (foo) panic() because they are testing
...
how locks are managed by the rest of the kernel, not verifying the internal
integrity of witness itself.
2001-08-23 22:44:47 +00:00
David Greenman
dfa902ee24
Killed reference to MAP_INHERIT which is not supported in FreeBSD.
2001-08-23 22:39:52 +00:00
Dima Dorfman
98ec4706ee
Correct the comment about bpfattach() to match reality.
...
PR: 29967
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-08-23 22:38:08 +00:00
Dima Dorfman
745bab7f84
Correct a typo in a comment: FIN_WAIT2 -> FIN_WAIT_2
...
PR: 29970
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-08-23 22:34:29 +00:00
Dima Dorfman
d736886a81
Implement stty ek
as documented.
...
PR: 24063
Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
2001-08-23 22:31:13 +00:00
Dima Dorfman
81b83ee95d
$units is the canonical name for the number of units to create; use it.
...
PR: 29971
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-08-23 22:19:53 +00:00
Dima Dorfman
d4b0f8e25a
Spelling police: queueing -> queuing
...
PR: 29985
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-08-23 21:58:38 +00:00
Dima Dorfman
e0723ac957
Spelling police: relabelled -> relabeled
...
PR: 29985
Submitted by: {aac,amr,mlx}.4
2001-08-23 21:52:38 +00:00
Dima Dorfman
f1b113fd86
Capitalize Linux where appropriate.
...
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-08-23 21:51:16 +00:00
Jeroen Ruigrok van der Werven
28773db3c1
This commit was generated by cvs2svn to compensate for changes in r82230,
...
which included commits to RCS files with non-trunk default branches.
2001-08-23 21:46:59 +00:00
Jeroen Ruigrok van der Werven
2cf92774d2
String format patch
2001-08-23 21:46:59 +00:00
Dima Dorfman
d144b78a29
Spelling police: withough -> without
...
Submitted by: Joseph Mallett <jmallett@xMach.org>
2001-08-23 21:36:18 +00:00
Dima Dorfman
e52710be25
The name of the kernel really isn't KERNEL now.
...
Submitted by: setantae@submonkey.net
2001-08-23 21:17:28 +00:00
Bruce A. Mah
a56ff0d456
New release note: SA-01:56.
...
Fix entry on SA-01:55, which was mislabeled as SA-01:54. Also fix a
typo (I still can't spell "compatibility" correctly, it seems).
2001-08-23 21:14:42 +00:00
Dima Dorfman
5222969570
``recognized -> recognize'' where appropriate.
...
Obtained from: OpenBSD
2001-08-23 21:13:31 +00:00
John Baldwin
1432aa0c5e
Add a new kernel option RESTARTABLE_PANICS. If this option is present,
...
then one can restart from a panic by resetting the panicstr variable to
NULL. This commit conditionalizes the previously committed functionality
on this variable. It also removes the __dead2 attribute from the panic()
function so that when one continues from a panic() the behavior will
be predictable.
2001-08-23 20:32:21 +00:00
Jimmy Olgeni
86df99e49e
Misc. changes:
...
* Rename cvsup-bin to cvsup (cvsup-bin does not exist anymore).
* Add the net/rsync port to the CDROM packages.
* Add the misc/compat* ports.
Approved by: jkh
2001-08-23 19:54:11 +00:00
Andrey A. Chernov
471b172744
Now we implement l_len<0 per POSIX, describe it.
2001-08-23 19:00:34 +00:00
Bruce A. Mah
984f40aeb8
Expansions and clarification of some existing release notes items.
...
Submitted by: Alex Kapranoff <kapr@acm.org>
2001-08-23 18:39:04 +00:00
Bill Paul
645ed1a78b
Fix a bug in the ste_setmulti() routine. The NIC has 4 16-bit multicast
...
hash registers, not 2 32-bit ones. This would prevent the multicasr filter
from being programmed correctly in some cases.
2001-08-23 18:22:55 +00:00
Andrey A. Chernov
f6bf1abc1b
Stupid error from my side in prev. commit: || -> &&
2001-08-23 18:02:29 +00:00
John Baldwin
e2870579fa
Clear the sx_xholder pointer when downgrading an exclusive lock.
2001-08-23 17:57:37 +00:00
Andrey A. Chernov
5d97bedb22
vn_stat(): if va_size (u_quad_t) > OFF_MAX, return EOVERFLOW, don't copy it
...
blindly to st_size
2001-08-23 17:56:48 +00:00
Andrey A. Chernov
2a31175b6e
Copy yet one check for SEEK_END overflow
2001-08-23 17:12:42 +00:00
Andrey A. Chernov
6fb9fbceab
Add yet one check for SEEK_END overflow
2001-08-23 17:09:23 +00:00
Andrew Gallatin
c18092b2fb
Bail if we go beyond the directory size, not just if we hit it.
...
Certain ISO fs's (like the one for 4.4-RC1 disc1 on alpha)
trigger this, and we end up opening a null file name. This causes us to get
a false match for "kernel.ko" when it does not exist.
2001-08-23 17:08:26 +00:00
Andrey A. Chernov
db106eff39
lseek: fix check for vattr.va_size overflow. Check suggested by bde simple not
...
works with unsigned types.
2001-08-23 17:01:25 +00:00
Andrey A. Chernov
e02faad5ca
Implement l_len<0 per POSIX check.
...
Check for valid l_whence too.
2001-08-23 16:13:59 +00:00