Commit Graph

3900 Commits

Author SHA1 Message Date
paul
2e4c4d4c33 Fixed a typo and moved a dialog_clear() line. 1994-10-21 18:26:25 +00:00
paul
b64f7c5ebf Fix all the bugs introduced by the source shuffle.
All the mbr code now seems to be working. We can build a basic
unix disklabel in any existing DOS partition while retaining the
existing mbr bootcode or we can install to the whole disk which
puts FreeBSD's boot code into the MBR and creates a clean MBR
partition table with FreeBSD in partition 0 taking up the whole disk.
1994-10-21 18:08:33 +00:00
ache
88841568e3 Fix dialog_clear() to clear windows. 1994-10-21 17:52:19 +00:00
joerg
09c23a56b3 Checking for timeout at several critical calls to ``out_fdc()'' now,
so i hope i've finally removed all the occasions where the driver
got stuck when there's no floppy in the drive.
Also attemmpting to  omit the error mesage for ``recalib failed''
for the first time, since people tend to be confused about this.
1994-10-21 16:58:50 +00:00
ache
d2b5d56f71 Implement line_edit() function (full line editor) which may called
externally.
Rewrite inputbox/textbox to use this function.
1994-10-21 15:42:30 +00:00
phk
7e7ba68785 Now stage2 runs all the way.. 1994-10-21 05:36:43 +00:00
ache
2a053278f1 Sync with termcap.src 1994-10-21 04:59:27 +00:00
ache
313264410c Remove "mh" capability for -mono family 1994-10-21 04:57:11 +00:00
ache
6d796bf8e8 Add hardcoded cons25-m entry for mono console, if termcap.small
not fit on installation floppy.
1994-10-21 04:48:51 +00:00
ache
a7e8f05083 Second time bugfix, please be carefully.
Use dialog functions in Fatal only if dialog_active, else
use fprintf(stderr, because it may be called before dialog
initialization
1994-10-21 04:43:07 +00:00
phk
cce9ac6069 ATTENTION!
From now on, >all< swapdevices must be activated with "swapon".

If you havn't got it, add this line to /etc/fstab:
	/dev/wd0b	none	swap	sw	0 0
ne sec

Reason:
We want our GENERIC* kernels to have a large selection of swap-devices, but
on the other hand, we don't want to use a wd0b as swap when we boot of a
floppy.  This way, we will never use a unexpected swapdevice.  Nothing else
has changed.
1994-10-21 03:17:11 +00:00
wollman
9e7cf9a525 Bug fixes from John Brezak. 1994-10-21 02:38:29 +00:00
phk
dbeb224eb9 Latest changes from me. Over to you Paul... 1994-10-21 02:14:54 +00:00
wollman
8cdc5796fa Make my ALLDEVS kernel compile (basically, LINT minus a lot of options).
This involves fixing a few things I broke last time.
1994-10-21 01:19:28 +00:00
wollman
2c1d6bb0c8 Make my ALLDEVS kernel compile (basically, LINT minus a lot of options). 1994-10-21 01:18:38 +00:00
wollman
82e70c7196 LINT: vastly restructured so that it's actually useful for something
Makefile.i386: make definition of STRIP unconditional.
1994-10-21 01:10:54 +00:00
paul
ee314bacd8 Added
#define MBR_PTYPE_FreeBSD 0xa5  /* FreeBSD partition type */


Reviewed by:
Submitted by:
Obtained from:
1994-10-20 23:41:57 +00:00
ache
d3c63309bc Remove ncurses.h, now included into dialog.h 1994-10-20 21:58:10 +00:00
ache
f530ec529e Declare more functions externally.
Don't forget to use 'make beforeinstall'...
1994-10-20 21:56:45 +00:00
ache
cf4cb75ef0 remove unneded includes
use dialog functions properly
move alloc_memory early to prevent core dump at stage 3
Change 25x80 to 24x80
Fix setenv diagnostic
Fix Fatal to call end_dialog()
1994-10-20 19:30:56 +00:00
phk
6f74447f38 Now stage 2 should do it's job I hope. Havn't tested yet. 1994-10-20 06:48:40 +00:00
phk
ed4d0cba77 Just a safety measure for me and Paul. 1994-10-20 06:14:29 +00:00
phk
f930c16f2b Remake lost changes to sysinstall.h. Sorry Paul ! 1994-10-20 06:08:19 +00:00
phk
700c220c35 Integrate my code a lot more with Pauls. (I have left sysinstall.c
here, even though it isn't used in the Makefile for Paul not to have
an heart-attack when he wakes up. :-)

Way to go still...
1994-10-20 05:00:00 +00:00
phk
fc7c4debd9 The beginning of some structural changes, and the merge of my code into
Pauls.
1994-10-20 02:51:55 +00:00
phk
58071d3303 Added a big comment about the general scheme of things during install... 1994-10-20 01:17:26 +00:00
phk
2615f2f3b3 According to a quick reading of sources, one experiment and Bruce's word:
aha, ahb and bt all on "irq ?" now.
1994-10-20 00:53:30 +00:00
wollman
ee07582361 Actually implement the functionality documented in sysctl.h for type CTL_FS.
(Namely, call a filesystem-dependent sysctl function analogous to how it works
for networking and (now) physical devices.)
1994-10-20 00:48:28 +00:00
phk
22d072aba8 A missing bit from Peter Dufaults patches, as best I could guess... 1994-10-20 00:45:36 +00:00
phk
86b941fdb6 Bruce told me to: Make uha0 use irq ? 1994-10-20 00:19:37 +00:00
phk
60dba59038 Peter Dufaults comconsole changes.
Submitted by:	Peter Dufault
1994-10-20 00:08:31 +00:00
paul
5f0d355f35 More code rearrangment, moved all mbr code into its own file
so it can be used by other programs.

Added all the necessary menus to take the user through the installation
of the bootblocks.
1994-10-19 23:58:03 +00:00
bde
44980b629e Don't check for IRQ conflicts before probing the device, so that
drivers have a chance to change their IRQ before it is checked.
This was implemented in revision 1.21 and broken in revision 1.26.
Drivers that can change their IRQ should probably be configured
with "irq ?".
1994-10-19 21:57:51 +00:00
bde
d93184c66c Clean up previous commit. 1994-10-19 21:38:19 +00:00
bde
894978397c Fix typo in description of LIBRPCSVC. 1994-10-19 21:36:31 +00:00
bde
51bb0bcc12 Don't change the active partition when the user says not to change it.
Convert absolute sector 0 to C/H/S 0/0/0, not 0/0/1.

Open in O_RDWR mode for the undocumented -a option, so that -a can be
used without -u.
1994-10-19 21:25:28 +00:00
bde
d0e1b90f41 Fix the test for the code segment being the usual one. Unusual code
segments can still cause panics.  Their pc is converted to 0 and 0
is only checked for in one place before use.
1994-10-19 21:13:51 +00:00
wollman
8baea41c30 Implement scsi_externalize(), again. (This was supposed to be committed in the
last batch of changes but somehow got lost in the shuffle.)
1994-10-19 20:34:15 +00:00
phk
4ec8a06552 Martins latest changes. RFC1048 and swap-file should be in the game now.
Submitted by:	Martin Renters.
1994-10-19 20:25:37 +00:00
adam
4750b85d84 P was missing from getopt string 1994-10-19 11:15:30 +00:00
ache
11c09903c4 Add lkm.4 1994-10-19 05:20:01 +00:00
ache
e414a5d4d0 Prevents segm. fault on unknown option 1994-10-19 05:10:06 +00:00
ache
eca71cc402 Don't exit silently, if initscr failed; put error message 1994-10-19 04:45:41 +00:00
ache
183359589b Check initscr() for NULL 1994-10-19 04:10:48 +00:00
pst
ccb1b7b8b1 Remove which per Rod's request. 1994-10-19 03:14:13 +00:00
wollman
b3e30ce91b Add support for devconf to a large number of device drivers, and do
the right thing in dev_goawayall() when kdc_goaway is null.
1994-10-19 01:59:11 +00:00
wollman
77069411f4 Define SCSI_EXTERNALLEN outside of #ifdef KERNEL, for lsdev. 1994-10-19 01:49:23 +00:00
wollman
95b9f4b030 Forgot to bring this file over from previous commit. 1994-10-19 01:20:44 +00:00
pst
c08105f1f8 Added which 1994-10-19 00:34:23 +00:00
pst
270e1afc56 new file does skey_getpass() support 1994-10-19 00:14:32 +00:00