jhb [Tue, 20 Nov 2001 07:13:40 +0000 (07:13 +0000)]
Unifdef all the SGI code. It mainly added clutter while providing some
specialized logging, SGI-specific priority massaging, and SCI-specific
time trimming support. Also add missing $FreeBSD$'s.
jhb [Tue, 20 Nov 2001 06:36:09 +0000 (06:36 +0000)]
Use fixed-size fields in the structure for the timed protocol. This
includes changing a struct timeval to an explicit structure of two
int32_t's. This requires using temporary timevals in several places
when calling gettimeofday(), settimeofday(), etc. With this timed now
works properly on 64-bit platforms such as Alpha.
imp [Tue, 20 Nov 2001 06:18:36 +0000 (06:18 +0000)]
Comment out some bogus entries. somehow they match everything, which
is bad. I need to correct pccarddev, but I'm not sure how just at the
moment. So I'm firewalling the damage.
yar [Mon, 19 Nov 2001 21:52:03 +0000 (21:52 +0000)]
Eliminate another instance of the old and well-known
DoS bug that the select(2)/accept(2) pair is called on
a socket that is in the blocking I/O mode. The bug is
triggered if a selected connection dies before the accept(2)
leading to the accept(2) blocking virtually forever.
jhb [Mon, 19 Nov 2001 21:27:00 +0000 (21:27 +0000)]
Split the mfsroot out from the kernel for the 2.88 boot floppy and the
Alpha CD. This makes it easier to customize ISO's locally by being able
to replace either the mfsroot or the kernel w/o having to do both. It also
allows us to switch to using the full GENERIC kernel when booting from CD
on the Alpha and on x86 when using cdboot. We don't do this yet, however.
rwatson [Mon, 19 Nov 2001 21:14:50 +0000 (21:14 +0000)]
o Cleanup of includes: user.h may be a catch-all, but that's not
entirely desirable. Back out previous commit, and clean up includes
to be more minimal.
iedowse [Mon, 19 Nov 2001 20:50:44 +0000 (20:50 +0000)]
Back out revision 1.117; the correct solution is to upgrade the
firmware on the drive in question. The pattern also matched far
too many Hitachi drives.
keramida [Mon, 19 Nov 2001 20:17:19 +0000 (20:17 +0000)]
Other committers do not mention their personal names and/or email
addresses when adding stuff, so it seems fair to stop ``getting all
the fame'' by having my name displayed on login sessions.
sumikawa [Mon, 19 Nov 2001 18:47:49 +0000 (18:47 +0000)]
Support MELCO LUA2-TX USB ethernet adaptor.
Actually this porting supports Pegasus II chip so I guess some other
devices supported by NetBSD also work. But the devices list are not
included because I cannot confirm if they work.
green [Mon, 19 Nov 2001 18:15:12 +0000 (18:15 +0000)]
Add module "lomac" to the modules Makefile, i386 section. If someone on
Alpha can verify that it compiles fine there, too, this should be moved
to the MI section (or that problem fixed); I've only had x86 hardware to
est with.
obrien [Mon, 19 Nov 2001 17:30:26 +0000 (17:30 +0000)]
Upper case the FreeBSD loader prompt.
On OFW based machines, it is just too confusing having the firmware and
OS loader giving the same prompt. This is a nice compromise that 99% of the
users on non-OFW platforms will probably not even notice.
iedowse [Mon, 19 Nov 2001 15:43:50 +0000 (15:43 +0000)]
Deal with a few issues that cropped up following the recent changes
to the code for translating socket and private ioctls:
- Only perform socket ioctl translation if the file descriptor is a
socket.
- Treat socket ioctls on non-sockets specially, and for now assume
that these are directed at a tap/vmnet device, so translate the
ioctl numbers as appropriate (the way if_tap abuses some socket
ioctls to pass non-ifreq data is utterly bogus, but this is how
VMware on FreeBSD has always "worked"; I will deal with this
later).
- Add (untested) support for translating SIOCSIFADDR.
- In all cases where we fail to translate an ioctl, return ENOIOCTL
so that other handlers have a chance to do the translation.
This should fix the "/dev/vmnet1: Invalid argument" errors that
users of VMware were experiencing, though I have only verified this
on RELENG_4.
rwatson [Mon, 19 Nov 2001 15:26:36 +0000 (15:26 +0000)]
#include <sys/user.h> rather than individually including a plethora
of kernel include files, reducing the replication of kernel include
dependency information in userland.
matusita [Mon, 19 Nov 2001 14:43:29 +0000 (14:43 +0000)]
Add fsck tool for UFS to /stand tools (again).
Actually src/release/i386/boot_crunch.conf rev 1.45 does this change,
but unfortunately there is no src/sbin/fsck_4.2bsd directory, but
src/sbin/fsck_ffs.
This commit replaces 'fsck_4.2bsd' to 'fsck_ffs', and add a link to
'fsck_4.2bsd' and 'fsck_ufs'. Note that 4-stable's fsck(8) have an
ability of fsck_ffs also, there is no need to MFC at least now.
Tested only for: i386 (but I believe this doesn't break for other archs)
sobomax [Mon, 19 Nov 2001 09:25:30 +0000 (09:25 +0000)]
Make kevents on pipes work as described in the manpage - when the last
reader/writer disconnects, ensure that anybody who is waiting for the
kevent on the other end of the pipe gets EV_EOF.
peter [Mon, 19 Nov 2001 07:25:42 +0000 (07:25 +0000)]
Initial cut at calling the EFI-provided FPSWA (Floating Point Software
Assist) driver to handle the "messy" floating point cases which
cause traps to the kernel for handling.
peter [Mon, 19 Nov 2001 07:09:47 +0000 (07:09 +0000)]
Lookup the EFI_FPSWA driver and pass the interface pointer through to the
kernel before we call ExitBootServices(). I've typed the definitions
in efifpswa.h from the Intel FPSWA manual (urk).
peter [Mon, 19 Nov 2001 07:05:10 +0000 (07:05 +0000)]
Remove bootinfo.bi_kernel. It isn't used by the kernel. struct bootinfo
should go away on ia64, we should be loader metadata based since that is
the only way we can boot (loader, skiload).