]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoThis commit was generated by cvs2svn to compensate for changes in r123394,
des [Wed, 10 Dec 2003 16:46:08 +0000 (16:46 +0000)]
This commit was generated by cvs2svn to compensate for changes in r123394,
which included commits to RCS files with non-trunk default branches.

20 years agoMFP4: really fix resp issue, and don't trim trailing spaces (#43727)
des [Wed, 10 Dec 2003 16:46:08 +0000 (16:46 +0000)]
MFP4: really fix resp issue, and don't trim trailing spaces (#43727)

20 years agoAdd reference to standards/55112 for next time SHLIB_MAJOR is bumped.
mikeh [Wed, 10 Dec 2003 16:33:17 +0000 (16:33 +0000)]
Add reference to standards/55112 for next time SHLIB_MAJOR is bumped.

Suggested by: wollman

20 years agoImplement seeking to earlier offsets in gzipfs. This allows my loader
green [Wed, 10 Dec 2003 16:10:34 +0000 (16:10 +0000)]
Implement seeking to earlier offsets in gzipfs.  This allows my loader
to e.g. correctly load all .ko.gz's I've tried, as opposed to messing
up trying to read section headers on some of them.

20 years agoAdd a note about MPTABLE_FORCE_HTT.
jhb [Wed, 10 Dec 2003 15:59:20 +0000 (15:59 +0000)]
Add a note about MPTABLE_FORCE_HTT.

Prompted by: John Stockdale <jstockdale@stanford.edu>

20 years agoChange rc.d/syscons to not need /usr/sbin/ispcvt to exist. This should
peter [Wed, 10 Dec 2003 15:48:49 +0000 (15:48 +0000)]
Change rc.d/syscons to not need /usr/sbin/ispcvt to exist.  This should
make it work for all non-i386 syscons platforms.

20 years agoNursemaid: Fix compilation.
bms [Wed, 10 Dec 2003 15:09:38 +0000 (15:09 +0000)]
Nursemaid: Fix compilation.

Sponsored by: Weyland-Yutani Corporation

20 years agoAdd sticky(8) cross reference.
dds [Wed, 10 Dec 2003 15:08:41 +0000 (15:08 +0000)]
Add sticky(8) cross reference.

PR: docs/60068
Submitted by: Ken Stailey
MFC after: 2 weeks

20 years agoPowerPC-conditional changes:
grehan [Wed, 10 Dec 2003 13:11:03 +0000 (13:11 +0000)]
PowerPC-conditional changes:
 - include ashldi3.c/ashrdi3.c from libc for UFS 64-bit arith
 - pull in syncicache.c from libc, and define _STANDALONE for
   loader usage

20 years ago- Put manh/manl bitfields into correct-sized integral type.
grehan [Wed, 10 Dec 2003 13:04:42 +0000 (13:04 +0000)]
- Put manh/manl bitfields into correct-sized integral type.
- remove XXX normalization bit comment, code is correct.

20 years agoUse .St -susv2 rather than "The Single UNIX specification".
maxim [Wed, 10 Dec 2003 10:52:48 +0000 (10:52 +0000)]
Use .St -susv2 rather than "The Single UNIX specification".

Submitted by: osa

20 years agoGrammar.
ru [Wed, 10 Dec 2003 09:43:53 +0000 (09:43 +0000)]
Grammar.

20 years agoEnable FICL build on powerpc
grehan [Wed, 10 Dec 2003 09:18:42 +0000 (09:18 +0000)]
Enable FICL build on powerpc

20 years agoUpdate libstand filesystems to be in-line with tier-1 platforms.
grehan [Wed, 10 Dec 2003 09:17:01 +0000 (09:17 +0000)]
Update libstand filesystems to be in-line with tier-1 platforms.

