Commit Graph

4123 Commits

Author SHA1 Message Date
bde
bf6fb9a2b6 Work around microtime() enabling interrupts. 1994-11-06 00:23:45 +00:00
jkh
3d21e77cec Twiddle newfs parameters to select for space optimization. We're
back under 1.2MB again.
1994-11-06 00:21:39 +00:00
jkh
df732fb957 Strip kernel before installation. Anything to bum a few more bytes.. 1994-11-06 00:10:00 +00:00
jkh
86c831930a Add -lreadline for ncftp. 1994-11-06 00:00:17 +00:00
jkh
76660390f8 I misunderstood dialog_prgbox() - fix it. 1994-11-05 23:56:40 +00:00
bde
6af7ead999 Maintain a new variable `timer0_overflow_threshold' so that microtime()
doesn't have to calculate it every call.

Rename `timer0_prescale' to `timer0_prescaler_count' and maintain it
correctly.  Previously we lost a few 8253 cycles for every "prescaled"
clock interrupt, and the lossage grows rapidly at 16 KHz.  Now we
only lose a few cycles for every standard clock interrupt.

Rename `*_divisor' to `*_max_count'.

Do the calculation of TIMER_DIV(rate) only once instead of 3 times each
time the rate is changed.

Don't allow preposterously large interrupt rates.  Bug fixes elsewhere
should allow the system to survive rates that saturate the system, however.

Clean up declarations.

Include <machine/clock.h> to check our own declarations.
1994-11-05 23:55:07 +00:00
bde
83d2c6888a Fix a bug introduced between 1.1 and 1.1.5. Loading the time was moved
outside the critical region.

Make it work with 2.0.  It wasn't designed to be called at splclock().

Make it work with prescaling.  The overflow threshold was bogus.

Make it work for any HZ.  Side effect of fixing prescaling.

Speed it up.  Allocate registers better.  Reduce multiplication and
division to multiplication and a shift.  Speed is now 5-6 usec on a
486DX/33, was about 3 usec more.

Optimize for the non-pentium case.  The pentium code got moved around
a bit and hasn't been tested.

