Commit Graph

43796 Commits

Author SHA1 Message Date
jkh
19ab44d39b Catch up to the fact that block devices are toast.
Teach about the afd driver.
Teach new char dev for ad driver.
Make ownerships correct.

Submitted by:	jhb
1999-12-15 08:33:56 +00:00
imp
0c150ca4f7 Add alloc/release resource. Need to connect functionality later. 1999-12-15 06:57:18 +00:00
shin
f3539c3f23 Enable INET6 by default.
This should be OK on non INET6 enabled kernel.
1999-12-15 05:13:22 +00:00
tanimura
7f2fbeebfd Add the description and example of sbc for non-PnP cards.
Noticed by:	Kentaro Inagaki <inagaki@tg.rim.or.jp>
1999-12-15 05:10:00 +00:00
billf
6cbdd98986 -Wall fixes. 1999-12-15 04:28:10 +00:00
mharo
a67c7a1db7 add human readable output (-h and -H)
Obtained from:	parts of human readable code from OpenBSD
Reviewed by:	obrien

add POSIX, byte and megabyte block size ouput flags

PR:		13579 (POSIX flag)
Submitted by:	Mike Meyer <mwm@phone.net>
1999-12-15 03:44:09 +00:00
jkh
61075c3a9d Put up some more helpful dialog boxes.
Adjust some text to make more sense.
1999-12-15 01:30:52 +00:00
tegge
ab33bd489f apic_irq() returns -1 when there is no match for (IOAPIC, intpin) pair.
Adjust some comments to better match the code.
1999-12-15 01:14:56 +00:00
cwt
0340751ede Replace spaces with a tab to fix build breakage 1999-12-15 01:07:28 +00:00
joerg
28f8af6c91 Step #2 of fixing the fixit floppy.
Kill duplicates for programs that have been in the boot crunched image
as well as on the fixit floppy (pwd, newfs, hostname, test).  Our
space is really too valuable to have them around there twice.  I doubt
pwd needs to be there at all since it's a builtin into sh(1) anyway
(oh, and the same applies to test(1) IIRC), but heck, leave them by
now.

Use the new `fixit' target in MAKEDEV to create the /dev nodes on
the floppy, instead of including the kitchensink...

Finally, tune the values used for creating the floppy.  I currently
end up with

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused
/dev/vnn0c       1363     1301      -47   104%     368      14    96%

...which is not quite ideal yet, but at least a working configuration
again.
1999-12-14 22:41:09 +00:00
gallatin
1283b07cd1 Add NetBSD's explanation of why it would be hard to emulate the Mach
system calls.

obtained from: NetBSD
1999-12-14 22:39:27 +00:00
gallatin
47701a1290 Add generated files 1999-12-14 22:37:09 +00:00
joerg
b25aed7d44 The target `all' evoluted into a kitchen-sink these days... It's no
longer really suitable as a default to create the various /dev nodes
to be contained on the fixit floppy, since all our proud new devide
nodes finally made the fixit floppy run over...

