Commit Graph

59897 Commits

Author SHA1 Message Date
brian
2e530caca7 Bring the interface IFF_UP from ipcp_InterfaceUp() (called from IPCP's
TLU event handler).

This used to be done as a side effect of SIOCAIFADDR'ing the interface,
but now that duplicate SIOCAIFADDRs are optimised out, we can't depend
on that behaviour.
2001-05-11 23:42:03 +00:00
jhb
412224efe1 GC prototype for procfs_bmap() missed during a previous commit. 2001-05-11 23:37:37 +00:00
jhb
e268f1a652 Simply the vm fault trap handling code a bit by using if-else instead of
duplicating code in the then case and then using a goto to jump around
the else case.
2001-05-11 23:17:54 +00:00
jhb
f4286a3e27 Allow sendsig() to hand the proc lock off to osendsig() rather than having
sendsig() release the lock just so it can call osendsig() and have
osendsig() acquire the lock.
2001-05-11 23:17:05 +00:00
jhb
d77bcd655d Add a new macro to test if a process' proc lock is held by the current
thread: PROC_LOCKED().
2001-05-11 21:28:37 +00:00
wpaul
76693484d6 It's vlan.h, not opt_vlan.h. 2001-05-11 20:55:31 +00:00
iedowse
51616eb5fa In vrele() and vput(), avoid triggering the confusing "missed vn_close"
KASSERT when vp->v_usecount is zero or negative. In this case, the
"v*: negative ref cnt" panic that follows is much more appropriate.

Reviewed by:	mckusick
2001-05-11 20:42:41 +00:00
jlemon
a0de4165d2 Regenerate. 2001-05-11 20:41:20 +00:00
jlemon
f88c2025cd Correctly recognize the i82562{EM} PHYs.
Obtained from: OpenBSD
2001-05-11 20:34:38 +00:00
wpaul
0f9e1b77ba Regenerate 2001-05-11 20:27:39 +00:00
jhb
f965cf48cf Check witness_dead in more functions to avoid panic'ing when assertions
fail due to witness exhausting its internal resources and shutting down.

Reported by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
Tested by:	David Wolfskill <david@catwhisker.org>
2001-05-11 20:25:29 +00:00
wpaul
81914be487 Disable the 'stats counter overflow' interrupts since they can happen
much more often that expected and negatively impact performance when
running at 100mbps. I need to figure out if there's a better way to
handle this, but for now this shouldn't hurt anything.
2001-05-11 20:15:41 +00:00
wpaul
c2ceacfa6a Add support for gigabit ethernet cards based on the NatSemi DP83820
and DP83821 gigabit ethernet MAC chips and the NatSemi DP83861 10/100/1000
copper PHY. There are a whole bunch of very low cost cards available with
this chipset selling for $150USD or less. This includes the SMC9462TX,
D-Link DGE-500T, Asante GigaNIX 1000TA and 1000TPC, and a couple cards
from Addtron.

This chip supports TCP/IP checksum offload, VLAN tagging/insertion.
2048-bit multicast filter, jumbograms and has 8K TX and 32K RX FIFOs.
I have not done serious performance testing with this driver. I know
it works, and I want it under CVS control so I can keep tabs on it.
Note that there's no serious mutex stuff in here yet either: I need
to talk more with jhb to figure out the right way to do this. That
said, I don't think there will be any problems.

This driver should also work on the alpha. It's not turned on in
GENERIC.
2001-05-11 19:56:39 +00:00
wilko
bab8dbfc88 AS800 uses EDO DIMMs, not SDRAM
Submitted by:	Brodie Hynes <brodie@alum.mit.edu>
2001-05-11 18:02:37 +00:00
wilko
ca404d2e06 AS800 uses EDO DIMMs, not SDRAM DIMMs.
Submitted by:	Brodie Hynes <brodie@alum.mit.edu>
2001-05-11 18:01:27 +00:00
tegge
962fef4bbb Regenerate. 2001-05-11 17:05:47 +00:00
tegge
faa35d1797 gettimeofday() is MP safe on both -current and -stable. 2001-05-11 17:05:12 +00:00
assar
9efb421745 de-constify to make it compatible with (krb4) and make-print-version
Submitted by:	Peter Pentchev <roam@orbitel.bg> (just inverted)
2001-05-11 16:56:36 +00:00
ru
c106438751 In in_ifadown(), differentiate between whether the interface goes
down or interface address is deleted.  Only delete static routes
in the latter case.

