le
58075b5ab9
Don't allow to create a drive that already exists.
2004-10-02 20:50:21 +00:00
le
8ff45b1742
Correctly skip the '/dev/' part when creating new drives and prefix
...
a drive's provider with '/dev/' when printing the config.
Reported by: will@
2004-10-02 20:12:20 +00:00
phk
f697f4f13e
Get debugging macros from sivar.h
...
Disable some code which magics minor numbers into card/port numbers.
I think we will have to parse this from the device name in the future,
but I need to confer with peter@ about this.
Put sicontrol back in the build.
Troublespotter: dwhite
2004-10-02 18:51:37 +00:00
phk
955182f9c8
Add #ifdef _KERNEL which allows sicontrol(8) to include this file
...
from userland to get the debugging definitions.
2004-10-02 18:49:29 +00:00
phk
df875e966b
Augh!
...
Disconnect sicontrol(8) from the build while I sort out the trouble
I created.
2004-10-02 18:42:00 +00:00
takawata
2e6eb5bbd1
Fix a problem when you try to mount a directory on another directory
...
belongs to the same filesystem. In this problem, getcwd(3) will fail.
I found the problem two years ago and I have forgotten to merge.
http://docs.FreeBSD.org/cgi/mid.cgi?200202251435.XAA91094
2004-10-02 17:17:04 +00:00
pjd
631ed342dc
Fix a deadlock in ggatel(8) simlar to one which was fixed some time
...
ago in md(4).
Submitted by: Ivan Voras <ivoras@fer.hr>
2004-10-02 16:58:33 +00:00
phk
a199369c05
Use generic device/tty adaptation code.
...
New device names are "{tty|cua}A$(card)$(port)[.init|.lock]"
Put a portname in the port structure if SI_DEBUG is defined to avoid
need to inspect minor number to construct name..
Constify some strings.
Remove duplicated DBG_ #defines.
2004-10-02 16:56:08 +00:00
stefanf
9bf235d920
Prefer C99's __func__ over GCC's __FUNCTION__.
2004-10-02 16:42:33 +00:00
pjd
06c0f5f487
Unlock g_gate_list_mtx mutex when we cannot allocate unit number.
...
MT5 candidate.
PR: kern/72253
Submitted by: Ivan Voras <ivoras@fer.hr>
2004-10-02 15:03:26 +00:00
phk
cd175bdd40
Add support for CTS modemsignal as well.
...
RI does not seem to be supported.
2004-10-02 12:47:30 +00:00
stefanf
d00a4eaaea
Pass an array of gid_t rather than an array of int to getgroups().
...
PR: 56646
2004-10-02 11:40:48 +00:00
alc
19377ec887
Eliminate unnecessary uses of PHYS_TO_VM_PAGE() from pmap_enter(). These
...
uses predate the change in the pmap_enter() interface that replaced the
page's physical address by the address of its vm_page structure. The
PHYS_TO_VM_PAGE() was being used to compute the address of the same vm_page
structure that was being passed in.
2004-10-02 07:34:58 +00:00
alc
de84da4673
Remove an unused declaration. (I should have included this change in
...
revision 1.486.)
2004-10-02 05:58:32 +00:00
obrien
cb28f451c0
Finish the de-orbital burn of our previous FreeBSD version compat libs
...
living in usr/src. We need to use them from ports to record dependencies.
Discussed with: re(scottl)
2004-10-02 05:48:09 +00:00
alc
ad2a4ca3e0
Add a SOCKBUF_LOCK() to a rarely executed path in do_sendfile().
2004-10-02 05:37:47 +00:00
scottl
e3a0a37e82
Enable the new compat4x libs.
2004-10-02 01:47:56 +00:00
scottl
828266c91d
Update libc, libc_r, and libperl and add libhistory, libm, libopie, libpcap,
...
and libreadline from 4.10.
2004-10-02 01:46:20 +00:00
sam
9cd015b873
Remove extraneous SECPOLICY_LOCK_DESTROY calls that cause the mutex to be
...
destroyed twice.
Submitted by: Roselyn Lee
2004-10-02 00:19:05 +00:00
mlaier
f4ca848950
dc(4) is now supported as well. While here sort the list and remove awi,
...
which isn't yet supported.
2004-10-01 20:44:48 +00:00
kensmith
a56900ba68
Prepare for 5.3 release by updating libraries that had changed in
...
4.10 and adding libraries whose version got bumped recently.
Updated libraries: libc, libc_r, and libperl. Added: libhistory,
libm, libopie, libpcap, and libreadline.
2004-10-01 20:33:26 +00:00
schweikh
7a133f54fc
General overhaul:
...
- Makefile: WARNS=6
- man page: sort options, better xrefs, informative BUGS section
- C source: proper option parsing, use printer control (.ctl) device,
removed heaps of bit rot, style(9) cleanup, WARNS=6 cleanup.
Prodded by: joerg
2004-10-01 20:04:20 +00:00
ru
3a3e9a66ad
Document MD commands.
2004-10-01 19:44:42 +00:00
cognet
d3c9c2ab1a
Add optimized version of the bswap macroes for constants if __OPTIMIZED__ is
...
defined.
2004-10-01 16:55:59 +00:00
cognet
898ea0c226
There's no need to turn on MALLOC_PROFILE by default.
2004-10-01 16:51:37 +00:00
cognet
d91492d389
Don't attempt to profile __udivsi3() and friends, as mcount() uses them.
2004-10-01 16:44:08 +00:00
nyan
3bdfc2d86c
Add more PnP serial cards support.
...
PR: kern/72226
Submitted by: Hirokazu WATANABE <wnabe@par.odn.ne.jp>
2004-10-01 15:58:54 +00:00
nyan
05d726664c
Fix BIOS default geometry on pc98.
...
PR: kern/72225
Submitted by: Hirokazu WATANABE <wnabe@par.odn.ne.jp>
2004-10-01 15:57:23 +00:00
kensmith
911789fdaa
Bump the library version numbers for the following libraries:
...
/lib/{libm,libreadline}
/usr/lib/{libhistory,libopie,libpcap}
in preparation for doing the same thing to RELENG_5. HUGE amounts of
help for determining what to bump provided by kris.
Discussed on: freebsd-current
Approved by: re (not required for commit but something like this should be)
2004-10-01 15:38:07 +00:00
mux
05b626ea17
Read the MAC address in the EEPROM in the correct byte order. This
...
is a no-op on little endian architectures, but fixes getting the MAC
address for some dc(4) cards on big endian architectures.
This is a RELENG_5 candidate.
Tested by: gallatin (powerpc), marius (sparc64)
First version of the patch written by: gallatin
2004-10-01 15:23:31 +00:00
alfred
0efc91b067
Clear a process's procfs trace points upon delivery of SIGKILL.
...
MT5 candidate. (Desired features for 5.3-RELEASE "More truss problems")
2004-10-01 14:15:20 +00:00
sos
104924bb06
Always set half'n'half mode on ICH* chips.
2004-10-01 09:06:22 +00:00
sos
a2615e3bda
Fix the serverworks modesetting code, of mask offset was wrong.
2004-10-01 09:04:53 +00:00
den
8d7277b204
Merge the following from the English version:
...
1.258 -> 1.259 hardware/common/dev.sgml
1.778 -> 1.779 relnotes/common/new.sgml
Obtained from: The FreeBSD Russian Documentation Project
2004-10-01 08:54:34 +00:00
ru
72ee9a6204
Install precious shared libraries with -S.
...
Prodded by: Xin LI
2004-10-01 07:57:02 +00:00
ru
0664528982
Keep each prog on its own line so that diffs between various
...
*_crunch.conf files are easier to read.
2004-10-01 07:54:37 +00:00
ru
4b3aeae7bd
Take away unused libraries.
2004-10-01 07:33:09 +00:00
green
010d0a4ade
Add ALTQ support for dc(4), based upon a mostly-working patch from mlaier.
2004-10-01 07:04:09 +00:00
green
d8d12b2198
Conditionalize IFF_NEEDSGIANT, like everything else here, on IS_MPSAFE.
...
The driver doesn't look any less safe without Giant than with, and works
with IS_MPSAFE set to 1 here, so others should probably test it as such.
2004-10-01 07:01:38 +00:00
phk
2e5b8b9883
Fix a LOR relating to freeing cdevs.
2004-10-01 06:33:39 +00:00
imp
b360d8fe2f
assign 187 to ata over ethernet for Sam's ata over ethernet driver.
...
# Yes, this is the right thing to do: we keep assignments for 4.x here
# to document them, and Sam has a nearly completed driver.
2004-10-01 06:04:24 +00:00
alfred
a72e384f52
cover soreadable and sowriteable with the corresponding socketbuffer locks.
2004-10-01 05:54:06 +00:00
das
c32ecae436
nfsclient/nfs_bio.c has a PHOLD() without a PRELE(). Neither should
...
be necessary here. Also, use killproc() instead of psignal().
2004-10-01 05:01:41 +00:00
das
e399d76f1b
Avoid calling _PHOLD(p1) with p2's lock held, since _PHOLD()
...
may block to swap in p1. Instead, call _PHOLD earlier, at a
point where the only lock held happens to be p1's.
2004-10-01 05:01:29 +00:00
das
9d2cf40e63
Don't PHOLD() the target process in procfs, since this is already done
...
in pseudofs. Moreover, PHOLD() may block between the p_candebug()
access check and the actual operation.
2004-10-01 05:01:17 +00:00
das
81fc7cf485
Fix the following race:
...
1. Process p1 is currently being swapped in.
2. Process p2 calls linux_ptrace(PTRACE_GETFPXREGS, p1_pid, ...)
3. After acquiring a reference to FIRST_THREAD_IN_PROC(p1),
p2 blocks in faultin() while p1 finishes being swapped in.
This means p2 won't get back the lock on p1 until after p1's
threads are runnable.
4. After p1 is swapped in, the first thread in p1 exits.
5. p2 now uses its dangling reference to p1's first thread.
2004-10-01 05:01:00 +00:00
ru
6bd373b4fa
(forced commit) Previous revision documented the "bcachestat" command.
2004-10-01 00:16:11 +00:00
ru
6131d82787
The "autoboot" command also has a third (optional) parameter.
2004-10-01 00:15:13 +00:00
kensmith
58eb051f4e
It turns out the ia64 architecture's disc2 overflows if we put the
...
ports/ tree on it. This makes putting the ports/ tree on disc2 at
all dependent on the NOPORTREADMES knob as well as the NOPORT knob
(at the moment NOPORT may be set while NOPORTREADMES isn't, that
should probably be revisited). And it hardcodes ia64 for NOPORTREADMES
by request the ia64 release builder.
While here really get rid of the temp file 'make index' leaves behind.
Tested by: i386 and ia64 'make release'
Reviewed by: marcel
MFC after: 1 day
2004-09-30 22:59:47 +00:00
ru
bad5ef964a
Don't give instructions on how to disable ACPI in the MI section.
...
For novice users, beastie.4th can just do it. Expert users can
read ACPI instructions by typing "help ACPI".
2004-09-30 21:57:16 +00:00