Commit Graph

50897 Commits

Author SHA1 Message Date
cjs
1a3bfc2c1b When checking local status, jJust ignore not-found filesystems, rather
than printing an error, just as we do when we try to mount it.
1999-04-13 02:15:49 +00:00
ad
de43e7cc8d Fixed licensing due to a foobar on my behalf. 1999-04-13 00:40:07 +00:00
ad
b30fc08f22 Initial import of `PX' driver. 1999-04-13 00:30:08 +00:00
ad
7db08b6507 Initial import of wsfont, an in-kernel font table for wscons/rcons. 1999-04-13 00:24:05 +00:00
ad
14d2ed835e Initial import of 'rasops', the new raster operations set for wscons/rcons. 1999-04-13 00:17:57 +00:00
thorpej
246f73e1a0 Fix a printf format warning on the Alpha. 1999-04-13 00:16:24 +00:00
jonathan
9e87738e9d Add entries for TI, Ricoh, Toshiba PCI-to-cardbus bridge chips, so
we can identify them as cardbus chips supported by the cardbus patches.

Add entry for OPTI chipsets whose interrupts arent properly set up by
some BIOSes.

From cardbus patches<ftp://nandra.iri.co.jp/pub/NetBSD/CardBus by
HAYAKAWA Koichi <haya@tcad.ulsi.sony.co.jp>.
1999-04-12 23:18:16 +00:00
pk
b16b8de052 Identify ourselves as a SCSI channel to the DMA chip. 1999-04-12 23:01:00 +00:00
is
2c4e2ccda8 Actually use MDSETS, so that ports can install the x sets if useful 1999-04-12 22:17:21 +00:00
pk
ca0b7aaa87 Ungarble the copyright notice. 1999-04-12 20:57:52 +00:00
pk
5c3c96216b Software_Distribution => Software.Distribution. 1999-04-12 20:48:07 +00:00
pk
b13e5d1469 Quote "AS IS" as in the majority of Carnegy Mellon notices. 1999-04-12 20:38:17 +00:00
oster
4882ae464f Fix a couple of compiler warnings on the Alpha. Pointed out by Tim Rightnour. 1999-04-12 19:39:59 +00:00
mjl
4622761326 Enable workaround for isapnp assigning already used interrupts to pnp
cards by masking them out with a "options ISAPNP_ALLOC_INTR_MASK=..."
in kernel config.
1999-04-12 19:31:27 +00:00
ragge
1add6cf5ed Must have ld.so (+ some more) in vax distribution nowadays. 1999-04-12 18:01:36 +00:00
drochner
3b45055cd1 adapt to uvm_pagealloc() changes - use UVM_PGA_USERESERVE to allocate
page table pages
1999-04-12 17:59:29 +00:00
drochner
fe2da22c81 correct an error message 1999-04-12 17:29:31 +00:00
drochner
b6ab6f5dc1 This was an n_long, not u_long, so u_int32_t is correct. 1999-04-12 17:23:23 +00:00
minoura
c12f6d6d4b Reduce the kernel size.
- Disable many options and devices which is not required to install.
 - Decrease the MINIROOTSIZE to fit with the actual embedded image.
1999-04-12 16:11:53 +00:00
minoura
4342da248f Size hacks.
Use libhack, x_route, x_ifconfig, init_s in the distrib/utils
to reduce the ramdisk size.
1999-04-12 16:06:36 +00:00
tsubai
0b62da153e Add notes from SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>. 1999-04-12 13:46:25 +00:00
bouyer
974e6e2609 Also add ASUS PCI-DEC100TX+ to the list of tulip-based boards. 1999-04-12 09:46:11 +00:00
bouyer
a7af910c55 Another Tulip-based board which works: DLINK DFE500-TX. 1999-04-12 09:42:35 +00:00
ross
6db2f53d21 If we absolutely must have this program in the tree, it needs to have
rcs id keywords.
1999-04-12 06:02:25 +00:00
simonb
b84e038e4b Bump version number to 1.1 for default kernel names. 1999-04-12 05:46:57 +00:00
simonb
71c3fc3251 If only a device name is specified with no kernel name, try to load a
kernel from a default list of names.  This list is netbsd, netbsd.bak,
netbsd.old, onetbsd and gennetbsd - all without and with a .gz
extension.
1999-04-12 05:19:25 +00:00
simonb
ab3de4de0e Make the bootpath "N/rzY" with no trailing '/' valid by adding the extra
'/' before appending 'boot' to the path.
1999-04-12 05:14:51 +00:00
cjs
ecab881e98 PR 6852 from Chris Jones <cjones@hideo.nervana.montana.edu>.
This handles the interrupt structure of Compex boards.
1999-04-12 04:31:55 +00:00
simonb
520c13bcc8 Fix an off-by-32 error - space was padded out to the 96th byte for the
DEC disk boot block header, but it's only 64 bytes long.  Gives us
another 32 bytes in the first stage.

Don't use a roll-your-own START_FRAME size and offsets for the stack
and ra - use the <mips/asm.h> provided CALLFRAME_SIZ, CALLFRAME_RA and
CALLFRAME_SP
1999-04-12 03:53:13 +00:00
ross
6844116ae2 LP64 fix. Kills bug that caused random output "sorting" on alpha. 1999-04-12 01:53:06 +00:00
gwr
748b14525c Fix unused variable warning 1999-04-12 01:30:22 +00:00
ross
4634c0e3d4 libkern just got an inet_addr(), but it won't compile, no prototype. Cleanup...
* Add prototype to libkern.h.
* Remove the almost-identical-copy from libsa/net.[ch].
* Change its type back to the (wrong, but harmless) historical one. (u_long)
* Kill the XXX local prototype in nfs_bootparam.c
1999-04-12 01:05:01 +00:00
gwr
f9a07c51b8 Allow reading SunOS/4.1.1 object files. Fixes pr/7363 1999-04-12 00:52:44 +00:00
perseant
40cebde457 Check the superblock version field, and refuse to mount the filesystem
if the version number is higher than we know about.  This allows, e.g.,
changes in the format of the ifile, segment size restrictions and boundaries,
etc., which would not affect existing fields in the superblock, but which
would drastically affect the filesystem, to be smoothly integrated at a
later date.
1999-04-12 00:47:17 +00:00
perseant
65ba757424 Improve the debugging printfs in the cleaner syscalls (in particular, make
it obvious that they're coming from lfs).
1999-04-12 00:40:06 +00:00
perseant
8d72b3204a Disallow threshold-initiated cache flush when dirops are active. Also, make
SET_ENDOP use lfs_check instead of inlining most of it.
1999-04-12 00:36:47 +00:00
perseant
a520288478 Fix block counting during file truncation, if not truncating to zero. 1999-04-12 00:30:08 +00:00
hubertf
3adf761c0b Use absolute path to tar(1) in execl() call.
*** This makes retrieval of pkgs via ftp work again!

Also don't just call exit() if the execl() call fails, but print some
error (via err()).
1999-04-12 00:29:51 +00:00
perseant
bffea14a3f Make sure that the wakeup occurs for vnodes that lfs_update might be sleeping
on (nodes which are not marked IN_MODIFIED/IN_CLEANING, but which have dirty
buffers), by marking them with the appropriate flag if dirtybuffers were added
while the write was in progress.
1999-04-12 00:25:13 +00:00
gwr
9b055e8c43 minor nits -- replace vsprintf with vsnprinf 1999-04-12 00:24:17 +00:00
gwr
8946cf4be4 minor nits -- strncpy into p->p_comm 1999-04-12 00:22:08 +00:00
perseant
e6b7726c9a Better checking for held inode locks in lfs_fastvget, for a number of error
conditions.  Also change the default setting of lfs_clean_vnhead to 0, which
seems to make the locking problems go away (although this is difficult to
test as I can't reliably reproduce them).
1999-04-12 00:11:01 +00:00
perseant
7221719dc7 Fix "lfs_ifind: dinode xxx not found" panic. When inodes were freed,
then immediately reloaded, their dinodes were located in an inode block
which was not on disk at the advertized location, nor in the cache (although
it would be flushed to disk next segment write).  Fix this by using getblk()
instead of lfs_newbuf() for inode blocks.
1999-04-12 00:04:21 +00:00
perseant
97c6743666 Fix inode reporting in lfs_statfs (the meaning of f_files and f_ffree was
reversed).
1999-04-11 23:58:17 +00:00
perseant
d24ffa7077 Mark the current segment with SEGUSE_ACTIVE at mount time, rather than waiting
for the first write.  If this is not done, the cleaner may try to clean the
current segment out from under the writer if the filesystem is mounted after
a crash (or any other time that the dirty:clean segment ration is high enough).
1999-04-11 23:31:09 +00:00
perseant
6a87896854 Take out the `#ifdef USE_UFSHASH'; use ufs_hashlock to lock the inode free
list instead of free_lock.
1999-04-11 23:24:04 +00:00
gwr
16092bb979 Add the "gateway" line to the sample /etc/bootparams entry. 1999-04-11 23:15:26 +00:00
bouyer
be743ed36b - Add 2 functions in label.c, getpartoff()/getpartsize() used to let the user
enter partitions offet and size. The user can chose unit independantly of
  the unit used for display ('M'/'c'/'s'). These functions do the proper
  bound checks and alignement/roudups. Used in the edfspart menu and
  i386 md_make_bsd_partitions() (other ports should do the change as
  well).
- now that getpartsize() does the rigth thing, kill the swapadj hack (which was
  buggy anyway).
- in i386 md_make_bsd_partitions(), don't propose defaults that don't fit on
  the disk. If the disk is too small, fallback to custom instead.
- fix a bug in mbr.c, where the partition flags would not have always been
  reset. sysinst created me a MBR with 2 active partition. The boot code
  doesn't like it :)
- added a message for eventual mount failures.
- killed donewfs and extracting messages, as we run  the commands in a
  subwindow these messages just flashed on the screen.
- Changes a few exit(1) to return(1), to give the user a second chance.
- added msg_clear() or wclear(stdscr) in a place or two, to make
  display a bit nicer.
- in run_cmd(), if the command succeeded, don't wait for the user to
  press enter.
1999-04-11 22:40:19 +00:00
gwr
2c54ffdf02 Enable the code that gets our gateway+netmask from the
bootparam server using the "gateway" pseudo file.
(Compatible with sys/lib/libsa/dev_net.c)
1999-04-11 22:15:25 +00:00
gwr
c0300346be Add inet_addr.c (for nfs_bootparam.c) 1999-04-11 22:08:06 +00:00