Reported by:	Alexander Leidinger <Alexander@leidinger.net>
2001-05-11 14:37:34 +00:00
markm
18e0eead3e Add utility PAMs for finer userland control 2001-05-11 10:12:55 +00:00
markm
84358eb29b Fix PAMized telnet in exactly the same way as BDE did it for the other
telnet instances.
2001-05-11 09:39:11 +00:00
markm
59bdfd4c78 Fix make world in the kerberosIV case. 2001-05-11 09:36:17 +00:00
dirk
a89f94c3bc Add 470.status-named.
Reminded by:	gshapiro
2001-05-11 09:32:48 +00:00
ache
b75855b041 Add exact names for suggested screenmaps 2001-05-11 08:45:34 +00:00
mckusick
78ec8b22ef Update the fsck command in /etc/rc to use the new background
fsck checking. Applying these changes (typically via mergemaster)
will cause your system to start running background checks on all
your soft update enabled filesystems (provided that you have
a kernel with the required functionality, e.g., one built since
the end of April). Please report any and all problems to
mckusick@mckusick.com (not mckusick@freebsd.org which I read
infrequently). See the comment above the fsck command in /etc/rc
for instructions on how to disable background checking should it
cause you too much trouble.

Several FAQs:

1) Can I reboot before the background checks are done?

Ans) Yes, when the system restarts the checks will pick up
     where they left off.

2) Can a crash during checking corrupt my filesystem?

Ans) No, recovered resources are returned to the system using soft
     updates which ensure that the freeing is done in a safe order.

3) How will I know if any background checks are being done?

Ans) Filesystems that are to be checked in background will be listed
     as `DEFER FOR BACKGROUND CHECKING' at the usual fsck check time
     during system startup.

4) What happens to the output of the background checks?

Ans) It is sent to syslog `daemon' facility log level `notice'.

5) When will this feature be available in the 4.X kernel?

Ans) Never. It is much too radical and extensive a change to be
     MFC'ed. Besides, it needs many months of experience and
     tuning before it is ready for widespread use.

6) What happens if a background fsck fails (i.e., fsck finds
   errors that would normally require a manual fsck)?

Ans) The filesystem will be marked as needing a manual fsck.
     At the next system reboot, the check will be done in
     foreground and the usual actions taken (usually a failure
     to go multi-user until fsck has been run by hand on the
     affected filesystem).
2001-05-11 07:40:39 +00:00
luigi
ba4a7b751f Sync picobsd script with the one in -stable, and also
patch boot2 so it goes to load /kernel right away

Perl code from Josef Karthauser
2001-05-11 07:39:40 +00:00
mckusick
6f851aa835 Remove yet another deadlock case. 2001-05-11 07:12:03 +00:00
grog
b88c7d44fa Fix world-breaking typo in previous commit. 2001-05-11 07:06:06 +00:00
msmith
ab6ad8dc51 Un-swap irq/link byte values so that printf works. 2001-05-11 04:52:29 +00:00
mikeh
84f7751c4b Allow mail(1) to be able to read Eudora mailboxes by transforming
lines that end in <CR><LF> to just <LF>.