20 years ago- Bring Makefile up to rev with sparc64 in terms of config options and rules
grehan [Wed, 10 Dec 2003 09:16:22 +0000 (09:16 +0000)]
- Bring Makefile up to rev with sparc64 in terms of config options and rules
- Move loader relocation up to 0x1C00000. This is in line with OSX bootx,
  and allows more space for boot-time modules/ramdisks without conflicting
  with OpenFirmware's use of RAM

20 years agoDisable floating point on PowerPC for the ficl library.
grehan [Wed, 10 Dec 2003 09:10:54 +0000 (09:10 +0000)]
Disable floating point on PowerPC for the ficl library.

20 years agoDefine 'arch-powerpc'
grehan [Wed, 10 Dec 2003 09:09:38 +0000 (09:09 +0000)]
Define 'arch-powerpc'

20 years agoFICL system-dependent files for powerpc. Taken from the i386 versions,
grehan [Wed, 10 Dec 2003 09:05:08 +0000 (09:05 +0000)]
FICL system-dependent files for powerpc. Taken from the i386 versions,
which were the most relevant.

20 years agoimac revA-D and beige G3 OpenFirmware uses the "ide" string for
grehan [Wed, 10 Dec 2003 08:58:48 +0000 (08:58 +0000)]
imac revA-D and beige G3 OpenFirmware uses the "ide" string for
ATA drives.

20 years ago- removed obsolete ppc_exit/ppc_boot functions
grehan [Wed, 10 Dec 2003 08:55:53 +0000 (08:55 +0000)]
- removed obsolete ppc_exit/ppc_boot functions
- OpenFirmware returns overlapping memory regions. Use a simple
  brute force algorithm to merge these into non-overlapping
  regions. This fixes bugs in reporting of available memory
  and also prevents pages from being added twice in the VM system.

20 years agodon't touch after free.
ume [Wed, 10 Dec 2003 05:01:41 +0000 (05:01 +0000)]
don't touch after free.

20 years agoAdd just enough of i386/include/pcvt_ioctl.h to amd64/include/pcvt_ioctl.h
obrien [Wed, 10 Dec 2003 02:49:17 +0000 (02:49 +0000)]
Add just enough of i386/include/pcvt_ioctl.h to amd64/include/pcvt_ioctl.h
such that 'ispcvt' can build.  Unforunately 'ispcvt' is needed in order for
/etc/rc.d/syscons to run.  This fixes the bug where I could not get my
keymap effective at boot.

20 years agoAdd a short description of the kse_switchin(2) syscall to the kse
marcel [Wed, 10 Dec 2003 02:38:51 +0000 (02:38 +0000)]
Add a short description of the kse_switchin(2) syscall to the kse
manpage and add a kse_switchin link. While here, list kse_thr_interrupt
before kse_wakeup in the MLINKS variable and the synopsis.

20 years agoWrite the thread pointer (val) in the kse mailbox (loc) before we
marcel [Wed, 10 Dec 2003 01:59:23 +0000 (01:59 +0000)]
Write the thread pointer (val) in the kse mailbox (loc) before we
set the new context in kse_switchin(2). This allows us to return
an error to the calling context when the suword() fails.

20 years agoaccept() returns a file descriptor when it succeeds which is very
deischen [Tue, 9 Dec 2003 23:40:27 +0000 (23:40 +0000)]
accept() returns a file descriptor when it succeeds which is very
likely to be non-zero.  When leaving the cancellation point, check
the return value against -1 to see if cancellation should be
checked.  While I'm here, make the same change to connect() just
to be consisitent.

Pointed out by: davidxu

20 years agoAdjust an assertion for the TDF_TSNOBLOCK race handling in
jhb [Tue, 9 Dec 2003 21:14:31 +0000 (21:14 +0000)]
Adjust an assertion for the TDF_TSNOBLOCK race handling in
turnstile_unpend().  A racing thread that does not have TDI_LOCK set may
either be running on another CPU or it may be sitting on a run queue if it
was preempted during the very small window in turnstile_wait() between
unlocking the turnstile chain lock and locking sched_lock.

