Commit Graph

8401 Commits

Author SHA1 Message Date
Jordan K. Hubbard
561e0b4c76 Use raw devices for newfs.
Write and wizard mode only on enabled disks.
1995-05-18 18:02:31 +00:00
Jordan K. Hubbard
9786c33e55 Poul says that setting fonts on monocrome displays is useless
as most mono displays aren't that intelligent anyway.  Disable it in this
case.
1995-05-18 17:49:09 +00:00
Jordan K. Hubbard
fcddc1c2bc Use CHUNK_BSD_COMPAT as God and Poul intended it be used. 1995-05-18 17:38:02 +00:00
Gary Palmer
2d5d38af3c Sigh - 2 formatting changes slipped through the net. 1995-05-18 17:26:02 +00:00
Gary Palmer
93a114834c Make the indentation uniform
Suggested by:	jkh
1995-05-18 17:18:46 +00:00
Jordan K. Hubbard
a0b7a5f865 Fix quoting error. 1995-05-18 16:57:52 +00:00
Jordan K. Hubbard
8cdff502c9 I had the arguments to Mount() backwards. Argh. 1995-05-18 16:53:53 +00:00
Gary Palmer
a3bbb2ff49 Dispose of old, #if 0'd, out code which has been proved to be no longer needed. 1995-05-18 16:44:41 +00:00
Gary Palmer
3890483652 Correct a conditional which could cause a off-by-one error in certain
circumstances.
1995-05-18 16:36:14 +00:00
Jordan K. Hubbard
0e8441fc1a Clear the screen after changing the font. 1995-05-18 15:58:32 +00:00
Jordan K. Hubbard
ae1d347651 Whoops! I forgot how uudecode works.. Make it really work here. 1995-05-18 15:46:18 +00:00
Jordan K. Hubbard
a2b4e70705 1. Use 8x16 fonts.
2. Don't use russian screenmap - apparently not necessary with right font.
3. Dequote bogusly quoted font name in english language setting.
4. Use setterm() and hack around an undesirable side-effect (cbreak is unset).
5. be smarter about setting OnVTY, and use it in cases where it makes sense.
Submitted by:	Nickolay N. Dudorov <nnd@gw.itfs.nsk.su>
1995-05-18 15:29:47 +00:00
Jordan K. Hubbard
36678611e6 Add some more debugging information and fix a few missing newlines. 1995-05-18 14:11:16 +00:00
Jordan K. Hubbard
090d283ec5 Sheesh! What was I thinking. ppp should go on the cpio floppy, not
the boot floppy!
1995-05-18 13:54:12 +00:00
Jordan K. Hubbard
abac5d4b12 Ahem. It's late. Make my floppies target actually work. 1995-05-18 13:32:22 +00:00
Jordan K. Hubbard
0ead1f1db1 Make a little convenient "floppies" target for myself. 1995-05-18 13:24:48 +00:00
Jordan K. Hubbard
def8bcf342 Fix a very embarassing typo. No wonder this thing was looping! :-) 1995-05-18 13:20:53 +00:00
Jordan K. Hubbard
690e60d830 1. Add serial devices to list of possible network device candidates.
2. Rework tcpip.c a bit so that devices which have been configured also
   have the enabled flag set.
1995-05-18 13:18:35 +00:00
Jordan K. Hubbard
ab9357a910 Also log all user interactions to debugging log. 1995-05-18 12:57:54 +00:00
Jordan K. Hubbard
2c3b28f96d Add tun0 to the all rule. 1995-05-18 10:51:03 +00:00
Jordan K. Hubbard
9650d6dc0c Add ppp to the boot floppy. 1995-05-18 10:47:45 +00:00
Jordan K. Hubbard
6aebdd7df9 Do more proper bad144 handling. Thanks, Rod. 1995-05-18 10:43:51 +00:00
David Greenman
5eb46edfb0 Added "BROKEN_KEYBOARD_RESET" option to disable using the keyboard reset
in cpu_reset(). Some MBs don't deal with this properly.

