Commit Graph

11035 Commits

Author SHA1 Message Date
phk
54821023b2 Sigh, we need this one now. 1998-06-30 11:20:19 +00:00
jmg
329c2b429b fix buildworld hopefully be3fore anyone complains...
NFS_*TIMO should possibly be converted to sysctl vars (jkh's suggestion),
but in some cases it looks like nfs keeps a copy of the value in a struct

hash sizes are already ifdef'd KERNEL, so there aren't userland inpact
from them...
1998-06-30 11:19:22 +00:00
phk
dfcb02a5da These are a selection of small problems and annoyances with the netboot
code. Apart from the first one, none really affect typical configurations
but are nevertheless unnecessary limitations. We use netbooted PCs as
student X-terminals and all of the below fixes have been useful. Apologies
for including them all in one PR, but some are just too silly or trivial
to send on their own!

a)     Newer SMC cards have hardware addresses starting with 00:E0.
      Netboot compares the MAC address with 00:00:C0 to determine
      if it is a WD/SMC card, so it fails to detect these.

b)     Netboot is unable to boot kzipped kernels, as it assumes that
      the kernel load address is 0x100000.

c)     Users can abort the booting process and enter arbitrary network
      addresses, or boot from a floppy disk. This can be a problem when
      netbooted machines are used in a student environment.

d)     It is not possible to set all options via bootp. For example there
      is no way to remotely force a client to boot from disk. With both
      SECURE_BOOT(patch below) and NO_TFTP defined, short of unplugging
      the eprom there is no way at all to get the client to boot locally.
      A generic solution is to allow complete netboot commands to be sent
      using bootp lines such as:
	      :T132="diskboot":
e)     The last character of netboot command names is not checked. You
      can type 'iz 10.0.0.1' and it will be interpreted as 'ip'. This
      is only important if you try to add a new command which is the
      same as an existing one except for the last character.

f)     We have a configuration where multiple servers are willing to serve
      a diskless client. The tftp config file, or the bootptab entry on
      each server must specify the root and swap filesystems as 'ip:/fs'
      even though 'ip' will usually be the responding server's IP address.
      It would be nice if netboot could automatically prepend the server's
      IP address to an entry specified as just '/fs', so that multiple
      servers can use the same tftp or bootp configuration files. Admittedly
      this is hardly a major problem!

PR:		7098
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
1998-06-30 11:10:29 +00:00
phk
1d4468b367 #include sys/libkern.h instead of stdlib.h.
PR:		7105
Reviewed by:	phk
Submitted by:	Robert Watson <robert+freebsd@cyrus.watson.org>
1998-06-30 11:05:11 +00:00
phk
64b5b1b47c Byte count statistics of multicast vifs are invalid.
The problem is caused by a wrong endianess in the sum.

PR:		7115
Submitted by:	Joao Carlos Mendes Luis <jonny@jonny.eng.br>
1998-06-30 10:56:31 +00:00
jmg
002e169c30 remove option LINUX as it did nothing, add DEBUG_LINUX to debug the
linux emulation...

(actually moved LINUX to opt_dontuse.h)
1998-06-30 08:40:33 +00:00
jmg
ea6d59d421 move OVERRIDE_TUNER from i386 to general options... it's not i386
specific
1998-06-30 08:32:51 +00:00
jmg
baacf4c902 document options to hardwire GUS irq/dmas... 1998-06-30 08:24:02 +00:00
jmg
fc0e7ade1c document PCI_QUIET that prevents pci from compiling in so many strings 1998-06-30 08:13:27 +00:00
jmg
1673fe178b document some VM paging options for cache sizes:
PQ_NOOPT	no coloring
PQ_LARGECACHE	used for 512k/16k cache
PQ_HUGECACHE	used for 1024k/16k cache
1998-06-30 08:01:30 +00:00
jmg
7ccb6ebd15 make NO_SCSI_SENSE a proper option (already documented in LINT) 1998-06-30 07:47:44 +00:00
jmg
087c573403 document and make EXPORTMFS a new style option 1998-06-30 07:36:33 +00:00
jmg
caa72af181 convert some nfs tunables to options, these are:
NFS_MINATTRTIMO         VREG attrib cache timeout in sec
NFS_MAXATTRTIMO
NFS_MINDIRATTRTIMO      VDIR attrib cache timeout in sec
NFS_MAXDIRATTRTIMO
NFS_GATHERDELAY         Default write gather delay (msec)
NFS_UIDHASHSIZ          Tune the size of nfssvc_sock with this
NFS_WDELAYHASHSIZ       and with this
NFS_MUIDHASHSIZ         Tune the size of nfsmount with this
NFS_NOSERVER            (already documented in LINT)
NFS_DEBUG               turn on NFS debugging