20 years agoAssert that the we never give a thread a NULL turnstile when waking it up.
jhb [Tue, 9 Dec 2003 21:09:54 +0000 (21:09 +0000)]
Assert that the we never give a thread a NULL turnstile when waking it up.

20 years agoRevert the previous race fix and replace it with a more general fix. The
jhb [Tue, 9 Dec 2003 21:09:04 +0000 (21:09 +0000)]
Revert the previous race fix and replace it with a more general fix.  The
case of a turnstile having no threads is just one instance of the more
general case where the thread we are examining has been partially awakened
already in that it has been removed from the turnstile's blocked list but
still has TDI_LOCK set.  We detect that case by checking to see if the
thread has already had a turnstile reassigned to it.

20 years agoAdd back the national support, this was removed by accident earlier.
sos [Tue, 9 Dec 2003 19:13:50 +0000 (19:13 +0000)]
Add back the national support, this was removed by accident earlier.

20 years agoAdd support for Moxa Technologies' Smartio CP-104UL/PCI 4S RS232 card.
obrien [Tue, 9 Dec 2003 17:31:25 +0000 (17:31 +0000)]
Add support for Moxa Technologies' Smartio CP-104UL/PCI 4S RS232 card.

Submitted by: Guido Falsi <mad@madpilot.net>

20 years agoAdd two additional headers for amd64 and x86.
kan [Tue, 9 Dec 2003 16:31:30 +0000 (16:31 +0000)]
Add two additional headers for amd64 and x86.

Reported by: Ollivier Robert

20 years agoRemove duplicate script for locore.o
gallatin [Tue, 9 Dec 2003 15:48:20 +0000 (15:48 +0000)]
Remove duplicate script for locore.o

20 years agoRemove redundant declaration of ddb_trap
gallatin [Tue, 9 Dec 2003 15:46:33 +0000 (15:46 +0000)]
Remove redundant declaration of  ddb_trap

20 years agoRemove an unused struct definition.
deischen [Tue, 9 Dec 2003 15:18:40 +0000 (15:18 +0000)]
Remove an unused struct definition.

20 years agoAdd cancellation points for accept() and connect().
deischen [Tue, 9 Dec 2003 15:16:27 +0000 (15:16 +0000)]
Add cancellation points for accept() and connect().

20 years agopmap_query_bit() should return false if the bit is not set.
gallatin [Tue, 9 Dec 2003 14:47:33 +0000 (14:47 +0000)]
pmap_query_bit() should return false if the bit is not set.

Reviewed by: grehan

20 years agoUse the "shut-down" and "reset-all" Forth procedures to halt and
gallatin [Tue, 9 Dec 2003 14:45:39 +0000 (14:45 +0000)]
Use the "shut-down" and "reset-all" Forth procedures to halt and
reboot, as calling OF_exit() just hangs a mac.

FreeBSD on my G4 800Mhz mac behaves identically to OSX for halt
and reboot now.

Reviewed by: grehan  (who also supplied the concept and sample code)

20 years agoMake breakpoint() actually break into ddb.
gallatin [Tue, 9 Dec 2003 13:37:31 +0000 (13:37 +0000)]
Make breakpoint() actually break into ddb.

Reviewed by: grehan

20 years agoTake a stab at fixing some of the macro-nightmare.
mtm [Tue, 9 Dec 2003 11:20:01 +0000 (11:20 +0000)]
Take a stab at fixing some of the macro-nightmare.
PTHREAD_NEW_STATE should work as expected now: a thread
marked PS_RUNNING will get sent a SIGTHR.
Still more cleanups necessary.

20 years agoFix the wrapper function around signals so that a signal handling
mtm [Tue, 9 Dec 2003 11:12:11 +0000 (11:12 +0000)]
Fix the wrapper function around signals so that a signal handling
thread on one of the mutex or condition variable queues is removed
from those queues before the real signal handler is called.

