]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoOld Perl is leaving us. Goodbye, faithful friend.
markm [Wed, 9 Sep 1998 06:49:33 +0000 (06:49 +0000)]
Old Perl is leaving us. Goodbye, faithful friend.

26 years agoAdd the missing rerelease target back.
jb [Wed, 9 Sep 1998 06:07:32 +0000 (06:07 +0000)]
Add the missing rerelease target back.

Reported by: Justin Gibbs.

Add the move-aout-libs upgrade target so that people who have already
gone elf can put their libraries through the mincer. Anyone who hasn't
deleted aout libraries from /usr/lib (but has done a make world putting
the new aout libs in /usr/lib/aout) will be asked for confirmation
to delete them one by one.

26 years agoAdd the missing rerelease target back.
jb [Wed, 9 Sep 1998 06:03:51 +0000 (06:03 +0000)]
Add the missing rerelease target back.

Reported by: Justin Gibbs.

26 years agoAdd a move-aout-libs target to do just that. It takes the well known
jb [Wed, 9 Sep 1998 06:02:31 +0000 (06:02 +0000)]
Add a move-aout-libs target to do just that. It takes the well known
library directories: /usr/lib /usr/lib/compat /usr/local/lib and
/usr/X11R6/lib and adds any other directories that ldconfig knows
about, then removes any that are already aout directories (that is,
with aout as a component of the path) and passes this directory
list to the move_aout_libs.sh script to do the hack (believe it,
it moves libraries that are in use) work.

26 years agoAnother place to set NOPERL.
markm [Wed, 9 Sep 1998 06:01:37 +0000 (06:01 +0000)]
Another place to set NOPERL.

26 years agoSet NOPERL while I spend the rest of the day bringing in Perl5.
markm [Wed, 9 Sep 1998 06:01:11 +0000 (06:01 +0000)]
Set NOPERL while I spend the rest of the day bringing in Perl5.
This will doubtless confuse someone, but I'd rather have this than
breakage.

26 years agoAdd a note about the upgrade tool directory.
jb [Wed, 9 Sep 1998 05:48:51 +0000 (05:48 +0000)]
Add a note about the upgrade tool directory.

26 years agoA script for use when upgrading an installed system from aout to
jb [Wed, 9 Sep 1998 05:28:18 +0000 (05:28 +0000)]
A script for use when upgrading an installed system from aout to
elf.

26 years agoFix spurious `free()' when -d g2 is enabled.
jkoshy [Wed, 9 Sep 1998 05:15:38 +0000 (05:15 +0000)]
Fix spurious `free()' when -d g2 is enabled.

PR: 6790
Submitted by: nsmart <njs3@doc.ic.ac.uk>

26 years agoFix typos.
danny [Wed, 9 Sep 1998 05:09:55 +0000 (05:09 +0000)]
Fix typos.

26 years agoSome preliminary updates to the release notes, just as I think of
jkh [Wed, 9 Sep 1998 03:37:00 +0000 (03:37 +0000)]
Some preliminary updates to the release notes, just as I think of
them.  By no means a comprehensive list of all the things which should
eventually go in here before 3.0-RELEASE, nor are the CAM issues
reflected here yet.

26 years agoAdd missing comma.
jkoshy [Wed, 9 Sep 1998 03:07:03 +0000 (03:07 +0000)]
Add missing comma.

PR: 7841
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>

26 years agoReserve character major 104 for the CAM Transport Layer Services device.
gibbs [Wed, 9 Sep 1998 03:07:02 +0000 (03:07 +0000)]
Reserve character major 104 for the CAM Transport Layer Services device.

26 years agoFix typo.
jkoshy [Wed, 9 Sep 1998 03:04:53 +0000 (03:04 +0000)]
Fix typo.

PR: 7809
Submitted by: Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>

26 years agoTerminate the defdrives array correctly. (Shame, Rod!)
msmith [Wed, 9 Sep 1998 02:22:28 +0000 (02:22 +0000)]
Terminate the defdrives array correctly. (Shame, Rod!)
Submitted by: Scott Michel <scottm@cs.ucla.edu>