So instead create a new target titled `fixit' which creates just the
dev nodes for a single unit per each default driver; whoever needs
more of them is free to create whatever he needs, perhaps after
killing unused nodes before.  There were more than 700 /dev nodes on
the floppy before that action, and it's still around 350 now.  I doubt
all the various /dev/ugen* entries are really useful on such a tool,
so people, please check, and if you feel like more could be eliminated
from that floppy, kill'em.

While i was at it, removed traces of ft(8) that still survived even
though the driver has long since been dead.

That's step #1.  #2 will follow...
1999-12-14 22:36:03 +00:00
gallatin
1b39d5d377 Finally add the Alpha OSF/1 compat code. I will add it to the
sys/modules Makefile after completing a buildworld.

History:

The bulk of this code was obtained from NetBSD approximately one year
ago (I have taken care to preserve the original NetBSD copyrights and
I thank the authors for their work.) At that time, the OSF/1 code was
what was left over from their initial bootstrapping off of OSF/1 and
did not provide support for executing shared binaries.

I have independently added support for shared libraries, and support
for some of the more obscure system calls.  This code has been
available for testing and comment since January of 1999 and running on
production machines here at Duke since April.

Known working applications include:

- Netscape (all versions I've tried)
- Mathematica 3.0.2
- Splus 3.4
- ArcInfo 7.1
- Matlab (version unknown)
- SimOS
- Atom instrumented binaries (built on a real OSF/1 system)

Applications which are known not to work:

- All applications linking to libmach
- Adobe Acrobat  (uses libmach)

This has been tested with applications running against shared
libraries from OSF/1 (aka Tru64) 4.0D and 4.0F.

Reviewed by: marcel, obrien
BDE-lint by: obrien
Agreed in principal to by: msmith
1999-12-14 22:35:36 +00:00
hm
a53726a684 update to isdn4bsd beta release 0.90 1999-12-14 21:14:28 +00:00
hm
e5044a69c9 update to isdn4bsd beta release 0.90 1999-12-14 20:54:38 +00:00
hm
3c5fb5d611 update to isdn4bsd beta release 0.90
drivers which are likely to be ported to newbus are commented out for now
1999-12-14 20:52:41 +00:00
hm
57bc8b4124 update to isdn4bsd beta release 0.90 1999-12-14 20:48:35 +00:00
jasone
2edcbc2e0b Make setjmp, longjmp, sigsetjmp, and siglongjmp weak aliases for
__setjmp, __longjmp, __sigsetjmp, and __siglongjmp, respectively.
This supports cancellation in the linuxthreads port.  In the long run,
a much more comprehensive solution will necessitate more dramatic changes
to libc symbol naming, and these aliases will probably need modification
at that time.
1999-12-14 20:17:52 +00:00
dillon
3968ced3f8 Fix two problems: First, fix the append seek position race that can
occur due to np->n_size potentially changing if nfs_getcacheblk()
    blocks in nfs_write().

    Second, under -current we must supply the proper bufsize when obtaining
    buffers that straddle the EOF, but due to the fact that np->n_size can
    change out from under us it is possible that we may specify the wrong
    buffer size and wind up truncating dirty data written by another
    process.

    Both problems are solved by implementing nfs_rslock(), which allows us
    to lock around sensitive buffer cache operations such as those that
    occur when appending to a file.

    It is believed that this race is responsible for causing dirtyoff/dirtyend
    and (in stable) validoff/validend to exceed the buffer size.  Therefore
    we have now added a warning printf for the dirtyoff/end case in current.

    However, we have introduced a new problem which we need to fix at some
    point, and that is that soft or intr NFS mounts may become
    uninterruptable from the point of view of process A which is stuck waiting
    on rslock while process B is stuck doing the rpc.  To unstick process A,
    process B would have to be interrupted first.

Reviewed by:	Alfred Perlstein <bright@wintelcom.net>
1999-12-14 19:07:54 +00:00
gallatin
4c83e2cd18 Stop calling everthing an XP1000. 1999-12-14 17:50:00 +00:00
gallatin
06a35cd8cd Improve the mapping between the hardware PCI bus numbering on multi-hose
tsunami systems and the PCI bus-numbering system of FreeBSD.  Eg, the former
allows for 2 PCI bus 2's (one each on hoses 0 and 1) while the latter
needs to give each PCI bus a unique monotonically increasing number.

It has been fairly well tested and correctly maps machines with a ppb on
hose 1 as well as machines with ppbs on both hoses.

DS10s remain untested, as I do not have a pci card with a ppb which will
pass POST in a tsunami.

This is a house of cards.
1999-12-14 17:35:08 +00:00
nik
6ef9746e27 Commented out
MAN8+= rstat_svc.8

The file it talks about doesn't exist on FreeBSD, so there's no point in
installing the manual page.  There was already a comment to this effect in
this file, but the entry hadn't been commented out.

rstat.1 and rstat_svc.8 can probably actually be removed.

PR:             docs/13767
Submitted by:   Seth <seth@freebie.dp.ny.frb.org>
1999-12-14 16:56:46 +00:00
jlemon
68756a0d9e Use SEQ_* macros for comparing sequence space numbers.
Reviewed by:	truckman
1999-12-14 15:43:56 +00:00
billf
5b92abcf9d Remove x-ref to itself.
Reviewed by:	mpp
1999-12-14 11:34:47 +00:00
phantom
0cd874ce43 Correct "standard compilance" notes
Reminded by: bde
1999-12-14 10:35:09 +00:00
sos
358ef546e6 Have another go at the VIA support, this time use the PCI ID form the
main component in the southbridge chip to determine which VIA chip
we are dealing with.

Try to enable DMA on generic controllers that say they has the
capability, instead of relying on the BIOS to have set it up.
1999-12-14 10:25:28 +00:00
billf
f4c90f5001 Use the traditional bmake magic.
Reviewed/approved by:	sos
1999-12-14 08:47:59 +00:00
billf
610e431f91 -Wall.
Reviewed/approved by:	sos
1999-12-14 08:47:42 +00:00
tanimura
380f1c8220 Fix the command to launch DMA for 16bit samples.
Tested by:	Steve Reid <sreid@sea-to-sky.net>
1999-12-14 06:34:48 +00:00
obrien
18701ab58a Document `chown's move. 1999-12-14 04:54:55 +00:00
obrien
7ecbe9c845 Install chown' into /sbin rather than /usr/sbin as chown' is needed by
`MAKEDEV'.  And one might need to `MAKEDEV' inorder to get a device node
in order to mount /usr from.
1999-12-14 04:48:17 +00:00
jkh
d3944eb60a Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.
1999-12-14 04:25:29 +00:00
jkh
796518d068 Prevent spaces from being interpreted as accelerators. 1999-12-14 04:18:22 +00:00
green
92bdda92f4 Bug fix:
The variables "m_mclalloc_wid" and "m_mballoc_wid" were not in the
proper place.  They should have been in uipc_mbuf.c and have been global,
not in mbuf.h and local per each file that uses mbuf.h.