20 years agoUgghh, cvs add the functions necessary to lock the global signal action
mtm [Tue, 9 Dec 2003 11:06:55 +0000 (11:06 +0000)]
Ugghh, cvs add the functions necessary to lock the global signal action
table.

20 years agoo Add a wrapper around sigaction(2), so we can insert our own wrapper
mtm [Tue, 9 Dec 2003 11:04:36 +0000 (11:04 +0000)]
o Add a wrapper around sigaction(2), so we can insert our own wrapper
  around signals.
o Lock the process global signal action table.

20 years agoEnable cancellation points around some syscalls.
mtm [Tue, 9 Dec 2003 11:01:09 +0000 (11:01 +0000)]
Enable cancellation points around some syscalls.

20 years agoDon't panic for misalignment traps when the onfault handler is set.
marcel [Tue, 9 Dec 2003 09:52:14 +0000 (09:52 +0000)]
Don't panic for misalignment traps when the onfault handler is set.
Not all transfers between kernel and user space are byte oriented
and thus alignment safe. Especially fuword*() and suword*() are
sensitive to alignment but in general more optimal than block copies.
By catching the misalignment trap we avoid pessimizing the common
case of properly aligned memory accesses which we would do if we
were to use byte copies or adding tests for proper alignment.

Note that the expectation that the kernel produces aligned pointers
is unchanged. This change therefore relates to possible unaligned
pointers generated in userland.

20 years agoGrammar
mtm [Tue, 9 Dec 2003 09:04:45 +0000 (09:04 +0000)]
Grammar

20 years agoo Rename devfs_link() to make_symlink() and turn it into a generic
mtm [Tue, 9 Dec 2003 08:51:11 +0000 (08:51 +0000)]
o Rename devfs_link() to make_symlink() and turn it into a generic
  symlinking routine.
o Modify rc.d/jail to create its own symlink relative to the jail's
  filesystem

20 years agoFix the build of libski now that we use the "official" MADT table
marcel [Tue, 9 Dec 2003 08:35:17 +0000 (08:35 +0000)]
Fix the build of libski now that we use the "official" MADT table
definitions. Those are slightly different than the ones we used
before ACPI-CA 20031203 got imported. No structural or functional
change.

20 years agoIf fdescfs(5) is mounted in a jail unmount it before devfs(5).
mtm [Tue, 9 Dec 2003 08:32:43 +0000 (08:32 +0000)]
If fdescfs(5) is mounted in a jail unmount it before devfs(5).

Submitted by: "Scot W. Hetzel" <hetzelsw@westbend.net>

20 years agoIf rc.d/mountcritlocal is unable to mount local filesystems,
mtm [Tue, 9 Dec 2003 08:17:33 +0000 (08:17 +0000)]
If rc.d/mountcritlocal is unable to mount local filesystems,
then immediately terminate the shell (during boot this
also terminates the parent rc(8) shell). This was the pre-rcNG behaviour.

Also, remove an extraneous mount /.

PR: conf/57659
Submitted by: yar (with modifications)

20 years agoRedirect rc(8) output to a file in the jail's /var/log directory.
mtm [Tue, 9 Dec 2003 08:09:04 +0000 (08:09 +0000)]
Redirect rc(8) output to a file in the jail's /var/log directory.
Previously it was redirected to /dev/null.

Submitted by: phk

20 years agoOlder versions of the intersil firmware is a lot slower than newer
imp [Tue, 9 Dec 2003 07:41:07 +0000 (07:41 +0000)]
Older versions of the intersil firmware is a lot slower than newer
versions of the firmware.  It responds more slowly to commands, and we
bogusly failed them.  We assume that all versions of the intersil
firmware before 1.0 are 10 times slower and will give it 10x the time
to finish.

# for 5.2 we should always just assume 5s.