also, because NFS_ROOT is used by very different files, it has been
renamed to opt_nfsroot.h instead of the old opt_nfs.h....
1998-06-30 03:01:37 +00:00
bde
f8791e4686 Fixed bogus dependency on `beforedepend'. File targets should never
depend on phony targets or they would always be out of date.
1998-06-29 18:52:33 +00:00
phk
ddf6c75812 Update generated files 1998-06-28 10:04:01 +00:00
phk
195c294a7d Add trailing newline to sys/syscall.mk so that diff doesn't choke on it. 1998-06-28 10:01:52 +00:00
dg
d2fefefc13 Added a sysctl variable kern.sugid_coredump for controlling coredump
behavior of setuid/setgid binaries that defaults to 0 (coredump disabled).
1998-06-28 08:37:45 +00:00
gibbs
1f446dff13 Some revisions of the aic7880 have a problem where, if the
data fifo is full, but the PCI input latch is not empty,
HDMAEN cannot be cleared.  The fix used here is to attempt
to drain the data fifo until there is space for the input
latch to drain and HDMAEN de-asserts.

This is a 1 instruction fix, so it should have no performance
impact.
1998-06-28 02:58:57 +00:00
dfr
164b48ad71 Add options for selecting ELF or KLD symbols in DDB. 1998-06-28 01:03:13 +00:00
dfr
b28d781ec0 Make breakpoints and single-step work. 1998-06-28 01:00:27 +00:00
dfr
35438179a1 Forgot to mention:
Obtained from: NetBSD
1998-06-28 00:59:26 +00:00
dfr
aa6e0422fd Add DDB symbol support for ELF and KLD. The KLD support only supports global
symbols so its not too useful.  Changes to the kernel linker to allow it to
supply DDB with symbols will come later.
1998-06-28 00:57:28 +00:00
dfr
c8a2c9ddab Supply the symbol table as an argument to X_db_symbol_values (required for elf). 1998-06-28 00:55:02 +00:00
dfr
d6dbdebaf2 Use db_addr_t for the breakpoint address in db_set_single_step. 1998-06-28 00:52:50 +00:00
dfr
2f04386eb9 Add a macro for testing the e_machine field of Elf64_Ehdr. 1998-06-28 00:50:35 +00:00
dfr
cc80f85e2c Use elf symbols in DDB. 1998-06-28 00:48:48 +00:00
dfr
ead7f46e98 Allow gentrap. 1998-06-28 00:47:50 +00:00
dfr
77c26b7a4d Call ddb_trap() for gentrap on SimOS since I am using gentrap for DDB
breakpoints (SimOS uses bpt itself for external debuggers).
1998-06-28 00:47:20 +00:00
dfr
1482765608 Add a hack to get the ELF symbols from where SIMOS leaves them. 1998-06-28 00:45:50 +00:00
dfr
675648740f machine/conf.h no longer exists. 1998-06-28 00:44:51 +00:00
dfr
ae5a06b40c Make db_tok_number a long to allow typing 64bit numbers on alpha. 1998-06-27 15:40:56 +00:00
dfr
d36ea98486 Use %+11ln for printing in r format to make it work for 64bit registers. 1998-06-27 15:39:51 +00:00
dfr
9b0f23e482 Add some stack backtrace support. Pretty fragile but its a start. 1998-06-27 15:37:43 +00:00
dfr
258cfd2226 Use %lx for printing register contents. 1998-06-27 15:35:57 +00:00
dfr
631f4970d4 Make uoff_t compile. 1998-06-27 15:35:00 +00:00
jhay
64a841de6a Only make struct xtcpcb visable if _NETINET_IN_PCB_H_ and _SYS_SOCKETVAR_H_
are defined.
Reviewed by:	bde
1998-06-27 07:30:45 +00:00
phk
2384743fad Make vprint() print dev_t in hex also. 1998-06-27 07:28:49 +00:00
phk
f60159f1f3 Report the type from the inode, not the vnode. 1998-06-27 06:45:04 +00:00
phk
6d4b7c0046 Report the mode as the result of the VOP_GETATTR rather than the
vnodes type, they may not correspond.
1998-06-27 06:43:09 +00:00
phk
a274343b93 Remove isdisk() hacks. 1998-06-26 18:14:25 +00:00
phk
dcceb2f098 Add D_DISK flag. 1998-06-26 18:13:57 +00:00
jkh
9123290e10 Flesh this document out just a little in response to some user
questions and also recommend linking over copying since, at this stage,
a stale copy is a real concern.
1998-06-26 10:35:55 +00:00
dt
9fb71fa77a Remove "not hungly" panics. Cookies now used by the linux and ibcs2
emulators. The emulators assume that filesystem may just ignore cookies, and
handle this case correctly. So we just ignore cookies.

Also sync *_readdir "prototypes" with reality.
1998-06-25 16:54:41 +00:00
phk
55aa3437e6 Remove bdevsw_add(), change the only two users to use bdevsw_add_generic().
Extend cdevsw to be superset of bdevsw.
Remove non-functional bdev lkm support.
Teach wcd what the open() args mean.
1998-06-25 11:28:07 +00:00
kato
ca706eab77 Sync with sys/i386/conf/Makefile.i386 revision 1.115. 1998-06-25 10:49:49 +00:00
msmith
6f1279c73d Oops, add ppc to the 'tty' imask. 1998-06-24 22:01:32 +00:00
phk
197932b3be When some functions were added to sys/queue.h (1.15, 1.16),
the queue diagram (in comment, showing member functions)
update were slipped.

PR:		7048
Submitted by:	SAWADA Mizuki <miz@qb3.so-net.ne.jp>
1998-06-24 20:51:09 +00:00
eivind
0ea938e3a5 Fix race condition for creation of vnode_if.c and vnode_if.h.
Exact problem pointed out by: Cyrus Rahman <cr@jcmax.com>
1998-06-24 13:55:32 +00:00
kato
49cc07b019 Sync with sys/i386/isa/syscons.c revision 1.264. 1998-06-24 13:37:50 +00:00
kato
57a388beef Sync with sys/i386/isa/syscons.c revision 1.208. 1998-06-24 13:37:23 +00:00