Sorta bug fix:
   In mbuf.h, the definitions of various things for KERNEL and not
KERNEL cases were very screwy.   This fixes all of that which I could
find.
1999-12-14 02:23:14 +00:00
jkh
003a13cc32 Make kerberos4 conditional. 1999-12-14 00:47:23 +00:00
jkh
64485eb0e0 Conditionalize kerberos4 to keep sources in sync. 1999-12-14 00:44:05 +00:00
billf
8271c7a404 Fix grammar error. (missing verb) 1999-12-13 23:37:56 +00:00
wpaul
20bb20f965 Fix some problems reported by Mike Pritchard:
- Add a flag DC_TX_INTR_ALWAYS which causes the transmit code to
  request a TX done interrupt for every packet. The PNIC seems to need
  this to insure that the sent TX buffers get reaped in a timely fashion.

- Try to unreset the SIA as soon as possible after resetting the whole
  chip.

- Change dcphy to support either 10/100 or 10Mbps only NICs. The
  built-in 21143 ethernet in Compaq Presario machines is 10Mbps only
  and it doesn't work right if we try to advertise 100Mbps modes during
  autoneg. When restricted to only 10mbps modes, it works fine.

  Note that for now, I detect this condition by checking the PCI
  subsystem ID on this NIC (which has a Compaq vendor/device ID).
  Yes, I know that's what the SROM is supposed to be for. I'm deliberately
  ignoring the SROM wherever possible. Sue me.

The latter two fixes allow if_dc to work correctly with the built-in
ethernet on certain Compaq Presario boxes. There are liable to be quite
a few people using these as their home systems who might want to try
FreeBSD; may as well be nice to them.

Now if anybody out there has an Alpha miata with 10Mbps ethernet and
can show me the output from pciconf -l on their system, I'd be grateful.
1999-12-13 21:45:13 +00:00
marcel
81282dc103 Add a `build-tools' target for make_hash and make_keys. 1999-12-13 21:25:08 +00:00
guido
39eef9ac50 Add new option, -L that will listen the various listen queue lengths.
Reviewed by:	Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
		Clive Lin <clive@GnatS.CirX.ORG>
1999-12-13 20:08:44 +00:00
roberto
cdc2842a0c Add the NMEA and the ONCORE driver.
Submitted by:	wollman, phk
1999-12-13 19:44:07 +00:00
mjacob
ad4df1eda4 minor comment update 1999-12-13 19:40:00 +00:00
ache
d49556544e Fix bug with internal functions when locale is active
PR:		15370
Reviewed by:	no responce from maintainer
Obtained from:	perl development sources
1999-12-13 19:11:53 +00:00
brian
0a9c037304 Handle PPPoPTY correctly. 1999-12-13 18:45:21 +00:00
imp
5fac182947 Add notes from recent HEADS UP messages:
o soren updated the ata driver.  Please use 1213 or newer if
	  you have problems with the old stuff.
	o Enshrine the night of bared axes against wd.  Strongly push
	  users to move to ata driver.
	o Alpha users need to recompile klds after 11/29.
	o Mention the sound driver bridge code commit of 11/22.
	o change examples in 1205 entry from wd to ad.
	o Talk about new dc driver replacing all of the drivers that
	  Bill Paul has ever written.[*]

Corrections to these entries welcome.

[*] Well, at least those based on tulip clones...
1999-12-13 17:55:23 +00:00
dillon
bab004e729 Add a readahead heuristic to the NFS server side code. While the server
cannot unilaterally pass data to a client it can reduce the physical
    disk transaction overhead by reading larger blocks.  This results in
    better pipelining of requests/responses over the network and an almost
    100% increase in cpu efficiency on the server.  On a 100BaseTX network
    NFS read performance increases from 8.5 MBytes/sec to 10 MB/sec (maxed
    out), and cpu efficiency increases from 72% idle to 80% idle on the server.

Reviewed by:	Alfred Perlstein <bright@wintelcom.net>
1999-12-13 17:34:45 +00:00
dillon
0a7cf7b859 Forgot a log message in the last commit. Fix an mbuf leak in
nfs_srvcache.c related duplicate requests on a heavily loaded
    server.  If a duplicate request is received while the previous
    request is still being processed from the cache, the previous
    mbuf chain in the cache will be replaced without first being freed.

PR:		kern/15222
1999-12-13 17:09:34 +00:00
dillon
b01e2d1796 PR: kern/15222
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
1999-12-13 17:07:03 +00:00
phantom
b61f7b256b Add simple manual page for amd driver
Requested by: folks on fido7.ru.unix.bsd
1999-12-13 17:00:59 +00:00