26 years agoAdd $Id$, remove quoting for `...'.
jkoshy [Wed, 9 Sep 1998 01:30:25 +0000 (01:30 +0000)]
Add $Id$, remove quoting for `...'.

Requested by: bde

26 years agoAdd a new library function getobjformat(). It checks all the
jdp [Wed, 9 Sep 1998 01:21:25 +0000 (01:21 +0000)]
Add a new library function getobjformat().  It checks all the
standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an
indication of the user's preferred object file format.  This
consolidates some code that was starting to be duplicated in more
and more places.

Use the new function in ldconfig.

Note: I don't think that gcc should use getobjformat(), even though
it could.  The compiler should limit itself to functions that are
widespread, to ease porting and cross-compilation.

26 years agoInitialise lcp::his_mru to the ``set mtu'' value if it's less
brian [Wed, 9 Sep 1998 00:03:09 +0000 (00:03 +0000)]
Initialise lcp::his_mru to the ``set mtu'' value if it's less
than DEF_MRU, allowing our interface mtu to be decreased
despite negotiation with the peer.

26 years ago- If the OACTIVE flag is set on entry to xl_start(), check to see if the
wpaul [Tue, 8 Sep 1998 23:42:10 +0000 (23:42 +0000)]
- If the OACTIVE flag is set on entry to xl_start(), check to see if the
  transmitter is wedged. If so, try to unwedge it, process any descriptors
  that might need to be free()d, then proceed.

- Disable the 'background' autonegotiation performed during bootstrap.
  What happens currently is that the driver starts an autoneg session,
  the sets a timeout in the ifnet structure and returns. Later, when the
  timer expires, the watchdog routine calls the autoneg handler to check
  the results of the session. The problem with this is that the session
  may not complete until some point after we have started to mount NFS
  filesystems, which can cause the mounts to fail. This is especially
  troublesome if booting with an NFS rootfs: we need the interface up
  and running before reaching the mountroot() code.

  The default behavior now is to do the autoneg synchronously, i.e. wait
  5 seconds for the autoneg to complete before exiting the driver attach
  routine. People who want the old behavior can compile the driver with
  XL_BACKGROUND_AUTONEG #defined. This has no effect on autoneg sessions
  initiated by 'ifconfig xl0 media autoselect.'

  This slows the probe down a little, but it's either that or botching
  NFS mounts at bootup.

- If xl_setmode_mii() is called and there's an autoneg session in progress,
  cancel it, _then_ set the modes.

26 years agoAdd new atapi-cd driver that supports atapi CD-R/RW drives.
sos [Tue, 8 Sep 1998 20:57:47 +0000 (20:57 +0000)]
Add new atapi-cd driver that supports atapi CD-R/RW drives.
This is only a stop-gab solution to get atapi burner support into 3.0.

26 years agoAdd 'blank' and 'nextwriteable' commands for atapi CD-R/RW support.
sos [Tue, 8 Sep 1998 20:51:24 +0000 (20:51 +0000)]
Add 'blank' and 'nextwriteable' commands for atapi CD-R/RW support.

26 years agoAdd definitions for the ELF section attribute flags, SHF_*.
jdp [Tue, 8 Sep 1998 20:38:06 +0000 (20:38 +0000)]
Add definitions for the ELF section attribute flags, SHF_*.

Submitted by: Robert Nordier <rnordier@nordier.com>

26 years agoMake PCIC_RESUME_RESET an proper option.
brian [Tue, 8 Sep 1998 18:09:51 +0000 (18:09 +0000)]
Make PCIC_RESUME_RESET an proper option.
My laptop (a CTX Cybernote) needs this.  It claims to have a

  PC-Card VLSI 82C146 (5 mem & 2 I/O windows)

26 years agoAdd support for the RPC 64-bit integer type ``hyper''.
obrien [Tue, 8 Sep 1998 17:33:12 +0000 (17:33 +0000)]
Add support for the RPC 64-bit integer type ``hyper''.