20 years agoDeclare gre(4) as being of IFT_TUNNEL, Like God Intended.
bms [Tue, 9 Dec 2003 06:39:25 +0000 (06:39 +0000)]
Declare gre(4) as being of IFT_TUNNEL, Like God Intended.

Suggested by: fenner

20 years agoUse sbufs instead of snprintf for parsing debug strings.
njl [Tue, 9 Dec 2003 06:29:57 +0000 (06:29 +0000)]
Use sbufs instead of snprintf for parsing debug strings.

20 years agoSync these two files.
obrien [Tue, 9 Dec 2003 05:40:06 +0000 (05:40 +0000)]
Sync these two files.

20 years agoDelete madt.h since definitions are now used from actbl.h
njl [Tue, 9 Dec 2003 03:18:06 +0000 (03:18 +0000)]
Delete madt.h since definitions are now used from actbl.h

20 years agoChanges to the import script to handle the compiler/debugger import.
njl [Tue, 9 Dec 2003 03:13:37 +0000 (03:13 +0000)]
Changes to the import script to handle the compiler/debugger import.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r123331,
njl [Tue, 9 Dec 2003 03:11:40 +0000 (03:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r123331,
which included commits to RCS files with non-trunk default branches.

20 years agoFix an off-by-one in the compiler path. Originally from iwasaki-san's
njl [Tue, 9 Dec 2003 03:11:40 +0000 (03:11 +0000)]
Fix an off-by-one in the compiler path.  Originally from iwasaki-san's
patches for the pmtools port.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r123329,
njl [Tue, 9 Dec 2003 03:06:28 +0000 (03:06 +0000)]
This commit was generated by cvs2svn to compensate for changes in r123329,
which included commits to RCS files with non-trunk default branches.

20 years agoEliminate a warning. Patch has been sent to the vendor.
njl [Tue, 9 Dec 2003 03:06:28 +0000 (03:06 +0000)]
Eliminate a warning.  Patch has been sent to the vendor.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r123327,
njl [Tue, 9 Dec 2003 03:06:09 +0000 (03:06 +0000)]
This commit was generated by cvs2svn to compensate for changes in r123327,
which included commits to RCS files with non-trunk default branches.

20 years agoAdd the APIC_HEADER definition back in and use the correct definition
njl [Tue, 9 Dec 2003 03:06:09 +0000 (03:06 +0000)]
Add the APIC_HEADER definition back in and use the correct definition
for local APIC override (64 bits).  Changes have been submitted to the
vendor.

20 years agoUse the ACPI-CA definitions for the various APIC tables instead of our
njl [Tue, 9 Dec 2003 03:04:19 +0000 (03:04 +0000)]
Use the ACPI-CA definitions for the various APIC tables instead of our
own.

20 years agoWe don't need to call _INI on processor objects now that ACPI-CA does
njl [Tue, 9 Dec 2003 03:01:54 +0000 (03:01 +0000)]
We don't need to call _INI on processor objects now that ACPI-CA does
this as it should.

20 years agoUnchanged files that are off the vendor branch.
njl [Tue, 9 Dec 2003 03:00:55 +0000 (03:00 +0000)]
Unchanged files that are off the vendor branch.

20 years agoLocal change: In the resume path, give up after waiting for a while
njl [Tue, 9 Dec 2003 02:57:46 +0000 (02:57 +0000)]
Local change:  In the resume path, give up after waiting for a while
for WAK_STS to be set.  Some BIOSs never set it.

20 years agoImport for 20031203 file off vendor branch.
njl [Tue, 9 Dec 2003 02:57:30 +0000 (02:57 +0000)]
Import for 20031203 file off vendor branch.

20 years agoLocal change: emulate a ReturnOp if the AML expects one but it isn't
njl [Tue, 9 Dec 2003 02:55:47 +0000 (02:55 +0000)]
Local change:  emulate a ReturnOp if the AML expects one but it isn't
present.  Some buggy BIOSs do not have a ReturnOp even though it is
required for a function to return a value.

20 years agoLocal change: Allow access to the field if it is within the region
njl [Tue, 9 Dec 2003 02:54:47 +0000 (02:54 +0000)]
Local change:  Allow access to the field if it is within the region
size rounded up to a multiple of the access byte width.  This overcomes
"off-by-one" programming errors in the AML often found in Toshiba
laptops.

20 years agoLocal change: Put various debugging options under ACPI_DISASSEMBLER.
njl [Tue, 9 Dec 2003 02:51:09 +0000 (02:51 +0000)]
Local change:  Put various debugging options under ACPI_DISASSEMBLER.

20 years agoUnchanged files that are off the vendor branch.
njl [Tue, 9 Dec 2003 02:48:38 +0000 (02:48 +0000)]
Unchanged files that are off the vendor branch.

20 years agoImport ACPI-CA 20031203
njl [Tue, 9 Dec 2003 02:45:16 +0000 (02:45 +0000)]
Import ACPI-CA 20031203

20 years agoThis commit was generated by cvs2svn to compensate for changes in r123315,
njl [Tue, 9 Dec 2003 02:45:16 +0000 (02:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r123315,
which included commits to RCS files with non-trunk default branches.

20 years agoUse mutex instead of low level thread lock to implement spinlock, this
davidxu [Tue, 9 Dec 2003 02:37:40 +0000 (02:37 +0000)]
Use mutex instead of low level thread lock to implement spinlock, this
avoids signal to be blocked when otherwise it can be handled.

20 years agoRemove files on the vendor branch that we no longer use. Some are no longer
njl [Tue, 9 Dec 2003 02:29:59 +0000 (02:29 +0000)]
Remove files on the vendor branch that we no longer use.  Some are no longer
distributed with ACPI-CA.  Note that all of these have been gone from HEAD
since 20030228.

20 years agoRename _thr_enter_cancellation_point to _thr_cancel_enter, rename
davidxu [Tue, 9 Dec 2003 02:20:56 +0000 (02:20 +0000)]
Rename _thr_enter_cancellation_point to _thr_cancel_enter, rename
_thr_leave_cancellation_point to _thr_cancel_leave, add a parameter
to _thr_cancel_leave to indicate whether cancellation point should be
checked, this gives us an option to not check cancallation point if
a syscall successfully returns to avoid any leaks, current I have
creat(), open() and fcntl(F_DUPFD) to not check cancellation point
after they sucessfully returned.

Replace some members in structure kse with bit flags to same some
memory.

Conditionally compile THR_ASSERT to nothing if _PTHREAD_INVARIANTS is
not defined.

Inline some small functions in thr_cancel.c.

Use __predict_false in thr_kern.c for some executed only once code.

Reviewd by: deischen

20 years agoPut on some factor 30+ bikeshed repellent and export the internal
peter [Tue, 9 Dec 2003 02:08:19 +0000 (02:08 +0000)]
Put on some factor 30+ bikeshed repellent and export the internal
Makefile.inc1 underscore targets with a big warning that they are
intentionally undocumented, subject to change without notice and
might poison your dog etc.  If you don't know what they are, then they
are not meant for you to use.

I've added these by hand to so many many trees that I've lost count.  I
find them rather useful.

20 years agoMore reliably check timeout for pthread_mutex_timedlock.
davidxu [Tue, 9 Dec 2003 00:52:28 +0000 (00:52 +0000)]
More reliably check timeout for pthread_mutex_timedlock.

20 years agoFix a problem where 'make installworld' will fail and leave the
gad [Tue, 9 Dec 2003 00:42:44 +0000 (00:42 +0000)]
Fix a problem where 'make installworld' will fail and leave the
system in a messy state *if* the user is upgrading from a system
which has no /libexec to a system which builds a DYNAMICROOT, and
if that user has set DISTDIR (as documented for ports, but it turns
out that the same variable name is used for a completely unrelated
purpose in 'make release').

There are other possible fixes for this issue, and ru@ may later
decide to commit one of those fixes.  I just wanted some fix in
ASAP, and this is the fix that I have tested.

Reviewed by: bde, imp, and ru

20 years agoSet __mbrtowc and __wcrtomb correctly when changing to the C/POSIX locale.
tjr [Mon, 8 Dec 2003 23:52:22 +0000 (23:52 +0000)]
Set __mbrtowc and __wcrtomb correctly when changing to the C/POSIX locale.
Save __mbrtowc and __wcrtomb and restore them when changing back to
the cached locale.

Reported by: perky

20 years agoCorrect the READ/WRITE CDB direction definition.
ps [Mon, 8 Dec 2003 23:12:57 +0000 (23:12 +0000)]
Correct the READ/WRITE CDB direction definition.

Submitted by: John Cagle <john.cagle@hp.com>

20 years agoFirst pass at attempted debrucification:
peter [Mon, 8 Dec 2003 22:47:59 +0000 (22:47 +0000)]
First pass at attempted debrucification:
- sort the -E switch into the right place.
- add previously missing -p pid in usage (from the last few commits).
- add -E to usage.
- consistently use trfile in the man page.

I knew I shouldn't have touched the man page.  If I commit to a man page,
it just makes people suspicious. :-)

20 years agoAdd hints about nForce3 issues
peter [Mon, 8 Dec 2003 22:38:39 +0000 (22:38 +0000)]
Add hints about nForce3 issues

20 years agoAdd a small program to test/measure with the RFC 2783 API for timing
phk [Mon, 8 Dec 2003 20:49:40 +0000 (20:49 +0000)]
Add a small program to test/measure with the RFC 2783 API for timing
external signals.

20 years agoHook boot0sio to the build. Use 'boot0cfg -b /boot/boot0sio' to use.
obrien [Mon, 8 Dec 2003 19:02:06 +0000 (19:02 +0000)]
Hook boot0sio to the build.  Use 'boot0cfg -b /boot/boot0sio' to use.

20 years agoAdd a serial console capable version of the FreeBSD boot manager. This has
bms [Mon, 8 Dec 2003 17:51:39 +0000 (17:51 +0000)]
Add a serial console capable version of the FreeBSD boot manager. This has
been lying around my tree(s) for the past year or so. It could do with TLC.

Requested by: obrien
Sponsored by: Weyland-Yutani Corporation

20 years agoDefine RAID 5+1 and RAID ADG fault tolerances
ps [Mon, 8 Dec 2003 16:07:35 +0000 (16:07 +0000)]
Define RAID 5+1 and RAID ADG fault tolerances

20 years agoGo back to using rev 1.18 where thread locks are used instead of KSE
deischen [Mon, 8 Dec 2003 13:33:20 +0000 (13:33 +0000)]
Go back to using rev 1.18 where thread locks are used instead of KSE
locks for [libc] spinlock implementation.  This was previously backed
out because it exposed a bug in ia64 implementation.

OK'd by: marcel

20 years ago- changed the logic in nd6_is_addr_neighbor(); check on-link prefixes
ume [Mon, 8 Dec 2003 11:59:21 +0000 (11:59 +0000)]
- changed the logic in nd6_is_addr_neighbor(); check on-link prefixes
  (not interface addresses) to see if a given address is on-link.
- skip offlink prefixes in neighbor determination in nd6_is_addr_neighbor.
- in nd6_is_addr_neighbor, regarded every address as on-link when the
  default router list is empty.  otherwise, we'd not be able make a neighbor
  cache for the address.
  this algorithm is applied to hosts only.
- in nd6_is_addr_neighbor, check if the default interface is equal to
  the interface in question in addition to check if the default router
  list is empty.

Obtained from: KAME

20 years agoTry to catch up with device name changes due to GEOM'ification. Remove
obrien [Mon, 8 Dec 2003 10:50:36 +0000 (10:50 +0000)]
Try to catch up with device name changes due to GEOM'ification.  Remove
note about requirement of operating on 'c' partition, GEOM removed this.

Mention RAIDframe, don't mention DPT hardware RAID as a good alternative.

20 years agoMore errata fixing for the SiI3112A disaster chip:
sos [Mon, 8 Dec 2003 09:22:20 +0000 (09:22 +0000)]
More errata fixing for the SiI3112A disaster chip:

Serialize access to the SATA channels, the chip messes up if
both channels are used at the same time.

The SiI3112 hereby takes the price as the most crappy SATA chip in
existance by a significant amount.

My advise to our userbase is to avoid this chip like the plague...

20 years agoMake msdosfs long filenames matching case insensitive again.
fjoe [Mon, 8 Dec 2003 08:32:20 +0000 (08:32 +0000)]
Make msdosfs long filenames matching case insensitive again.

PR: 59765
Submitted by: Ryuichiro Imura <imura@ryu16.org>

20 years agoFix more problems with the Silicon Image 3112A:
sos [Mon, 8 Dec 2003 08:27:52 +0000 (08:27 +0000)]
Fix more problems with the Silicon Image 3112A:

Setup decent transfer mode defaults as some BIOS's seem to put in
things that it *knows* doesn't work.
(Note to BIOS writers: stop doing that nonsense, we will get things
working with your crappy HW anyways, and then recommend users to buy
someone else's products that "just works", thankyou.. )

Limit the device transfer mode to ATA100/UDMA5 on generic SATA.
 Since we dont know if the user is using a pure SATA device or an
old PATA drive with a SATA converter dongle, we need to limit the
speed used here to cover up the problems with Marvell ATA-SATA bridges
used in lots of SATA products.

This workaround is enabled for all detectable SATA controllers as they
seem to have semilar problems here. One notable exception is all the
Promise pdc2037x chips which just always work (cudos to Promise!).

20 years agoMove the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktr
obrien [Mon, 8 Dec 2003 07:59:18 +0000 (07:59 +0000)]
Move the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktr
as these ioctl's aren't MD.  This also means they are installed in
/usr/include/dev/bktr now.  Also provide compatability wrappers for
where these headers lived in 4.x.

20 years agoUnbreak vmstat -i on ia64:
marcel [Mon, 8 Dec 2003 07:57:57 +0000 (07:57 +0000)]
Unbreak vmstat -i on ia64:
o  nintr and inamlen must by of type size_t, not int,
o  Remove now unnecessary casts,
o  Handle the aflag differently, because the intr. names have a
   fixed width and almost always have trailing spaces.

20 years agoDon't use caddr_t in mchash(). Also use C99 spellings over BSD ones.
obrien [Mon, 8 Dec 2003 07:54:15 +0000 (07:54 +0000)]
Don't use caddr_t in mchash().  Also use C99 spellings over BSD ones.

Requested by: bde,imp

20 years agoMove the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktr
obrien [Mon, 8 Dec 2003 07:22:42 +0000 (07:22 +0000)]
Move the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktr
as these ioctl's aren't MD.  This also means they are installed in
/usr/include/dev/bktr now.  Also provide compatability wrappers for
where these headers lived in 4.x.

20 years agoFix sort order.
obrien [Mon, 8 Dec 2003 06:41:28 +0000 (06:41 +0000)]
Fix sort order.

20 years agoRepo copied from sys/i386/include. All the <arch>/machine ones are
obrien [Mon, 8 Dec 2003 06:38:22 +0000 (06:38 +0000)]
Repo copied from sys/i386/include.  All the <arch>/machine ones are
going to share this copy.

20 years agoMove the ciss quirk to the right section, also update the comment
ps [Mon, 8 Dec 2003 06:29:38 +0000 (06:29 +0000)]
Move the ciss quirk to the right section, also update the comment
stating that the controllers do not support SYNC CACHE since ciss
only supports a small subset of the scsi spec.