50611 Commits

Author SHA1 Message Date
kris
c2e76f6679 Temporary hack for the benefit of the X-Bone project
(http://www.isi.edu/xbone). I expect this to go away in due course.

Submitted by:	Lars Eggert <larse@ISI.EDU>
2000-07-20 00:35:37 +00:00
davidn
c4d081a807 Fix another missed case where usermod would not set the "modified" flag:
-h - to set no password. But only mark modified if the account is not
already locked (i.e. first char of crypt password field is '*').
PR:		bin/19999
2000-07-20 00:09:29 +00:00
obrien
90867c9b4d Add ftp.freebsd.org Snapshots to the list of servers. 2000-07-19 23:59:01 +00:00
des
3ce22a8bc5 Fix two bugs related to resumed transfers:
- if the dates didn't match, fetch would append the received file to the
    existing file instead of replacing it.

  - if the local file was complete and up-to-date, fetch would miscalculate
    the expected size and report a failure instead of a success, because it
    had no way of knowing that the server was actually resending the entire
    file since the requested offset was invalid.
2000-07-19 23:56:45 +00:00
des
adc026dc20 Don't try to skip to the requested offset if the server returns more data
than requested.  Instead, inform the caller of the real offset by modifying
the offset field in the original struct url, and let him decide how to handle
the situation.
2000-07-19 23:43:49 +00:00
darrenr
4aa79112f9 actually commit merged diffs to the trunk 2000-07-19 23:10:29 +00:00
n_hibma
471997687f Typo.
Submitted by:	Mike Meyer <mwm@mired.org>
2000-07-19 23:07:42 +00:00
marcel
8eabbf5453 Add cp(1) to the list of binaries we need to save. The cp(1) command
is used by the installation of ld-elf.so when an existing version
exists.
2000-07-19 22:48:52 +00:00
ben
291744d0a8 * document that 'kbdcontrol -k' needs stdin to be the console.
* add an example of how to switch the console keyboard to a USB keyboard.

PR:		18520
Submitted by:	n_hibma
Reviewed by:	sheldonh
2000-07-19 19:13:55 +00:00
ben
8dc09f7b51 Document the rc.d system.
Suggested by:	dcs
Reviewed by:	alex, dcs, sheldonh
2000-07-19 19:08:08 +00:00
imp
537f6dd949 alex@big.endian.de (Alexander Langer) noticed that I point at LINT,
which no longer exists.  Updating the entry accordingly.
2000-07-19 18:35:05 +00:00
marcel
192923ebc9 Don't save install-info. We already have that built. We'll use
the one we built anyway.
2000-07-19 18:18:21 +00:00
archie
32c8825fe1 Remove node's name reference when the interface is detached;
otherwise, the ng_ether.ko KLD will never be unloadable after
all Ethernet interfaces are detached, as it should be, because
of the lingering extra reference.

Submitted by:	"Yevmenkin, Maksim N, CSCIO" <myevmenkin@att.com>
2000-07-19 17:33:53 +00:00
archie
b16240b827 Show the actual command line usage in the man page and usage error string. 2000-07-19 17:24:53 +00:00
jasone
531e62c825 pthread_once --> pthread_once_t. 2000-07-19 16:38:07 +00:00
archie
b055a8a669 Remove extra #include that was inadvertently added in previous commit. 2000-07-19 16:32:46 +00:00
imp
313eec7c25 Default the pcic to polling. Some laptops need to have polling mode
due to a paucity of IRQs.  I have some reservations about this, so I'm
not going to MFC this just yet.  I'm doing this to see how many
problems it causes so we can do this in 4.2.  I've been seeing hangs
on my laptop from time to time, but sometimes it was not in polling
mode, other tmies it was.  Don't know if this is one problem or more
than one.

Requested by: Sean O Connell
2000-07-19 16:32:38 +00:00
archie
4b8df583be Fix breakage caused by ether_aton() prototype change.
PR:		bin/20033
2000-07-19 16:30:02 +00:00
bde
d53bace8f9 Fixed bitrot in DPADD. 2000-07-19 16:24:08 +00:00
ben
5305b812e4 Mark cdcontrol's "cdid" command as [MERGED]. 2000-07-19 16:05:37 +00:00
archie
a66f7a68d6 Fix make world breakage.
Broken by:	me
2000-07-19 16:03:34 +00:00
gallatin
b0e74737e9 Fix an alpha-only race which causes the transmit side of the chip to
lock up under moderate to heavy load.

The status & command fields share a 32-bit longword.  The programming
API of the eepro apparently requires that you update the command field
of a transmit slot that you've already given to the card.  This means
the card could be updating the status field of the same longword at
the same time. Since alphas can only operate on 32-bit chunks of
memory, both the status & command fields are loaded from memory &
operated on in registers when the following line of C is executed:

                sc->cbl_last->cb_command &= ~FXP_CB_COMMAND_S;

The race is caused by the card DMA'ing up the status at just the wrong
time -- after it has been loaded into a register & before it has been
written back.  The old value of the status is written back, clobbering
the status the card just DMA'ed up. The fact that the card has sent
this frame is missed & the transmit engine appears to hang.

Luckily, as numerous people on the freebsd-alpha list pointed out, the
load-locked/store-conditional instructions used by the atomic
functions work with respect changes in memory due to I/O devices.  We
now use them to safely update the command field.

Tested by: Bernd Walter <ticso@mail.cicely.de>
2000-07-19 14:33:52 +00:00
darrenr
9f3624548b fix conflicts 2000-07-19 14:02:09 +00:00
darrenr
464e3d57b8 fix conflicts 2000-07-19 13:56:18 +00:00
darrenr
243b2e7424 This commit was generated by cvs2svn to compensate for changes in r63516,
which included commits to RCS files with non-trunk default branches.
2000-07-19 13:52:47 +00:00
darrenr
90778a7160 Import v3.4.8 into -current 2000-07-19 13:52:47 +00:00
ume
2988979ab5 Add some examples for IPv6 addresses.
PR:		conf/18614
Submitted by:	James Housley <jim@thehousleys.net>
2000-07-19 13:05:58 +00:00
sheldonh
01a450a566 Remove mention of SYNCER_MAXDELAY and "thirty seconds", using more
general terms instead.  This follows a discussion with alfred,
in which it became clear that I had misunderstood sched_sync().
2000-07-19 11:47:16 +00:00
peter
78e2f98cea Use <bsd.kmod.mk> not a path to ../../conf/kmod.mk. 2000-07-19 10:40:39 +00:00
brian
e59bf23032 Add a default ident string and do some minor whitespace adjustments 2000-07-19 10:16:29 +00:00
brian
500d4d6905 Describe the new VERSION and COMPILATIONDATE macros and mention that the
``ident'' command will expand macros.
2000-07-19 10:14:00 +00:00
ru
06cffe2533 Add /dev/agpgart for AGP.
Reviewed by:	dfr
2000-07-19 09:21:14 +00:00
des
e8e313d17b Braino: don't use passive mode unless the user requests it.
PR:		bin/20025
Submitted by:	HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
2000-07-19 09:12:36 +00:00
ps
4ffc180c1d Oops. fsync(8) should have been fsync(1). (repo-copied by peter)
Change reference from update(4) to syncer(4).
2000-07-19 08:44:26 +00:00
ps
70a9f15ed6 Add fsync(8). This becomes useful with the advent of MAP_NOSYNC etc.
Reviewed by:	peter
2000-07-19 08:38:18 +00:00
sheldonh
37dc146239 Update stale references to update(4) with references to the new
syncer(4) manual page.
2000-07-19 07:39:08 +00:00
sheldonh
672d736d95 Replace the obsolete update(4) manual page with syncer(4). I was
not abble to solicit review from <freebsd-hackers>.
2000-07-19 07:15:32 +00:00
imp
42caeca203 Apm device is now safe to be world readable, so make it so. 2000-07-19 06:35:58 +00:00
imp
eda0d0cadc When we're just reading info from the driver, attempt to open the apm
device read only so we can suppot a readonly apm device.
2000-07-19 06:34:02 +00:00
sheldonh
985f997674 Clean up this new manual page. This delta includes content and
whitespace changes, which should not be a problem because this
is only the second revision of the file and translators are
unlikely to have gotten started yet.

Reviewed by:	abial
2000-07-19 06:33:34 +00:00
imp
141cdecc82 Except for the information gathering IOCTLs, require apm device be
opened for write.  This should make the apm device read only safe.
2000-07-19 06:32:00 +00:00
ume
174b0abb77 To define A RR to root (.) is valid in DNS. So, h_name = "" shouldn't
be treated as NULL.

PR:		bin/19816
Submitted by:	Bill Fenner <fenner@research.att.com>
Reviewed by:	Atsushi Onoe <onoe@sm.sony.co.jp>
2000-07-19 06:22:01 +00:00
cokane
f41547bc44 Studied the tech docs for the Voodoo3 and Banshee, and hopefully fixed the
errors that plagued those cards with XFree86 4.0. They have two memory
ranges as well as an IO port range to them. Also cleaned up the three
warning messages that I got, from inb(), outb() and linuxulator. Also, I
noticed that the DRI and Glide support for the Voodoo4 and 5 has been
placed upon linux.3dfx.com, too bad they haven't released the tech docs
yet. Apparently, they are still pushing glide for all of us, so I will try
and add support once those tech docs are up.
2000-07-19 05:41:14 +00:00
marcel
e6caba2a62 Save any binaries we use by installworld, so that we won't use the
binaries we just installed. This allows a future upgrade target to
install a new system without intermediate reboots and also
prevents conflicts for parallel make runs where we might exec a
binary that's being installed at the same time.
2000-07-19 04:41:59 +00:00
brian
9a38ef3d03 Support link identification from rfc1570
Two new commands are available; ``ident'' and ``sendident''.
2000-07-19 02:10:35 +00:00
ben
1a45e35d8c From the PR:
1.  Correct FTP site for 4.0-stable snapshots and delete sentence
    fragment immediately following.
    [ not applicable to HEAD ]

2.  Add FDDI section to table of contents (see #5 below) and add
    one line of whitespace.

3.  In userland section, document csh->tcsh, more->less, and
    colorized ls.

4.  In Ethernet section, do:

        s/gigabit ethernet/Gigabit Ethernet/
        s/fast ethernet/Fast Ethernet/
        s/ethernet/Ethernet/

5.  Pull DEC DEFPA/DEFEA *FDDI* cards out of the *Ethernet* section
    and into their own second-level section.

6.  Add missing period in section header in ATM section.

7.  Tweak upgrading sectio with some new text, not sure if this is
    much better though.

8.  Add a blurb about the -stable mailing list.
    [ changed to -current list in HEAD ]

PR:		20015
Submitted by:	Bruce A. Mah <bmah@cisco.com>
2000-07-19 00:05:59 +00:00
archie
97e87e17de Const'ify parameters to ethers(3) routines as appropriate. 2000-07-18 22:44:52 +00:00
archie
e58c321b82 Make "ifconfig" with no arguments equivalent to "ifconfig -a". 2000-07-18 22:07:31 +00:00
jlemon
f793ebc479 Fix a bug which would cause some knotes to get lost when two kqueues
were being used in a process at the same time.

Test case provided by:  Chris Peiffer <peifferc@CS.Stanford.EDU>
2000-07-18 21:41:47 +00:00
cg
1107e981d0 make this file suitable for 4-stable as well as 5-current 2000-07-18 21:23:48 +00:00