Commit Graph

109635 Commits

Author SHA1 Message Date
mjl f20e680162 Correct args to err(), no need to include "mailwrapper:" prefix manually.
Triggered by posting to OpenBSD mailing list.
2003-03-08 22:57:51 +00:00
perseant 0493be6ba8 Take away "#ifdef LFS_UBC". 2003-03-08 22:14:31 +00:00
perseant 8feb2c22f5 Take away "#ifdef LFS_UBC". 2003-03-08 21:46:04 +00:00
dsl 8a6f95626f Avoid pulling strncpy() into minimal boot code 2003-03-08 21:30:59 +00:00
dsl ef18027d4d Don't trust %bp to point to same place in real and protected modes.
prot_to_real preserves %ebp but changes %ss and %sp.
(ok if real %ss is offset n*64k from protected %ss - which it has been)
2003-03-08 21:09:37 +00:00
fvdl d4bb6dd255 Extra file to be put in /rescue (fdisk). 2003-03-08 20:50:58 +00:00
fvdl 62e3f4a4b0 Set lists for XF4 on x86_64. Not quite a perfect match, since libGLU
isn't built shared (no shared libstdc++ because of external toolchain).
2003-03-08 20:49:13 +00:00
perry 6c5c3e644c note new postfix 2003-03-08 20:35:43 +00:00
perry 83fbadc93f resolve conflicts 2003-03-08 19:43:56 +00:00
perry b5fe7b6a73 update for postfix 2.0.6 2003-03-08 19:12:16 +00:00
perry 59d07125ee import postfix 2.0.6 2003-03-08 19:05:29 +00:00
tsutsui 004ae00514 Use cpu_number() in UVMHIST_LOG() rather than non-public ci_cpuid member
in struct cpu_info.
2003-03-08 15:17:23 +00:00
he b648593b37 Initialize the two new members of "struct consdev" to NULL, so that
this file compiles again.
2003-03-08 10:59:02 +00:00
lukem d8c1106869 add __RCSID() 2003-03-08 09:53:45 +00:00
he 34c6df3404 Initialize the two new members of "struct consdev" to NULL so that
this file compiles again.
2003-03-08 09:47:13 +00:00
he 0f55132c91 Initialize the two new members of "struct console" to NULL so that
this file compiles again.
2003-03-08 09:42:56 +00:00
dsl b44ef110a7 Support -ktt and -ktty, quote "tdev" in comment so table can be sorted. 2003-03-08 08:04:24 +00:00
lukem f043c0fb57 add __RCSID() 2003-03-08 08:03:34 +00:00
lukem e2d7870626 add RCSID 2003-03-08 07:42:33 +00:00
christos 5998d3b278 XXX: cast tdev to INT32 instead of UINT32 so that that sorting works as
before [NODEV entries come first]
2003-03-08 06:46:22 +00:00
rafal 67cca2386c Protect uses of MIPS_R5000 with #ifndef ENABLE_MIPS_R3NKK in new code just
as the old code does.
2003-03-08 05:18:25 +00:00
rafal 33fcc94c6f Add support for R5k secondary caches, from code Chris Sekiya sent me a long
time ago, with small tweaks by me.  Since the R5k doesn't do VCE, the pmap
still needs to be whacked for R5kSC CPUs to work correctly, but this is a
start.
2003-03-08 04:43:24 +00:00
tsutsui 12a8e27857 Remove .pdr section which is created by binutils-2.13.2.1
on objcopy call to make ECOFF kernels.
2003-03-08 02:58:55 +00:00
perseant 4b4f884b89 Add an lfs_strategy() that checks to make sure we're not trying to read
where the cleaner is trying to write, instead of tying up the "live"
buffers (or pages).

Fix a bug in the LFS_UBC case where oversized buffers would not be
checksummed correctly, causing uncleanable segments.

Make sure that wakeup(fs->lfs_iocount) is done if fs->lfs_iocount is 1
as well as 0, since we wait in some places for it to drop to 1.

Activate all pages that make it into lfs_gop_write without the segment
lock held, since they must have been dirtied very recently, even if
PG_DELWRI is not set.
2003-03-08 02:55:47 +00:00
he 385f6e3afe Remove to local declarations of "p" which are no more in use, to make
this compile again.
2003-03-08 01:20:21 +00:00
he 585b922ff4 Initialize the new function pointers to NULL, so this compiles again. 2003-03-08 01:18:42 +00:00
lukem 7dbfbdf511 - rename 'iso-image_*' -> 'iso-image-*'
- run MAKESUMS in iso-image, *after* the MD iso-image-md-post has run,
  since the latter might actually modify the generated image...
