kstailey [Thu, 3 Apr 1997 17:35:47 +0000 (17:35 +0000)]
make it match what is in magdir/magic
kstailey [Thu, 3 Apr 1997 15:46:36 +0000 (15:46 +0000)]
>Number: 3412
>Category: port-alpha
>Synopsis: incorrect use of long crashes netbsd/alpha
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 29 23:50:01 1997
>Last-Modified:
>Originator: Ross Harvey
>Organization:
Avalon Computer Systems, Inc.
>Release: NetBSD-current
>Environment:
System: NetBSD epsilon.ghs.com 1.2D NetBSD 1.2D (e) #5: Sat Mar 29 22:32:33 PST 1997 ross@epsilon.ghs.com:/bsd/ross/e alpha
>Description:
Adding "pseudo-device ipfilter 1" to netbsd/alpha will
cause it to crash when ifconfig turns on the interface.
Ipfilter code in netinet/fil.c uses pointer arithmetic to
effectively make structure-to-scalar casts. It uses long when
it really wants an int32 and gets alignment faults that crash
netbsd/alpha. General 64 bit problem, not exactly alpha.
>How-To-Repeat:
Add pseudo-device ipfilter 1. Boot your alpha. 2. Try to come
up multiuser. The first packet or so will halt everything.
>Fix:
Apply patch...
briggs [Thu, 3 Apr 1997 13:01:40 +0000 (13:01 +0000)]
Quote CC in args to make
downsj [Thu, 3 Apr 1997 08:33:03 +0000 (08:33 +0000)]
hokchar -> _hokchar, and make it non-static. Use it in getnetnamadr.c as
well.
deraadt [Thu, 3 Apr 1997 07:54:01 +0000 (07:54 +0000)]
another lookup[] loop accident
downsj [Thu, 3 Apr 1997 07:31:55 +0000 (07:31 +0000)]
Full implementation of lookups support, plus some bug fixes. Still no YP.
deraadt [Thu, 3 Apr 1997 07:22:31 +0000 (07:22 +0000)]
an -> a; soil@quick.net
imp [Thu, 3 Apr 1997 07:07:36 +0000 (07:07 +0000)]
From FreeBSD 1.7 by markm. The log message:
Priorities were broken. If there was an Index: line and ***/--- lines
with valid names, the ***/---names were taken first.
this broke eg:
Index: foo/Makefile
==========
RCS <blah>
Retrieving <blah>
diff <blah>
*** Makefile <blah>
--- Makefile <blah>
By trying to patch the Makefile in the _curent_ directory, rather than
the one in the foo/ directory.
downsj [Thu, 3 Apr 1997 06:54:58 +0000 (06:54 +0000)]
BUGS section no longer applies, the new resolver implements network
lookups with DNS.
deraadt [Thu, 3 Apr 1997 05:53:46 +0000 (05:53 +0000)]
use MATCH()
deraadt [Thu, 3 Apr 1997 05:53:23 +0000 (05:53 +0000)]
if dns lookup fails, still honour _res.lookups[]
deraadt [Thu, 3 Apr 1997 05:52:35 +0000 (05:52 +0000)]
ensure host_addr[] remains nicely aligned; pr#145, grr@shandakor.tharsis.com
millert [Thu, 3 Apr 1997 05:31:37 +0000 (05:31 +0000)]
10 X's for mktemp() and mkstemp().
briggs [Thu, 3 Apr 1997 03:53:25 +0000 (03:53 +0000)]
PR#141 from David Leonard <d@occult.fnarg.net.au> with some small mods by
me.
- Provide option (enabled in GENERIC and GENERICSBC) to disable ADB
configuration when serial console is enabled. Old behavior allows
booting even if ADB probe hangs (Apple had several ways to access
ADB).
- Configure ite0 differently--don't assume that it's only extant if it
is the console.
kstailey [Thu, 3 Apr 1997 02:15:16 +0000 (02:15 +0000)]
a start a making getnetbyaddr() respect "lookup" keyword in resolv.conf
kstailey [Thu, 3 Apr 1997 02:12:57 +0000 (02:12 +0000)]
add htonl()
michaels [Thu, 3 Apr 1997 00:57:49 +0000 (00:57 +0000)]
per wishes of deraadt add ufs to default fs's to search.
michaels [Thu, 3 Apr 1997 00:57:37 +0000 (00:57 +0000)]
remove corrupted original tag
kstailey [Wed, 2 Apr 1997 22:57:27 +0000 (22:57 +0000)]
Use new makeinfo -P dir option to prepend gcc/f to the include path.
You must rebuild and install the new makeinfo before building gcc!
This corrects the gcc/install.texi gcc/f/install.texi name collision.
kstailey [Wed, 2 Apr 1997 22:55:36 +0000 (22:55 +0000)]
Add "-P dir" option to prepend a dir to the include path.
This is driven by g77 using install.texi which collides with gcc install.texi.
This has been submitted to bug-texinfo@prep.ai.mit.edu.
*** You must rebuild/reinstall makeinfo before building gcc! ***
niklas [Wed, 2 Apr 1997 22:08:07 +0000 (22:08 +0000)]
Better implementation of buf_space_*_raw_multi_* that deals well
with unaligned buffers
niklas [Wed, 2 Apr 1997 22:02:55 +0000 (22:02 +0000)]
Fix end boundary of mapping for regions ending at offset 1 in a page.
From NetBSD PR#3441, Matthias Drochner <drochner@zelz26.zel.kfa-juelich.de>
niklas [Wed, 2 Apr 1997 20:40:47 +0000 (20:40 +0000)]
Restructured, as well as added a set of host-to-little/big-endian-16/32-bit
utility macros (and their opposites), named like htole16 etc.
deraadt [Wed, 2 Apr 1997 18:28:48 +0000 (18:28 +0000)]
use FDPART(), limit drives to 2 to avoid dev_t problems; grr@shandakor.tharsis.com
deraadt [Wed, 2 Apr 1997 18:28:09 +0000 (18:28 +0000)]
warn about MAXPARTITIONS != 16, grr@shandakor.tharsis.com
deraadt [Wed, 2 Apr 1997 18:05:47 +0000 (18:05 +0000)]
doc /etc/yp/DOMAINNAME server list file better
millert [Wed, 2 Apr 1997 17:48:53 +0000 (17:48 +0000)]
opt_add() needs to make a copy of the input string since it modifies
it and new compilers don't let you write to constant strings.
Problem (core dump when using -o) noted by Felix Schroeter.
deraadt [Wed, 2 Apr 1997 17:21:24 +0000 (17:21 +0000)]
buf oflows, thanks imp & millert
deraadt [Wed, 2 Apr 1997 17:15:45 +0000 (17:15 +0000)]
add SVR4_T_* flags; might be wrong for sparc
kstailey [Wed, 2 Apr 1997 11:56:42 +0000 (11:56 +0000)]
add ipflog
deraadt [Wed, 2 Apr 1997 08:34:59 +0000 (08:34 +0000)]
use 10 X for mktemp(1)
deraadt [Wed, 2 Apr 1997 08:28:01 +0000 (08:28 +0000)]
use mkstemp (millert, please double check)
deraadt [Wed, 2 Apr 1997 08:24:48 +0000 (08:24 +0000)]
xid is a u_int32_t
deraadt [Wed, 2 Apr 1997 08:22:35 +0000 (08:22 +0000)]
spelling error
deraadt [Wed, 2 Apr 1997 08:01:56 +0000 (08:01 +0000)]
most 1.3X versions of MEDIAVIS CDR-H93MV have problems; koji@math.human.nagoya-u.ac.jp
mickey [Wed, 2 Apr 1997 06:29:37 +0000 (06:29 +0000)]
save 4k space for i386!
millert [Wed, 2 Apr 1997 06:22:17 +0000 (06:22 +0000)]
Remove FreeBSD-specific stuff from BUGS section.
mickey [Wed, 2 Apr 1997 05:38:47 +0000 (05:38 +0000)]
#ifndef local
#define local static
#endif
mickey [Wed, 2 Apr 1997 05:30:05 +0000 (05:30 +0000)]
fix bios geometry calculation
mickey [Wed, 2 Apr 1997 05:28:30 +0000 (05:28 +0000)]
fix readdir a little bit
mickey [Wed, 2 Apr 1997 05:26:42 +0000 (05:26 +0000)]
missing protos
rahnds [Wed, 2 Apr 1997 05:25:45 +0000 (05:25 +0000)]
add off-level character recieve.
improve transmission when CTS goes low (like on a modem)
mickey [Wed, 2 Apr 1997 05:21:48 +0000 (05:21 +0000)]
don't use cread's open/close. stat does not need libz. save memory
mickey [Wed, 2 Apr 1997 05:20:02 +0000 (05:20 +0000)]
fd < 0 is evil
mickey [Wed, 2 Apr 1997 04:59:22 +0000 (04:59 +0000)]
add dumb probe routine
mickey [Wed, 2 Apr 1997 04:57:34 +0000 (04:57 +0000)]
no more arch/i386/stand/libsa/Makefile.inc
mickey [Wed, 2 Apr 1997 04:46:54 +0000 (04:46 +0000)]
add Gogol birthday (;
deraadt [Wed, 2 Apr 1997 03:57:30 +0000 (03:57 +0000)]
correctly code the classes of permitted TZ specifications for the
issetugid() case. thanks bitblt and tholo
millert [Wed, 2 Apr 1997 01:47:00 +0000 (01:47 +0000)]
Merge in good changes from NetBSD:
Compile in strcict ansi (some day I'll get around to -Wall)
use set* functions instead of modifying the lvalue
Change a few sprintf() to snprintf() where it coudl possibly matter.
Replace zzhack stuff with something saner to make tip work on alpha
deraadt [Wed, 2 Apr 1997 01:33:15 +0000 (01:33 +0000)]
clear correct structure, PR#144, grr@shandakor.tharsis.com
millert [Wed, 2 Apr 1997 00:31:58 +0000 (00:31 +0000)]
Deal with old-style tar archives with a directory specifier (extension).
deraadt [Tue, 1 Apr 1997 22:59:36 +0000 (22:59 +0000)]
option 'n' was unused, so let's come up with a feature to use it!!! YEAH!!
add -n (numeric uid/gid), fix some man page errors; tv@pobox.com
millert [Tue, 1 Apr 1997 21:19:05 +0000 (21:19 +0000)]
Disable editing when in batch mode. Idea from Theo.
This makes ``ftp ftp://some.place.com/some/file &'' work.
rahnds [Tue, 1 Apr 1997 21:01:42 +0000 (21:01 +0000)]
Check in some changes hiding in my tree.
Now that ramdisk is used, booting from floppy does not wait for floppy change.
Do not force real mode for booting, this disables caches on certain machines.
use the freshly build hack-obj, do not require "." in the current path.
deraadt [Tue, 1 Apr 1997 21:00:21 +0000 (21:00 +0000)]
fix MAXPARTITIONS problems, PR#138, grr@shandakor.tharsis.com
deraadt [Tue, 1 Apr 1997 20:14:43 +0000 (20:14 +0000)]
svr4 siginfo; I cannot test this
deraadt [Tue, 1 Apr 1997 20:13:27 +0000 (20:13 +0000)]
FPE_INTOVF botch
mickey [Tue, 1 Apr 1997 19:54:26 +0000 (19:54 +0000)]
depend on DPADD, not only one lib
deraadt [Tue, 1 Apr 1997 18:11:58 +0000 (18:11 +0000)]
zap extra XXX if swap goes down; paul@wit387304.student.utwente.nl
rahnds [Tue, 1 Apr 1997 16:00:52 +0000 (16:00 +0000)]
Changes from NetBSD to compile games without warnings due to short being
unsigned on some archs, PowerPC, ROMP.
briggs [Tue, 1 Apr 1997 13:52:34 +0000 (13:52 +0000)]
Add DrHW for RasterOps CB264--From Scott Reynolds--and link it in to the
proper interrupt routine. grfmv_intr_mystery changed to grfmv_intr_cb264.
graichen [Tue, 1 Apr 1997 10:49:36 +0000 (10:49 +0000)]
don't disable the build of gdb for the alpha - it should work now
graichen [Tue, 1 Apr 1997 10:47:56 +0000 (10:47 +0000)]
it's called xm-alphaobsd.h and not xm-alpha.h
millert [Tue, 1 Apr 1997 07:58:40 +0000 (07:58 +0000)]
Slightly better fix. This one is explicately bounded by UT_HOSTSIZE.
todd [Tue, 1 Apr 1997 07:34:57 +0000 (07:34 +0000)]
This merges in the latest NetBSD sup source.
- removed $Log: ...$ tags to not waste space in the repository
- now doesn't segfault on the alpha!
Note:
To compile sup on systems other than *BSD, you'll need a copy of
vis.c, vis.h, daemon.c, and sys/cdefs.h. At least the first two
(for OSF/1).
From NetBSD changelog description (for credit where due):
.... 1996/12/23 19:42:05 christos
- add missing prototypes.
- fix function call inconsistencies
- fix int <-> long and pointer conversions
It should run now on 64 bit machines...
.... 1996/12/31 18:08:00 christos
64 bit patches (mostly long -> time_t) from Matthew Jacob (?)
sup now works on the alpha!
millert [Tue, 1 Apr 1997 07:28:02 +0000 (07:28 +0000)]
Sync with NetBSD (mostly by christos initial substitution/regexp from Der Mouse)
- fix the variable substitution code in make [PR/2748]
1. change s/a/b/ so that it substitutes the first occurance of the
pattern on each word, not only the first word.
2. add flag '1' to the variable substitution so that the substitutions
get performed only once.
***THIS IS AN INCOMPATIBLE CHANGE!***
Unfortunately there was no way to make things consistent without
modifying the current behavior. Fortunately none of our Makefiles
depended on this.
OLD:
VAR = aa1 aa2 aa3 aa4
S/a/b/ = ba1 aa2 aa3 aa4
S/a/b/g = bb1 bb2 bb3 bb4
NEW:
VAR = aa1 aa2 aa3 aa4
S/a/b/ = ba1 ba2 ba3 ba4
S/a/b/1 = ba1 aa2 aa3 aa4
S/a/b/g = bb1 bb2 bb3 bb4
S/a/b/1g = bb1 aa2 aa3 aa4
- add regexp variable substitution via 'C/foo/bar/' [PR/2752]
- add variable quoting via the ${VAR:Q} modifier. This is useful when running
recursive invocations of make(1):
make VAR=${VAR:Q}
will always work... (This may prove useful in the kernel builds...) [PR/2981]
- BSD did not traditionally have <sys/cdefs.h>; use BSD4_4 instead and include
<sys/param.h> to grab it.
- Don't compile the regex code if MAKE_BOOTSTRAP (from gwr)
- Use explicit .c.o rule in Makefile.boot so that the bootstrap process works.
- Use only integral types in procedure arguments. [buf.c buf.h]
- Include <stdlib.h> to get getenv() prototype on SVR4
- if __STDC__ -> ifdef __STDC__ to appease SVR4
- Define const and volatile for non __STDC__
- Implement snprintf() and vsnprintf() for non BSD4_4 systems.
- Make $MACHINE_ARCH settable from the environment.
- Fix .USE directive problems: (reported by cgd)
1. ${.*} variables did not get expanded in dependencies.
2. expanded ${.*} variables in .USE dependencies can cause tree
restructuring; handle it.
3. in compat mode, expand .USE before evaluating the list of targets,
instead of doing .USE expansions on demand, because they can cause
tree restructuring.
- Add a .MADE directive to indicated that the children of a target are
up-to-date, even when they are not. This is to simulate our current
make install behavior with proper dependencies.
- Fix problems in the RE substitution error handling.
- Locate all the children of a node marked as MADE.
- Do not compile-in ${MACHINE} (as per NetBSD PR#3386)
- Disable globbing for targets/dependencies when POSIX is defined.
- Fix globbing so that patterns that don't have a matching number of [] or {}
don't get expanded. (before the [ case got expanded to nothing!) This is
disabled.
- Make sure that the children of nodes that are marked .MADE, are marked
UPTODATE and their timestamps are consistent.
- Don't disable wildcards completely; they are used by other Makefiles.
mickey [Tue, 1 Apr 1997 04:52:44 +0000 (04:52 +0000)]
debugger started.
only one entry for now:
chek_regs (use DUMP_REGS macro instead)
dumps registers. must be called by lcall or so (to push %cs)
mickey [Tue, 1 Apr 1997 04:50:33 +0000 (04:50 +0000)]
^U hotkey in readline
sample regs command to show the registers
mickey [Mon, 31 Mar 1997 23:47:04 +0000 (23:47 +0000)]
strlen proto
mickey [Mon, 31 Mar 1997 23:29:53 +0000 (23:29 +0000)]
strlen here too....
mickey [Mon, 31 Mar 1997 23:08:36 +0000 (23:08 +0000)]
missed additions to the last commit
and....
it compiles and runs ok on my machine.
*** TEST IT !!! ***
some pieces into MI libsa coming in a minute (if line won't drop ;)
mickey [Mon, 31 Mar 1997 23:06:03 +0000 (23:06 +0000)]
commit all my mods to the last imported libsa stuff....
including:
- disklabel support;
- better boot cmd line
- smaller size (using some compilation switches ;)
- no more relocations in /boot, it's loaded in the place;
- better disk performance (maybe were already in there)
- installboot -n does not require write perms for device
- more debugs
- missing parts in libsa (such as cd9660 and so)
- i don't like 2 files for exec_i386 (sorry, toby, let's discuss maybe?)
tricks and tails:
- joined .text and .data (saves you a page)
- prot mode switching still in biosboot (it's freezed for awhile)
- biosdisk internals changed
- biosdev is not passed propery to the kernel (i'll fix it soon)
- sure i missed smth here to note (use the source, Luke!)
deraadt [Mon, 31 Mar 1997 17:30:38 +0000 (17:30 +0000)]
shrink; niklas
deraadt [Mon, 31 Mar 1997 17:28:07 +0000 (17:28 +0000)]
do not let PSL_NT be set in VM86 mode; netbsd
kstailey [Mon, 31 Mar 1997 15:52:45 +0000 (15:52 +0000)]
changed ipfattach() to ipf_enable()
changed ipfdetach() to ipf_disable()
added stub ipfattach() which is called from main()
commented out activation of ipf from iplinit()
must explicitly enable with ipf -E
removed bogus deactivation of ipf from iplinit()
kstailey [Mon, 31 Mar 1997 14:55:43 +0000 (14:55 +0000)]
New job; another PC lands on my desk.
briggs [Mon, 31 Mar 1997 12:59:11 +0000 (12:59 +0000)]
PR#140, Fix from David Leonard <d@occult.fnarg.net.au>. Prevents endless loop
for Egret and Cuda ADB.
deraadt [Mon, 31 Mar 1997 07:43:25 +0000 (07:43 +0000)]
even better indent
deraadt [Mon, 31 Mar 1997 07:42:23 +0000 (07:42 +0000)]
indent
deraadt [Mon, 31 Mar 1997 07:36:05 +0000 (07:36 +0000)]
works again, work by niklas and i
deraadt [Mon, 31 Mar 1997 07:34:38 +0000 (07:34 +0000)]
disklabel stuff was fixed a while ago
downsj [Mon, 31 Mar 1997 07:25:48 +0000 (07:25 +0000)]
Jump to loadaddr instead of entry due to libsa change.
weingart [Mon, 31 Mar 1997 05:52:24 +0000 (05:52 +0000)]
Move closer to boot/. Add some debug stuff
weingart [Mon, 31 Mar 1997 04:57:36 +0000 (04:57 +0000)]
Fix for my fix...
weingart [Mon, 31 Mar 1997 04:20:08 +0000 (04:20 +0000)]
Fix symbol handling (stripped kernels)
weingart [Mon, 31 Mar 1997 03:11:58 +0000 (03:11 +0000)]
Initial /boot stuff (from Mickey)
weingart [Mon, 31 Mar 1997 02:41:44 +0000 (02:41 +0000)]
Prepare for /boot stuff...
deraadt [Mon, 31 Mar 1997 02:38:44 +0000 (02:38 +0000)]
salt is an int32_t
deraadt [Mon, 31 Mar 1997 02:34:21 +0000 (02:34 +0000)]
flags param is int
deraadt [Mon, 31 Mar 1997 02:30:26 +0000 (02:30 +0000)]
sync to nfs.h
deraadt [Mon, 31 Mar 1997 02:23:40 +0000 (02:23 +0000)]
sync with stat.h; spotted by todd@
deraadt [Mon, 31 Mar 1997 01:07:35 +0000 (01:07 +0000)]
correct path in comment; thieleke@ix.netcom.com
downsj [Mon, 31 Mar 1997 00:23:50 +0000 (00:23 +0000)]
Modernize OpenBSD/mvme68k to match various changes in m68k and hp300 code.
Compiles, but untested for lack of hardware.
briggs [Sun, 30 Mar 1997 22:44:03 +0000 (22:44 +0000)]
Minor cleanup.
mickey [Sun, 30 Mar 1997 22:05:08 +0000 (22:05 +0000)]
no more 2(two) md5 libs in kernel!
tested for rnd(4).... should work for ip too, since it's
the copy of ip_md*.
use sys/md5k.h for protos.... std iface forever!
hurray!
briggs [Sun, 30 Mar 1997 21:56:54 +0000 (21:56 +0000)]
jDTInstall is 0xD9C, not 0x9DC...
briggs [Sun, 30 Mar 1997 21:53:23 +0000 (21:53 +0000)]
An implementation of pieces of the Deferred Task Manager--required by
some video cards. Provided by Paul Goyette <paul@pgoyette.bdt.com>.
This introduces another simulated software interrupt.
maja [Sun, 30 Mar 1997 20:51:14 +0000 (20:51 +0000)]
Added support for YP V1. Partly from FreeBSD. -moj
deraadt [Sun, 30 Mar 1997 20:24:46 +0000 (20:24 +0000)]
delete the unaligned code
mickey [Sun, 30 Mar 1997 20:15:06 +0000 (20:15 +0000)]
my recent fixes