Commit Graph

50879 Commits

Author SHA1 Message Date
bouyer 72d28a06a3 Oups, missed a lot of run_prog() calls when I changed the prototype. 1999-04-09 10:43:56 +00:00
bouyer 04f9354ab3 Some fixes for the do_install() function:
- Make all the functions called from do_install() return an error code,
  so that we can abort install if something went wrong.
- Add a 'errstr' argument to run_prog(), which if not NULL is displayed
  with msg_printf() and followed by process_menu(MENU_ok) if the command fail.
  Used to warn the user that the current action is aborted.
- in a few places use msg_display() or msg_printf() rather than printf.
  It seems that stdout/stderr are not always pointing to the active curses
  window.
- garbage-collecd unused messages, add a few new one (error handling).
XXX only tested on i386. Other md parts should be tested as well.
1999-04-09 10:24:38 +00:00
bouyer 3cf54e49e9 If checklabel() failed, the label has not been written, so exit(1). 1999-04-09 10:06:18 +00:00
drochner 04ef8b5750 actually include <net/if_ether.h> to get these constants 1999-04-09 09:34:13 +00:00
drochner b86fdd7409 don't expose structures and prototypes to _STANDALONE programs 1999-04-09 09:32:51 +00:00
agc 51ec106561 Plug a file descriptor leak. 1999-04-09 07:29:43 +00:00
gwr 4fd30baf02 Better implementation of driver "match" function,
and warning/error cleanup.
1999-04-09 04:26:27 +00:00
gwr 1578ea0b12 Make sure Debugger is declared (even if no DDB).
The sun3 has one regardless of the DDB option.
Fixes kernel compile warning/errors.
1999-04-09 04:01:09 +00:00
cjs d49fc436a6 Reduce default crontab size limit to 32K. Use the limit in
/var/cron/maxtabsize, if that file exists.
1999-04-09 02:47:03 +00:00
thorpej e468d4c8d9 Fix a bug in TBI optimization uncovered by the "access_type" changes. Thanks
to Bernd Ernesti for providing crash dumps to Charles Hannum who tracked
it down.
1999-04-09 00:38:10 +00:00
hubertf bbb1c4b60f Actually, we're in sync with GENERIC V1.55 1999-04-09 00:22:43 +00:00
cjs a1d7b99e1e Make sure that the crontab is not an unreasonable size.
(Currently MAXCRONTABSIZE is 256 KB.)
1999-04-08 21:30:02 +00:00
pk c672e5ca96 - add more i-nodes to ramdisk image
- make ramdisk/list work again with object directories
- make OS revision part of the images file names (like miniroot).
1999-04-08 21:17:14 +00:00
drochner d55756227f !silent -> verbose, to make it compile again (there is no "silent") 1999-04-08 19:19:57 +00:00
tron 450b8d5f58 On suggestion by Alistair Crooks use stat() instead of lstat() for "bzcat"
and "bzip -c -d" to check if a symlinks target is really a file.
1999-04-08 18:34:27 +00:00
drochner 552f55e726 Call bi_getbiosgeom() after loadfile() returned successfully. This avoids
a memory leak if loadfile() gets an error.
1999-04-08 18:21:15 +00:00
drochner 2c6db68a95 remove unused label 1999-04-08 17:07:02 +00:00
drochner 9f8fc49ce1 add a paragraph about the "console" property 1999-04-08 16:29:56 +00:00
bad 57ba75e2fc Correct a misleading comment copied over from the PCIC version of this file. 1999-04-08 16:14:29 +00:00
bouyer e91bdf1c67 Add SCSI_IGNORE_NOT_READY to the flags for CDIOCCLOSE: some devices will
attempt to spin up, and report an error if there's no CD. Fixes port-i386/7345.
1999-04-08 16:12:31 +00:00
bad 6bdc01f098 Fix version id strings in comment. 1999-04-08 15:53:31 +00:00
kleink 9449e4c694 Deal with MKSHARE/MKNLS. 1999-04-08 15:18:00 +00:00
simonb be4160066d Allow the fake installation diskimage to be 2MB as well as 32MB in size. 1999-04-08 13:55:37 +00:00
agc 92003e043a If there is no /etc/ld.so.conf, it is not a fatal error. Correct the return
value from the function so that the exit value to the shell is correct.
1999-04-08 13:27:38 +00:00
bouyer a17071efea Sync with .eng versions. 1999-04-08 12:54:52 +00:00
drochner 31ca52f98b add "poll" entry to i4btel device 1999-04-08 12:10:53 +00:00
bouyer c2752835f7 Fix a long-standing bug with the ACAP_* flags:
- the cap field is a u_int8_t, so none of the defined flags would fit in.
  Looks like nobody had a drive using 16 bytes commands.