Change #include's to 2.0 style.
1994-11-05 23:53:46 +00:00
jkh
6c44cd0fa2 Make ShowFile() now show gzip'd text files. This should save a fair
bit of space on the install floppy.  Modify stage0 and the target names
accordingly.
1994-11-05 23:12:10 +00:00
ache
31978f5fe4 Enable back dialog_msgbox in TellEm, real problem was delwin
into edit_line
1994-11-05 23:09:26 +00:00
jkh
5bb48e1441 Install docs gzip'd. 1994-11-05 23:05:53 +00:00
bde
95e76bc7eb Declare all functions exported by the npx driver.
Uniformize idempotency ifdefs.
1994-11-05 22:59:09 +00:00
bde
ddc9bb82c5 Declare the full uglyness of the interfaces to the clock driver (except
things declared in machine-independent files).
1994-11-05 22:51:17 +00:00
bde
11a0dcea0a Disable the direct call from hardclock() to softclock(). Support
for it is incomplete and buggy.  There is no problem unless Xintr0()
is reentered or should be reentered, but high clock interrupt
frequencies for pcaudio cause Xintr0() to be reentered (or clock
ticks to be lost when Xintr0() should have been reentered but
wasn't), and we lose little by delaying the call to softclock().

Move declarations related to the clock driver to clock.h.

Move declarations related to the npx driver to npx.h.

Clean up the remaining declarations.
1994-11-05 22:44:34 +00:00
ache
82700e6b04 Change -O2 to -O
With each gcc version -O2 can cause absolutely unpredicatable things
Second stage boot still fits in allowed size
1994-11-05 21:06:16 +00:00
ache
ee45be2c75 Fix group permissions check for group list size > 1
Pointed by Bruce
1994-11-05 20:48:06 +00:00
ache
4ea03ef9c5 Fix root -w case according to manpage (-x & -r cases already accords)
Pointed by Bruce.
1994-11-05 20:24:49 +00:00
nate
06b009752a Date: Wed, 26 Oct 1994 15:44:49 -0600
From: Chris Torek <torek@bsdi.com>
Here is a semi-official patch (apply to /usr/src/lib/libc/stdio/fseek.c,
rebuild libc, install).  The current code fails when the seek:

  - is optimized, and
  - is to just past the end of the block currently in the buffer, and
  - is followed by another seek with no intervening read operation, and
  - the destination of subsequent seek is within the block left in the
    buffer (seeking to the beginning of a block does not force a read,
    so the buffer still contains the previous block)

so it is indeed rather obscure.

I may have a different `final' fix, as this one `loses' the buffer
contents on a seek that goes just past the end of the current block.

[Footnote: seeks are optimized only on read-only opens of regular
files that are buffered by the file's optimal I/O size.  This is
what you get with fopen(path, "r") and no call to setvbuf().]

Obtained from: [ BSDI mailing list ]
1994-11-05 18:49:34 +00:00
ache
22e59a3883 Cosmetique, missing tab/spaces after patch 1994-11-05 17:31:23 +00:00
ache
bdceb159d6 More complex implementation of previos superuser fix
because rw and x bit treats differently infact
1994-11-05 17:28:03 +00:00
ache
154e0e9667 test produce wrong results for superuser, i.e. tells
that file is unreadable when it is readable infact.
1994-11-05 17:07:14 +00:00
jkh
3ef00f6eb3 Add targets to crunch floppy to match Makefile. 1994-11-05 09:06:10 +00:00
jkh
3becf548c8 Add ncftp. I needed it for "hands-free" ftp operation from the install
script.
1994-11-05 08:49:05 +00:00
jkh
ed114936b0 Whoops! Knew I forgot something.. Bump the menu size. 1994-11-05 08:20:54 +00:00
jkh
53fbd66347 Add a chance to read the release notes, too. 1994-11-05 08:20:08 +00:00
jkh
f0f059e785 Add the release notes, so I can have the user read these too. 1994-11-05 08:16:01 +00:00
jkh
623cdd931d Put this here instead. 1994-11-05 08:11:22 +00:00
jkh
fe2da542aa Add new mount_* commands. 1994-11-05 07:55:30 +00:00
jkh
96bd3b24d2 Add slattach. 1994-11-05 07:52:14 +00:00
jkh
104c3972d1 Argh! Missing quotes. 1994-11-05 07:41:08 +00:00
jkh
1054258f8f We need CD9660 and MSDOS filesystems built-in if the floppy is to have
a hope of getting at these types of filesystems without dragging all
the LKM stuff in.
1994-11-05 07:38:50 +00:00
jkh
22afc8fbda I'm not sure if we're just supposed to fall off the end like this,
but at least return something.
1994-11-05 07:34:02 +00:00
jkh
5550c6f22d Make stage5 go either to a shell, or on to the bindist installation. 1994-11-05 07:23:58 +00:00
jkh
36bd0237cb Make this work the way it was really supposed to - less intrusively. 1994-11-05 07:03:55 +00:00
jkh
6c1156a1cf De-Danish this. Add a lot more chatty commentary in my own inimitable style. 1994-11-05 06:54:49 +00:00
phk
84d2b413c0 Use /DISKSPACE.FAQ as help-file in the disk-editor. 1994-11-05 06:03:06 +00:00
phk
95558d3d89 put the DISKSPACE.FAQ on the boot.flp 1994-11-05 06:02:18 +00:00
phk
62e61659b7 This file is the documentation for the fdisk/disklabel part of sysinstall,
and will be available from the boot.flp with just one key-stroke.  Somebody
will want to purge any danishisms from it before is is let loose...
1994-11-05 05:54:21 +00:00
jkh
e7f557e1ce Change the logic for how error messages are printed so we can actually
see them.
1994-11-05 05:46:12 +00:00
phk
c147e7b043 Cosmetics: edit_line() does standend() when done; 1994-11-05 03:59:34 +00:00
phk
a50a870316 Added a (H)elp function to the fdisk/disklabel code, much needed, now I only
have to write the text-file it will dump on you.
Stopped using cleartoeol in AskEm(), just as a test to see if the screen
looks more sane.
Added a attempted auto-recognition of /, swap and /usr for the first disk
where it looks sensible.  Logic of this might need to be improved.
Made a "ShowFile()" which will not bomb/ignore you if the file isn't there.
1994-11-05 03:34:22 +00:00
phk
f552d8c27e Fixed a ghastly mistake. Edit_line() would "delwin(window)". Bad move
buddy, you'd better not call with stdwin then!   fixed now.
Seems like dialog is a LOT more rational now.
1994-11-05 03:13:33 +00:00
phk
35e8c0b669 Explicitly tell cpp where to look for include files. 1994-11-04 21:40:39 +00:00
phk
59e847221d Fix a potential bug in stage2.
disable the dialog_msgbox in TellEm(), until we find out why it
hangs on second or third invocation.
1994-11-04 21:38:37 +00:00
dg
68629cf45a From njw@cs.city.ac.uk (Nick Williams):
/sbin/umount does not return the correct exit status due to incorrect
logic in its internals.

Further, because of the nature of the code, you *cannot* use it to
umount a directory from a union mountpoint. Well, you can sometimes,
it depends on if the directory is at the top of the union stack or not :)

Submitted by:	njw@cs.city.ac.uk (Nick Williams)
1994-11-04 17:51:37 +00:00
ache
1edb242a67 Add const to termcap prototypes to help libg++ 2.6.1 compiling,
this change must not affect other curses pgms
1994-11-04 15:14:03 +00:00
dg
c4cc305e69 From tim@cs.city.ac.uk (Tim Wilkinson):
Find enclosed a short bugfix to get the union filesystem up and running
in FreeBSD-current.  We don't think we've got all the problems yet but
these fixes sort out the major ones (which mostly concert bad locking
of vnodes), no doubt we'll post others as necessary.  Known problems
include the inability of the umount command (not the system call) to unmount
unions in certain circumstances (this is due the way "realpath" works),
and the failure of direntries to always get all available files in
unioned subdirectories.  We are, as they say, working on it.

Submitted by:	tim@cs.city.ac.uk (Tim Wilkinson)
1994-11-04 14:41:46 +00:00
ache
71f06f6803 Better tuning for FreeBSD 2.0 1994-11-04 06:59:17 +00:00
ache
262fc78bc6 Merge changes with new version 1994-11-04 06:11:39 +00:00
ache
2b0c966dab This commit was generated by cvs2svn to compensate for changes in r4135,
which included commits to RCS files with non-trunk default branches.
1994-11-04 05:36:00 +00:00
ache
e4ff209da9 Initial import 1.8.6 1994-11-04 05:36:00 +00:00