Submitted by:	Rod Grimes
1995-05-18 09:17:07 +00:00
Jordan K. Hubbard
4d7b3c6f96 1. Primitive bad144 support (I believe an additional command is needed, but
won't know until Poul wakes up again).
2. Make vsystem() put its output on the debugging fd.
3. DTRT with root filesystem placement - now I see how this has to work
   (thanks, Poul).
4. Many miscellaneous spelling errors fixed and general cleanup.
1995-05-18 09:02:06 +00:00
David Greenman
0e5b52868f Fixed a bug that managed to slip in during Poul's dynamic swap partition
changes. The check for nswap was bogus, but the code was so convoluted
that it was difficult to tell. It's better now. :-)

Reviewed by:	David Greenman (extensively), and John Dyson
Submitted by:	Poul-Henning Kamp, w/tweaks by me.
1995-05-18 05:09:54 +00:00
John Fieber
84143d2611 handbook.sgml
Rearranged a few sections, add memoryuse section.

current.sgml, ports.sgml, porting.sgml
  Added a <label>s for cross reference targes.

submitters.sgml
  Lots of editing, added cross references to other sections of
  the handbook.  Added a sample BSD-style copyright statement.

eresources.sgml
  Updated the mailing list section, thanks to Peter Dufault.

authors.sgml
  Added Peter Dufault, David Greenman and Joerg Wunsch.

memoryuse.sgml
  A new section about how/where in PC memory the FreeBSD kernel
  gets loaded and run.
1995-05-18 03:05:22 +00:00
John Fieber
1190b57788 Remove extraneous empty paragraphs (<p></p>) from the output. 1995-05-18 03:01:28 +00:00
David Greenman
5f55e84104 Accessing pages beyond the end of a mapped file results in internal
inconsistencies in the VM system that eventually lead to a panic. These
changes fix the behavior to conform to the behavior in SunOS, which is
to deny faults to pages beyond the EOF (returning SIGBUS). Internally,
this is implemented by requiring faults to be within the object size
boundaries. These changes exposed another bug, namely that passing in
an offset to mmap when trying to map an unnamed anonymous region also
results in internal inconsistencies. In this case, the offset is forced
to zero.

Reviewed by:	John Dyson and others
1995-05-18 02:59:26 +00:00
Jordan K. Hubbard
0b30383382 Use my own version of system() everywhere - it knows where to find the
shell!
1995-05-18 02:42:33 +00:00
Torsten Blum
384435b07d Added myself as per Rod's suggestion 1995-05-17 20:45:10 +00:00
Lars Fredriksen
38dccde2c3 Added myself as per Rod's suggestion. 1995-05-17 17:04:36 +00:00
Jordan K. Hubbard
4da5212097 1. Set a path to /stand by default.
2. Don't clear() when I can dialog_clear().
1995-05-17 16:16:10 +00:00
Gary Palmer
09462c94cf Oops - one slipped past the nets :-( 1995-05-17 16:05:42 +00:00
Gary Palmer
29082c26fe Untabify these files - it doesn't come out right on the display
otherwise :-(
1995-05-17 15:44:22 +00:00
Jordan K. Hubbard
498e6d5df3 Remove the seat-belts from the root partition creation code; for some
reason I'm *always* getting CHUNK_PAST_1024 set now, even when it's
definitely not! :-(  Poul, can you perhaps take a look?  Thanks!
1995-05-17 15:41:52 +00:00
Jordan K. Hubbard
d0eeafc570 Commit my latest so that Gary can sync up - this version should also
be the grounds for our first round of testing in the release I'm rolling.
It doesn't load the distributions yet, but it should do everything else.
1995-05-17 14:40:00 +00:00
David Greenman
4039006ad7 Changed read_csr and write_csr to static so that they don't clash
with another driver.

Reviewed by:	Paul Richards
Submitted by:	Brian Litzinger
1995-05-17 13:15:35 +00:00
Gary Palmer
dfa4c76f74 Hopefully the last version of this file. Add a lot more comments, and
actually give the data back to sysinstall in a coherent fashion now.
1995-05-17 12:09:11 +00:00
Rodney W. Grimes
843f16dc76 nogroup 32766 -> 65533 to go with nobody's change to 65534. 1995-05-17 10:02:07 +00:00
Adam David
2a8fad2596 added myself as additional contributor 1995-05-17 09:53:03 +00:00
Rodney W. Grimes
3870d1b2f4 Regenerate these using mtree -cdinx -kuname,gname,mode on a very recently
built release after fixing all the wrong directory permissions in that release.

Then use diff -c -b to verify them against the old versions, nothing but
new directories added :-).  And a lot of alphabetizing done!
1995-05-17 09:31:17 +00:00
Ollivier Robert
3fdda4bd2c Change the "make all" into "make depend all" in 6.0.6 (section on kernel
building).

Submitted by:	Rodney Grimes
1995-05-17 09:18:45 +00:00
Bruce Evans
ec0896af08 Reviewed by: phk
serial_putchar() always hung if it was called and the serial port existed,
so booting with -h hung when the above bug was fixed.  Previously, setting
-h did nothing but -h was sometimes the default due to the stack garbage
bug.
1995-05-17 07:39:43 +00:00
Bruce Evans
4061e47297 Reviewed by: phk
Submitted by:	DI. Christian Gusenbauer <cg@scotty.edvz.uni-linz.ac.at>

The `howto' arg to boot() was not supplied, so it was stack garbage (actually
the return address in the boot program).  I didn't use the submitted fix.
1995-05-17 07:37:53 +00:00
David Greenman
57cb71573d Fixes to the aic7xxx sequencer code and device driver from Justin Gibbs:
1) If a target initiated a sync negotiation with us and happened to chose a
value above 15, the old code inadvertantly truncated it with an "& 0x0f".
If the periferal picked something really bad like 0x32, you'd end up with
an offset of 2 which would hang the drive since it didn't expect to ever
get something so low.  We now do a MIN(maxoffset, given_offset).

2) In the case of Wide cards, we were turning on sync transfers after a
sucessfull wide negotiation.  Now we leave the offset alone in the per
target scratch space (which implies asyncronous transfers since we initialize
it that way) until a syncronous negotation occurs.

3) We were advertizing a max offset of 15 instead of 8 for wide devices.

4) If the upper level SCSI code sent down a "SCSI_RESET", it would hang the
system because we would end up sending a null command to the sequencer.  Now
we handle SCSI_RESET correctly by having the sequencer interrupt us when it
is about to fill the message buffer so that we can fill it in ourselves.
The sequencer will also "simulate" a command complete for these "message only"
SCBs so that the kernel driver can finish up properly.  The cdplay utility
will send a "SCSI_REST" to the cdplayer if you use the reset command.

5) The code that handles SCSIINTs was broken in that if more than one type
of error was true at once, we'd do outbs without the card being paused.
The else clause after the busfree case was also an accident waiting to
happen.  I've now turned this into an if, else if, else type of thing, since
in most cases when we handle one type of error, it should be okay to ignore
the rest (ie if we have a SELTO, who cares if there was a parity error on
the transaction?), but the section should really be rewritten after 2.0.5.
This fix was the least obtrusive way to patch the problem.

6) Only tag either SDTR or WDTR negotiation on an SCB.  The real problem is
that I don't account for the case when an SCB that is tagged to do a particular
type of negotiation completes or SELTOs (selection timeout) without the
negotiation taking place, so the accounting of sdtrpending and wdtrpending
gets screwed up.  In the wide case, if we tag it to do both wdtr and sdtr,
it only performs wdtr (since wdtr must occur first and we spread out the
negotiation over two commands) so we always have sdtrpending set for that
target and we never do a real SDTR.  I fill properly fix the accounting
after 2.0.5 goes out the door, but this works (as confirmed by Dan) on
wide targets.

Other stuff that is also included:

1) Don't do a bzero when recycling SCBs.  The only thing that must explicitly
be set to zero is the scb control byte which is done in ahc_get_scb.  We also
need to set the SG_list_pointer and SG_list_count to 0 for commands that do
not transfer data.

2) Mask the interrupt type printout for the aic7870 case.  The bit we were
using to determine interrupt type is only valid for the aic7770.


Submitted by:	Justin Gibbs
1995-05-17 07:06:02 +00:00
Rodney W. Grimes
978dabea51 Reviewed by: bde, jkh
Add comment that you should not have to edit netstart, and if you
do we would like to know about it.

The lo0 interface is now handled just like any other interface,
This makes it possible to do things to it from sysconfig.

Redo the comments in sysconfig about network_interfaces and ifconfig_${X}
to reflect the moving of lo0 to this scheme.  We now have an uncommented
variable for sysintall to find and play with.  (Your welcome Jordan)

Redo the way static routes are handled.  Basically use the same
scheme for routes that I did for network interfaces.  This allows
any number of static routes to be added from sysconfig.

Make sure we do the default route first so we stand a chance of
getting to our DNS server (if we have one) to resolve our own
IP address from $hostname.
1995-05-17 04:46:57 +00:00
Rodney W. Grimes
c30f3572fa Add Peter Dufault <dufault@hda.com> 1995-05-17 02:01:00 +00:00
Satoshi Asami
1eb4157a2e Capitalize mail address of TokyoNet mirror per their request. 1995-05-17 01:55:26 +00:00
Satoshi Asami
5bbce04d77 Added new primary mirror site in Tokyo (direct connection to
BARRNET!).
1995-05-17 01:48:50 +00:00
Rodney W. Grimes
58d8a5e922 Make error message for no input files specified consistent across all
three compilers.

Submitted by:	Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
1995-05-17 01:03:56 +00:00