26 years agoOops, don't assume that the environment is normal in devfs_mount().
bde [Tue, 8 Sep 1998 16:59:37 +0000 (16:59 +0000)]
Oops, don't assume that the environment is normal in devfs_mount().
It isn't for the hidden mountpoint.  The static vfs's haven't been
attached then, so mp->mnt_vfc can't be valid.

26 years agoIf traps are set, they are now executed even when a signal-blocking
cracauer [Tue, 8 Sep 1998 13:16:52 +0000 (13:16 +0000)]
If traps are set, they are now executed even when a signal-blocking
foreground child is running. Formerly, traps were exceuted after the
next child exit.

The enables the user to put a breaking wrapper around a blocking
application:
  (trap 'echo trap ; exit 1' 2; ./pestyblocker; echo -n)

The "echo -n" after the child call is needed to prevent sh from
optimizing the trap-executing shell away. I'm working on this.

26 years agoUpdate the diffs against current source + some other cleanup.
abial [Tue, 8 Sep 1998 12:47:35 +0000 (12:47 +0000)]
Update the diffs against current source + some other cleanup.

26 years agoWhoops, update the makefile too while I'm at it.
jkh [Tue, 8 Sep 1998 11:44:37 +0000 (11:44 +0000)]
Whoops, update the makefile too while I'm at it.

26 years agoGo back to using MSDOSFS instead of Robert Nordier's stand-alone DOS
jkh [Tue, 8 Sep 1998 11:44:08 +0000 (11:44 +0000)]
Go back to using MSDOSFS instead of Robert Nordier's stand-alone DOS
library.  I have to include MSDOSFS on the boot floppy anyway (so I can
read DOS floppies in a few other contexts) and since both -stable and
-current MSDOSFS handle long filenames, I'm OK on that now.  Should
save about 10K of space.

26 years agoMake totally sure that we have the latest 1.7 version of booteasy
jkh [Tue, 8 Sep 1998 10:46:40 +0000 (10:46 +0000)]
Make totally sure that we have the latest 1.7 version of booteasy
(it looked like it already to me, but the PR gives me cause to wonder).
PR: 2514

26 years agoo Set paths internally for pkg_add for tools we might want to invoke.
jkh [Tue, 8 Sep 1998 10:42:26 +0000 (10:42 +0000)]
o Set paths internally for pkg_add for tools we might want to invoke.
o Fix bogus suffix handling.
o Tell user when an FTP url is being xferred rather than being silent.
  This sort of violates "the unix way" but it stops people from whacking
  ^C when they think it's hung, too.  Sometimes visual indication of
  success is important.  Doesn't spit out anything if not on a TTY.

26 years agoSync with sys/i386/isa/clock.c revision 1.125.
kato [Tue, 8 Sep 1998 09:47:46 +0000 (09:47 +0000)]
Sync with sys/i386/isa/clock.c revision 1.125.

26 years agoFix a cut&paste error which prevented LD_BIND_NOW from working.
dfr [Tue, 8 Sep 1998 09:47:35 +0000 (09:47 +0000)]
Fix a cut&paste error which prevented LD_BIND_NOW from working.