Reviewed by:	imp
Obtained from:	OpenBSD
2001-05-11 03:07:11 +00:00
assar
d949912a40 merge imported changes into HEAD 2001-05-11 00:14:02 +00:00
bmah
d673aaff0e New release notes: statfs(2) and df(1) track blocks committed to being
freed by softupdates, ifconfig(8) accepts CIDR notation, rc(8) clean-out
of /var/run and /var/spool/lock, c89(1) is now a binary, pax(1)
enhancements and cpio(1)/tar(1) compatability, Ukranian language console
support.

Other:  Update/make (more) consistent the list of WaveLAN devices
supported.

MFCs noted:  ln(1) -h/-n, find(1) timestamp flags.
2001-05-10 23:38:32 +00:00
scottl
fed006f169 Add information about the 2400A controllers. Fix erroneous reference to
BSD/OS.
2001-05-10 22:34:45 +00:00
sobomax
aa401e8fb7 Sync KOI8-U with latest KOI8-R changes. Also restore correct numbering
in the font selection dialog broken by the removal of KOI8-R.

Prompted by:	ache
MFC after:	2 weeks
2001-05-10 21:04:36 +00:00
bsd
664149fd16 Bring the doc up to date with regard to the /etc bootstrapping code
and the role of /conf/default/etc.
2001-05-10 20:50:54 +00:00
bsd
0c3fab72d9 MFS: bring Luigi's updated diskless man page into -current. 2001-05-10 20:45:46 +00:00
jkh
0aee2b78da Add Romania to ftp mirrors. 2001-05-10 18:38:25 +00:00
jhb
7ca3750d5a Trim lots of stuff that is now in MI code along with MD alpha code. 2001-05-10 17:58:35 +00:00
jhb
b9aa30a9da - Split out the support for per-CPU data from the SMP code. UP kernels
have per-CPU data and gdb on the i386 at least needs access to it.
- Clean up includes in kern_idle.c and subr_smp.c.

Reviewed by:	jake
2001-05-10 17:45:49 +00:00
ache
c4dc928d92 Add mousechar_start=3 for Russian font
(-current only)
2001-05-10 17:32:31 +00:00
wpaul
bb5973c512 Try to read the station address twice during the probe. I've seen
a LinkSys card here in the office where reading the station address
fails the first time, but works find afterwards. Without this, the
probe fails. I don't think this will negatively impact any existing
cards, but I want to confirm this before MFC'ing.
2001-05-10 17:17:24 +00:00
sheldonh
dcd8123edb Handle sbsize as a size, not a number.
Submitted by:	Paul Herman <pherman@frenchfries.net>
2001-05-10 17:15:06 +00:00
ache
b40119fa19 Move cons25w entry last, index is off by one otherwise if RunningAsInit 2001-05-10 17:14:29 +00:00
ache
8b732e1fdc Remove CP866 keyboard and KOI8-R font to not confuse users.
Explain more about CP866 font usage.
2001-05-10 17:03:14 +00:00
jhb
fd397a82f0 - Use sched_lock and critical regions to ensure that LDT updates are thread
safe from preemption and concurrent access to the LDT.
- Move the prototype for i386_extend_pcb() to <machine/pcb_ext.h>.

Reviewed by:	silence on -hackers
2001-05-10 17:03:03 +00:00
sobomax
3e209c01a8 Add support for Ukrainian console.
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua>
MFC after:	2 weeks
2001-05-10 15:57:16 +00:00
dwmalone
e1f582d079 Add the ability to specify alternate PID file for syslogd.
PR:		25784
Submitted by:	Jon Villarreal <jonv@ivmg.net>
Reviewed by:	iedowse
2001-05-10 15:48:33 +00:00
brian
1ef9102870 Delete everything that's not a directory in /var/run and /var/spool/lock
at boot time.

MFC after: 3 weeks
2001-05-10 09:25:10 +00:00
obrien
45396cd9c5 Tell the user what group they must be in to su to root.
Submitted by:	Seth Kingsley <sethk@osd.bsdi.com>
2001-05-10 07:37:25 +00:00
ru
42daaf609f mdoc(7) police: fix markup. 2001-05-10 07:29:35 +00:00