2003-03-08 00:22:29 +00:00
fvdl 59a910ed6a Move the MTRR option to std.x86_64. 2003-03-08 00:08:46 +00:00
lukem 6107a9b605 crank memory disk from 1360 blocks to 1376 blocks 2003-03-08 00:04:36 +00:00
perseant af18198dff Add option to check partial-segment data checksums. 2003-03-07 22:50:09 +00:00
jmc 4829a1952a Redo last fix to work correctly. Need to run abort on each orb (though it
doesn't much now it will eventually) and then so a proper sbp2_free_orb.
2003-03-07 20:18:57 +00:00
jonathan cd38c4da5c Commit workaround for hardware bug: 5701 chips running in PCI-X mode
require that the DMA receive buffers be aligned. The driver was
deliberately mis-aligning by 2 bytes, to force the layer-2/3
headers to 32-bit alignment.

Workaround: if chip is a 5701, and is in PCI-X mode, leave the DMA
buffers aligned.  If the host CPU requires alignment, copy the buffer
after reception to force aligment.

Tested  on an i386 in  PCI-X bus, with __NO_STRICT_ALIGNMENT forced off.

Patch and comments reworked  to minimize drift from
	FreeBSD if_bge.c rev 1.14.
2003-03-07 18:57:53 +00:00
jonathan 5214474746 Fix typo: PRODUCER_BUG quirk mask overlapped the PCIX register-bug quirk.
(Harmless, since we dont use the latter; but we will use it very soon.)
2003-03-07 18:40:18 +00:00
matt dfb9f2d504 Remove some constant (use value in bus_space_tags). 2003-03-07 18:24:00 +00:00
he 9042681cbb Rewrite the MD install script to use awk instead of grep, since
trying to include grep in the miniroot currently causes a build
failure, ref. PR#20431.

Also correct a typo/inconsistency "no disk label" -> "no disklabel"
(the disklabel program is not consistent in it's use...), here we
just compensate.

Reviewed by Steve Woodford.
2003-03-07 17:00:22 +00:00
he cf13cdc4df Stop trying to include grep in the miniroot, since this in grep's
current incarnation causes a build failure for the miniroot.
Use awk instead; this also eliminates the need to include "cut" in
the mac68k miniroot.

Reviewed by Scott Reynolds (except for the "cut" eviction).
2003-03-07 16:57:46 +00:00
drochner c0e23f3152 -Fix ORB queue corruption / use of free()d memory
caused by bad interaction of sbp2_free() and sbp2_abort().
 sbp2_abort() requires that its argument ORB is on the
 "active" list, and it puts it onto the freelist - sometimes.
 So we had 2 causes of corruption:
 -removing the ORB from a list which it isn't on
 -free()ing recycleable items on the ORB freelist
-minor cosmetics
2003-03-07 16:29:33 +00:00
drochner 49e6bf0fa5 Add support for "simplified direct" (aka RBC) devices.
This reveals some ugly points in the sd driver, as
the PQUIRK_ONLYBIG flag (there are 6, 10, 12 and 16 byte
CDBs for r/w) and the handling of small/big mode
select/sense. This should be cleaned up.
Also the "long" struct disk_parms.disksize is worth
a thought...
2003-03-07 16:18:57 +00:00
kanaoka 5c5aa9ba83 Make sure this compiles with ACPI_DEBUG.
Pointed out by Patrick Welche <prlw1@newn.cam.ac.uk>.
2003-03-07 15:17:44 +00:00
rjs b486d4a0ff Add NULL cn_halt and cn_flush entries to consdev. 2003-03-07 13:30:35 +00:00
he 0a235da1cd Add inclusion of <sys/lock.h> to allow compilation of usage of
MALLOC() to succeed.
2003-03-07 12:40:12 +00:00
wiz 61419f6149 libpcap-0.7.2, postfix-2.0.6, tcpdump-3.7.2. 2003-03-07 11:52:36 +00:00
fvdl 02de215ad2 Add cpu* at mainbus. 2003-03-07 11:02:50 +00:00
lukem 5ab04f288f use distrib/common/sunbootcd.sh instead of distrib/utils/mksunbootcd/* 2003-03-07 09:52:59 +00:00
lukem 2fef6e7fc1 fix a bogus comment... 2003-03-07 09:49:34 +00:00
lukem 4d531936c1 use distrib/common/sunbootcd.sh instead of building the
non-cross-friendly distrib/utils/mksunbootcd/mksunbootcd
2003-03-07 09:46:51 +00:00
lukem 43dbccb5e3 Script to make a file system image (usually .iso) bootable by Sun
computers, by appending appropriate boot file systems to the image and
then creating a disklabel using sunlabel(8).

Inspired by distrib/utils/mksunbootcd, except that this is a shell script
instead of being a C program that would have needed to become a host tool.
2003-03-07 09:36:02 +00:00
lukem 85794c7b93 improve calculation to determine number of disks required 2003-03-07 09:33:53 +00:00
grant 7d55c4c504 fix a bogus error message when given a HTTP URL with a trailing
slash.
2003-03-07 08:13:48 +00:00
tshiozak 5abc4b4f43 add fgetws() and fputws() (lib/20576).
Note: fgetws.c, fgetws.3, fputws.c and fputws.3 are obtained from FreeBSD,
and fitted by sigsegv@infoseek.jp and me.
2003-03-07 07:11:35 +00:00