26 years agoSync with sys/i386/i386/userconfig.c revision 1.107.
kato [Tue, 8 Sep 1998 09:47:09 +0000 (09:47 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.107.

26 years agorestore rev 1.23 to give clear SIGALRM handling example, 68 years
ache [Tue, 8 Sep 1998 09:44:46 +0000 (09:44 +0000)]
restore rev 1.23 to give clear SIGALRM handling example, 68 years
are too long to affect real code

26 years agofix a problem with our definition of SNDCTL_DSP_GETBLKSIZE, to let
luigi [Tue, 8 Sep 1998 07:21:00 +0000 (07:21 +0000)]
fix a problem with our definition of SNDCTL_DSP_GETBLKSIZE, to let
the FreeBSD x11amp work (same as in -stable)

26 years agoAdd info on PicoBSD being a part of FreeBSD source tree.
abial [Tue, 8 Sep 1998 06:35:43 +0000 (06:35 +0000)]
Add info on PicoBSD being a part of FreeBSD source tree.

26 years agoSync help files with actual contents of "dial" floppy.
abial [Tue, 8 Sep 1998 06:04:41 +0000 (06:04 +0000)]
Sync help files with actual contents of "dial" floppy.

26 years agoFix bogus suffix stripping to be less naive.
jkh [Tue, 8 Sep 1998 03:15:41 +0000 (03:15 +0000)]
Fix bogus suffix stripping to be less naive.
PR: 3418
Noted by: pst

26 years agoFail as documented when a dependency cannot be found
jkh [Tue, 8 Sep 1998 03:02:45 +0000 (03:02 +0000)]
Fail as documented when a dependency cannot be found
PR: 7318
Submitted by: djv@bedford.net

26 years agoUse ellipsis in the synopsis, and an appropriate explanation in
jkoshy [Tue, 8 Sep 1998 02:02:50 +0000 (02:02 +0000)]
Use ellipsis in the synopsis, and an appropriate explanation in
the text of the manual page.

Suggested by: bde

26 years agoDo an installworld rather than install to populate the chroot tree.
jkh [Mon, 7 Sep 1998 23:55:22 +0000 (23:55 +0000)]
Do an installworld rather than install to populate the chroot tree.
Recommended by: jb

26 years agoMake profiling work for ELF. gprof now autodetects the format of
jdp [Mon, 7 Sep 1998 23:32:00 +0000 (23:32 +0000)]
Make profiling work for ELF.  gprof now autodetects the format of
the executable file, so it will work for both a.out and ELF format
files.  I have split the object format specific code into separate
source files.  It's cleaner than it was before, but it's still
pretty crufty.

Don't cheat on your make world for this update.  A lot of things
have to be rebuilt for it to work, including the compiler and all
of the profiled libraries.

26 years agoMake the builtin unix macro work as it should (well like Solaris's,
steve [Mon, 7 Sep 1998 22:09:13 +0000 (22:09 +0000)]
Make the builtin unix macro work as it should (well like Solaris's,
GNU's, and OSF1's).

26 years agoRemoved unused variables.
alex [Mon, 7 Sep 1998 21:55:01 +0000 (21:55 +0000)]
Removed unused variables.

26 years agoRemoved some variable initializations which were unnecessary and divergent
alex [Mon, 7 Sep 1998 21:07:59 +0000 (21:07 +0000)]
Removed some variable initializations which were unnecessary and divergent
from style(9).

26 years agoRemove the extern decl of ``h_errno''. It's already
brian [Mon, 7 Sep 1998 19:54:08 +0000 (19:54 +0000)]
Remove the extern decl of ``h_errno''.  It's already
externed in netdb.h - where all of its #define values
live.  If anything requires h_errno here (nothing in
/usr/src seems to) it's almost definitely broken.

26 years ago-Wall clean.
alex [Mon, 7 Sep 1998 19:23:55 +0000 (19:23 +0000)]
-Wall clean.

26 years agoImplement pthread read/write locks as defined by Version 2 of the Single
alex [Mon, 7 Sep 1998 19:01:43 +0000 (19:01 +0000)]
Implement pthread read/write locks as defined by Version 2 of the Single
UNIX Specification.

As with our standard mutexes, process shared locks are not supported at
this time.

26 years agoChange the way the help files are stored, and save ca. 30kB on the
abial [Mon, 7 Sep 1998 19:00:34 +0000 (19:00 +0000)]
Change the way the help files are stored, and save ca. 30kB on the
"dial" floppy.

Submitted by: Eric P. Scott <eps@sirius.com>

26 years agoAdded .St -susv2 --> Version 2 of the Single UNIX Specification
alex [Mon, 7 Sep 1998 18:52:57 +0000 (18:52 +0000)]
Added .St -susv2 --> Version 2 of the Single UNIX Specification

26 years agoRevive hierarchy target
ache [Mon, 7 Sep 1998 18:10:26 +0000 (18:10 +0000)]
Revive hierarchy target

26 years agoRemove X11 lock files at boot time even if $clear_tmp_enable is not set.
cracauer [Mon, 7 Sep 1998 17:18:36 +0000 (17:18 +0000)]
Remove X11 lock files at boot time even if $clear_tmp_enable is not set.
PR: conf/7366
Submitted by: Thomas David Rivers rivers@dignus.com

26 years agoAdd -S flag to test for sockets.
cracauer [Mon, 7 Sep 1998 16:59:05 +0000 (16:59 +0000)]
Add -S flag to test for sockets.
PR: bin/7507
Reviewed by: I tested the patch
Submitted by: Stefan `Sec` Zehl sec@42.org

26 years agoCorrect zsh shell script entry.
cracauer [Mon, 7 Sep 1998 16:27:24 +0000 (16:27 +0000)]
Correct zsh shell script entry.
PR: bin/7657
Submitted by: Dom Mitchell dom@phmit.demon.co.uk

26 years agoLoad linux emulator lkm only when not already loaded. This avoids
cracauer [Mon, 7 Sep 1998 16:15:59 +0000 (16:15 +0000)]
Load linux emulator lkm only when not already loaded. This avoids
leftover files in /tmp. Script slightly modified from PR version
to use fewer processes.
PR: i386/7725
Submitted by: Stefan Eggers seggers@semyam.dinoco.de

26 years agoFixed SUBDIR order (libm is no longer a prerequisite for libtcl).
bde [Mon, 7 Sep 1998 13:59:15 +0000 (13:59 +0000)]
Fixed SUBDIR order (libm is no longer a prerequisite for libtcl).

26 years agoRemoved statically configured mount type numbers (MOUNT_*) and all
bde [Mon, 7 Sep 1998 13:17:06 +0000 (13:17 +0000)]
Removed statically configured mount type numbers (MOUNT_*) and all
references to them.

The change a couple of days ago to ignore these numbers in statically
configured vfsconf structs was slightly premature because the cd9660,
cfs, devfs, ext2fs, nfs vfs's still used MOUNT_* instead of the number
in their vfsconf struct.

26 years agoAdd entries for xl0, tlc0 and adv0. Some of these aren't even
jkh [Mon, 7 Sep 1998 13:00:58 +0000 (13:00 +0000)]
Add entries for xl0, tlc0 and adv0.  Some of these aren't even
in LINT!

26 years agoPut the zombie ffs sysctl node in "notyet" state together with its few
bde [Mon, 7 Sep 1998 11:50:19 +0000 (11:50 +0000)]
Put the zombie ffs sysctl node in "notyet" state together with its few
remaining children.  Prepare it for MOUNT_UFS going away.

26 years agoUpdate alpha configuration files and remove i386 target from
dfr [Mon, 7 Sep 1998 08:18:34 +0000 (08:18 +0000)]
Update alpha configuration files and remove i386 target from
libbinutils/config.h - it is declared in the arch Makefile.

26 years agoUse Elf_Addr to store addresses instead of Elf_Word.
dfr [Mon, 7 Sep 1998 07:30:44 +0000 (07:30 +0000)]
Use Elf_Addr to store addresses instead of Elf_Word.

26 years agoDevice framework code now declared in MI code.
dfr [Mon, 7 Sep 1998 07:29:30 +0000 (07:29 +0000)]
Device framework code now declared in MI code.

26 years agoFix problem reported on bugtraq: check permission of device mounted
guido [Mon, 7 Sep 1998 07:20:30 +0000 (07:20 +0000)]
Fix problem reported on bugtraq: check permission of device mounted
for non-root users. Fortunately, the default for vfs.usermount is 0.
Tested by: "Jan B. Koum " <jkb@best.com

26 years agoMake MFS do the default on VOP_FREEBLKS().
phk [Mon, 7 Sep 1998 06:52:01 +0000 (06:52 +0000)]
Make MFS do the default on VOP_FREEBLKS().

XXX: we could deallocate the storage, but somebody else will
have to pick up that task.

26 years agoSet the ${suffix} only once...
abial [Mon, 7 Sep 1998 06:46:25 +0000 (06:46 +0000)]
Set the ${suffix} only once...

26 years ago* Add code to display statistics continuously, every some seconds.
abial [Mon, 7 Sep 1998 06:41:14 +0000 (06:41 +0000)]
* Add code to display statistics continuously, every some seconds.
* Fix a number of mem leaks.
* Update README.

Submitted by: Luigi Rizzo <luigi@iet.unipi.it>

26 years agoInstall the legacy man file in section 1aout.
jb [Mon, 7 Sep 1998 06:01:37 +0000 (06:01 +0000)]
Install the legacy man file in section 1aout.

26 years agoAdd a man section 1aout for the legacy man files to avoid them being
jb [Mon, 7 Sep 1998 05:55:02 +0000 (05:55 +0000)]
Add a man section 1aout for the legacy man files to avoid them being
installed over the ones from binutils.

26 years agoUse a default execution type if none of the listed ones match. This
sef [Mon, 7 Sep 1998 05:49:43 +0000 (05:49 +0000)]
Use a default execution type if none of the listed ones match.  This
uses the first type listed in the array as the default type.  This isn't
perfect, but I thought it would be better than nothing.

26 years agoInstall the legacy man file in section 1aout.
jb [Mon, 7 Sep 1998 05:46:09 +0000 (05:46 +0000)]
Install the legacy man file in section 1aout.

26 years agoAdd directories for the legacy tool man files to stop them over-writing
jb [Mon, 7 Sep 1998 05:43:41 +0000 (05:43 +0000)]
Add directories for the legacy tool man files to stop them over-writing
the ones from binutils.

26 years agoMade unloading of the nfs LKM sort of work. This is mainly to test
bde [Mon, 7 Sep 1998 05:42:15 +0000 (05:42 +0000)]
Made unloading of the nfs LKM sort of work.  This is mainly to test
detachment of vfs sysctls.  Unloading of vfs LKMs doesn't actually
work for any vfs, since it leaves garbage pointers to memory
allocation control structures.

26 years agoDon't go below the low water mark of free pages due to optional prefaulting
tegge [Sun, 6 Sep 1998 23:04:20 +0000 (23:04 +0000)]
Don't go below the low water mark of free pages due to optional prefaulting
of pages.
PR: 2431

26 years agoUpdate for import of binutils-2.9.1.
jdp [Sun, 6 Sep 1998 23:01:53 +0000 (23:01 +0000)]
Update for import of binutils-2.9.1.

Submitted by: Doug Rabson <dfr>

26 years agoResolve conflicts from import of binutils-2.9.1.
jdp [Sun, 6 Sep 1998 23:00:35 +0000 (23:00 +0000)]
Resolve conflicts from import of binutils-2.9.1.

Submitted by: Doug Rabson <dfr>

26 years agoThis commit was generated by cvs2svn to compensate for changes in r38889,
jdp [Sun, 6 Sep 1998 22:57:45 +0000 (22:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r38889,
which included commits to RCS files with non-trunk default branches.

26 years agoImport GNU binutils-2.9.1. This will break things for a few minutes
jdp [Sun, 6 Sep 1998 22:57:45 +0000 (22:57 +0000)]
Import GNU binutils-2.9.1.  This will break things for a few minutes
until I've made the commits to resolve the conflicts.

Submitted by: Doug Rabson <dfr>

26 years agoMaintain a mapping from irq number to (ioapic number, int pin) tuple,
tegge [Sun, 6 Sep 1998 22:41:42 +0000 (22:41 +0000)]
Maintain a mapping from irq number to (ioapic number, int pin) tuple,
and use this when masking/unmasking interrupts.

Maintain a mapping from (iopaic number, int pin) tuple to irq number,
and use this when configuring devices and programming the ioapics.

Previous code assumed that irq number was equal to int pin number, and
that the ioapic number was 0.

Don't let an AP enter _cpu_switch before all local apics are initialized.

26 years agoBetter handling of word splitting. Don't record the same region
tegge [Sun, 6 Sep 1998 21:13:09 +0000 (21:13 +0000)]
Better handling of word splitting.  Don't record the same region
multiple times when performing nested variable expansion, and
preserve some quoting information in order to avoid removing
apparently empty expansion result.

26 years agoDon't blindly eliminate `..' and the previous pathname component.
tegge [Sun, 6 Sep 1998 21:01:57 +0000 (21:01 +0000)]
Don't blindly eliminate `..' and the previous pathname component.
PR: 2541
Obtained from: NetBSD

26 years agoFix calls to mmap. It returns void *, and on failure it returns
jdp [Sun, 6 Sep 1998 20:43:25 +0000 (20:43 +0000)]
Fix calls to mmap.  It returns void *, and on failure it returns
MAP_FAILED.

Don't try to extend the mapping in place if it is too short.
There's no guarantee it will be possible.  Remap the file instead.

Put in a few style fixes.

Submitted by: Bruce Evans <bde>

26 years agoClean LINT
rvb [Sun, 6 Sep 1998 20:01:34 +0000 (20:01 +0000)]
Clean LINT

26 years agoPatch the transmit error handler to avoid following NULL pointers and
wpaul [Sun, 6 Sep 1998 14:58:46 +0000 (14:58 +0000)]
Patch the transmit error handler to avoid following NULL pointers and
generating a trap 12 panic. The code blindly assumed that in the event
of a transmit error, the packet that caused the error would still be
at the head of the driver's transmit queue (sc->xl_cdata.xl_tx_head).
However in the case of error 82 (which indicates that a transmit error
occurred after part of the transmit FIFO memory has been reclaimed)
this is not true: the TX queue has already been flushed, and the
pointer to the head of the queue is NULL, so trying to dereference
the pointer to find the transmit descriptor address causes a crash.

The code now checks for a NULL pointer before trying to reload the
chip's download pointer register. There may still be error messages
printed warning of the transmit error, but no panic should occur.

Note that this eror code is only generated with "cyclone" chipsets
(3c900B, 3c905B, and presumeably the 3c980 server adapter). It should
only appear during periods of heavy traffic, probably only on
non-switched networks.

Problem reported by: Darcy Buskermolen <darcy@ok-connect.com>

26 years agoAdd a compuserve example.
brian [Sun, 6 Sep 1998 13:55:51 +0000 (13:55 +0000)]
Add a compuserve example.
Detailed by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>

26 years agoFix tons of cut-n-paste errors in the WANT_NFS3 code.
obrien [Sun, 6 Sep 1998 09:21:35 +0000 (09:21 +0000)]
Fix tons of cut-n-paste errors in the WANT_NFS3 code.

26 years agoReviewed by: Andrey A. Chernov <ache@nagual.pp.ru>, Doug Rabson <dfr@nlsystems.com>
dillon [Sun, 6 Sep 1998 09:11:06 +0000 (09:11 +0000)]
Reviewed by: Andrey A. Chernov <ache@nagual.pp.ru>, Doug Rabson <dfr@nlsystems.com>

    Rewrote sleep() to remove int/long typing assumptions between the argument
    to the function and the timespec structure.

26 years agoUse a varargs style prototype in the manual page, with accompanying
jkoshy [Sun, 6 Sep 1998 08:50:49 +0000 (08:50 +0000)]
Use a varargs style prototype in the manual page, with accompanying
explanation in the text.

26 years agotcp_extensions now only applies to RFC1323
phk [Sun, 6 Sep 1998 08:20:11 +0000 (08:20 +0000)]
tcp_extensions now only applies to RFC1323

26 years agoRFC 1644 has the status "Experimental Protocol", which means:
phk [Sun, 6 Sep 1998 08:17:35 +0000 (08:17 +0000)]
RFC 1644 has the status "Experimental Protocol", which means:

   4.1.4.  Experimental Protocol

      A system should not implement an experimental protocol unless it
      is participating in the experiment and has coordinated its use of
      the protocol with the developer of the protocol.

Pointed out by: Steinar Haug <sthaug@nethelp.no>

26 years agoStore formatted panic string in static buffer to make it available later
ache [Sun, 6 Sep 1998 06:25:18 +0000 (06:25 +0000)]
Store formatted panic string in static buffer to make it available later
for savecore.
Previous code give only panic format to savecore

26 years agoChange the ELF64_R_SYM() to shift 32 bits instead of 8 bits to match
jb [Sat, 5 Sep 1998 23:07:59 +0000 (23:07 +0000)]
Change the ELF64_R_SYM() to shift 32 bits instead of 8 bits to match
binutils.

Ensure that three of the structures are the size that binutils writes
them. I just love code that doesn't share header files to avoid
problems like these.

With this change rtld-elf works on alpha.

26 years agoNFS can use TCP now days
obrien [Sat, 5 Sep 1998 20:42:47 +0000 (20:42 +0000)]
NFS can use TCP now days

26 years agoDon't recognize a file as an a.out shared library unless it has at
jdp [Sat, 5 Sep 1998 20:28:48 +0000 (20:28 +0000)]
Don't recognize a file as an a.out shared library unless it has at
least 2 version numbers.  This fixes the bug where the dynamic
linker would try to load an ELF shared library if it found one.

Note, this change also fixes the same thing in "ld", because the
code is shared.

For "ld" there is still a problem with ".a" libraries, which cannot
be distinguished by name.  I haven't decided what, if anything, to
do about that.

26 years agoIgnore the statically configured vfs type numbers and assign vfs
bde [Sat, 5 Sep 1998 17:13:28 +0000 (17:13 +0000)]
Ignore the statically configured vfs type numbers and assign vfs
type numbers in vfs attach order (modulo incomplete reuse of old
numbers after vfs LKMs are unloaded).  This requires reinitializing
the sysctl tree (or at least the vfs subtree) for vfs's that support
sysctls (currently only nfs).  sysctl_order() already handled
reinitialization reasonably except it checked for annulled self
references in the wrong place.

Fixed sysctls for vfs LKMs.

26 years agoFor a.out mode, ignore shared libraries that don't have at least 2
jdp [Sat, 5 Sep 1998 16:20:15 +0000 (16:20 +0000)]
For a.out mode, ignore shared libraries that don't have at least 2
version numbers.

26 years agoDon't do anything special to prevent access to created files - honour
bde [Sat, 5 Sep 1998 15:56:10 +0000 (15:56 +0000)]
Don't do anything special to prevent access to created files - honour
the default umask.  World unreadable files broke installing over nfs.

26 years agoInstantiate `nfs_mount_type' in a standard file so that it is present
bde [Sat, 5 Sep 1998 15:17:34 +0000 (15:17 +0000)]
Instantiate `nfs_mount_type' in a standard file so that it is present
when nfs is an LKM.  Declare it in a header file.  Don't forget to use
it in non-Lite2 code.  Initialize it to -1 instead of to 0, since 0
will soon be the mount type number for the first vfs loaded.

NetBSD uses strcmp() to avoid this ugly global.

26 years agoDisable gcc's builtin memcpy for alpha since it doesn't cope with unaligned
dfr [Sat, 5 Sep 1998 15:11:47 +0000 (15:11 +0000)]
Disable gcc's builtin memcpy for alpha since it doesn't cope with unaligned
regions properly and this triggers an unaligned access trap.

26 years agoFixed bogotification of pseudocode for syscall args by rev.1.53 of
bde [Sat, 5 Sep 1998 14:30:11 +0000 (14:30 +0000)]
Fixed bogotification of pseudocode for syscall args by rev.1.53 of
syscalls.master.