- the ACAP_DRQ_* flags are all wrong. Just remove them and use the definitions
  from ata/atareg.h, there's no need to duplicate theses. The effect of this
  was that we were always polling for the command phase, even for drives
  with interrupt DRQ. This didn't break until the code was changed to support
  shared interrupts.

Should fix the lookup problems or 'boot hangs' reported by some users, and
kern/7111.
1999-04-08 11:29:01 +00:00
drochner 6b39fd9da6 add a comment explaining how "pcvt" fonts can be used 1999-04-08 10:58:36 +00:00
drochner 3d6e675ba8 sanity: use ';' to separate statements 1999-04-08 10:26:21 +00:00
drochner 0ead10436a define VERSIONFILE, from John Darrow <John.P.Darrow@wheaton.edu>
per PR port-i386/7336
1999-04-08 10:23:23 +00:00
fair d023c654fd Slight tweak to the EXTRA_KERNELS build commands to work around a shell
parsing wierdness.
1999-04-08 08:24:44 +00:00
gwr 0a16f42840 Slim this down so it can be used as an Xkernel. 1999-04-08 07:10:20 +00:00
gwr c8cdcb1f4c sync with GENERIC 1999-04-08 07:00:58 +00:00
gwr ab812ca7f3 sync with GENERIC3X 1999-04-08 06:49:54 +00:00
gwr f6422020e5 Add opt_ddb.h 1999-04-08 05:07:35 +00:00
gwr 4d67424412 Make "dma" a real device so it can attach before esp.
Also pull in some changes from the sparc version.
1999-04-08 04:46:41 +00:00
gwr 6b0a331b5c Make "dma" a real device so it can attach before esp. 1999-04-08 04:37:00 +00:00
gwr fed408f387 Use the string kernel_arch to determine "sun3" vs "sun3x"
and leave the machine string as it was (make uses it).
1999-04-08 04:17:43 +00:00
gwr 8b27f916e1 Fix the IDPROM checksum. It should check only the first 16 bytes.
Also try to make the sun3 and sun3x versions more similar.
1999-04-08 04:08:01 +00:00
nisimura dd8e585cec - MIPS processors do not require to have memory barrier prior to read ops. 1999-04-08 03:14:35 +00:00
simonb c7a769fc26 Make unconditional clock cycle counter display conditional on DEBUG
being defined.
1999-04-07 23:04:34 +00:00
tron 5f36f07cc0 Looks like "filecorefs" is also affected by the problem described in
PR kern/7329.
1999-04-07 21:55:58 +00:00
fair c67241f483 Create an ex(4) man page from a little driver reading. Very bare bones;
needs to have the diagnostic list explained, and the media support
list filled out before it gets pulled up to the 1.4 branch.

However, it's here to answer PR#6870
1999-04-07 21:48:52 +00:00
fair cf0252688c Work this man page over for mdoc(7) issues, nroff issues, a few
mispellings, etc. It should be reviewed before being pulled up to
the 1.4 branch.
1999-04-07 21:39:34 +00:00
tron c60bb946c2 Avoid lockups on cd9660 filesystems after attempt to open file for write.
Fix supplied by Zdenek Salvet in PR kern/7329.
1999-04-07 21:37:11 +00:00
tron ed700187ba Allow softlinks for "bzip2 -c -d" or "bzcat". 1999-04-07 17:58:49 +00:00
perry a58de690de 1) Nuke NetBSD1_4 -- no point in perpetuating a bad practice. Since it
hasn't been seen by anyone yet, why encourage its use by defining it?
2) Indicate in a comment that the NetBSD define is now frozen, will
   never again be incremented, and may even be deprecated. Indicate
   yet again that all new code must use __NetBSD_Version__
1999-04-07 16:48:02 +00:00
minoura 957dabcbcd Forgotten from last commit. 1999-04-07 15:28:01 +00:00
minoura ce03570956 Do not remove netbsd.INSTALL and netbsd.INSTALL.gz. 1999-04-07 14:30:52 +00:00
oster 9f560505d4 Allow re-writing parity on a RAID 0 to trivially succeed, and to set the
clean bit.  This is somewhat bogus as RAID 0 does not have any parity,
but is a slightly cleaner than other solutions, and makes the handling
of clean bits for RAID 0 consistent with the handling of clean bits at
other RAID levels.
1999-04-07 14:17:10 +00:00