Commit Graph

3712 Commits

Author SHA1 Message Date
ache
064eef20b0 Cosmetique: just fix tabs after patch of diff -cb (previous) 1994-10-22 02:35:09 +00:00
ache
af943c1b9d ExitSysinstall() fixed:
use dialog functions properly.
don't clear screen with last message on exit(0), I want to see it still.
relay on dialog_active properly.
1994-10-22 02:32:16 +00:00
dg
dd9d06bd3f Restrict fs_maxfilesize to 2^40, and check against this in ffs_truncate().
This is part of a bug fix from Kirk McKusick to work around problems in FFS
related to the blkno of a 64bit offset not fitting into an int. Note the
proper solution would be to deal with 64bit block numbers, but doing this
would require sweeping changes; some other day perhaps.

Submitted by:	Marshall Kirk McKusick
1994-10-22 02:27:35 +00:00
dg
4d06675bdc Restrict fs_maxfilesize to 2^40; this is part of a bug fix from Kirk
McKusick to work around problems in FFS related to the blkno of a 64bit
offset not fitting into an int.

Submitted by:	Marshall Kirk McKusick
1994-10-22 02:21:53 +00:00
dg
e8b2d4b14c Various changes to allow operation without any swapspace configured. Note
that this is intended for use only in floppy situations and is done at
the sacrifice of performance in that case (in ther words, this is not the
best solution, but works okay for this exceptional situation).

Submitted by:	John Dyson
1994-10-22 02:18:03 +00:00
ache
7d5bdbbd33 spkrtest added 1994-10-22 02:16:04 +00:00
phk
e9e3ac45e0 Reflect the fact that we only have one GENERIC kernel now. 1994-10-22 02:11:08 +00:00
ache
4498f3f753 This commit was generated by cvs2svn to compensate for changes in r3762,
which included commits to RCS files with non-trunk default branches.
1994-10-22 02:09:06 +00:00
ache
a262e6cddb Speaker driver test script
Obtained from: FreeBSD 1.1.5.1
1994-10-22 02:09:06 +00:00
phk
d1575b02e6 The wdprobe was too picky. 1994-10-22 01:57:12 +00:00
ache
1ae081c204 makeraw(): forget to clear IMAXBEL, set VMIN/VTIME 1994-10-22 01:49:27 +00:00
jkh
e0b2523cc3 From: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
One of the alpha testers (ETO, Toshihisa <eto@osl.fujitsu.co.jp>)
of my APM driver sent me a very small patch to if_ze.c for using IBM
PCMCIA Ethernet card II.  There are only a few difference between
Ethernet card I and II.  So we can use them both with this patch.  It
also includes a patch for PCIC of ThinkPad 230Cs (As long as I
remember, this model is available in Japan only. But it is very
popular subnote in Japan).
Submitted by:	hosokawa
1994-10-21 22:59:45 +00:00
paul
330240f03f Fixed a typo and moved a dialog_clear() line. 1994-10-21 18:26:25 +00:00
paul
dceb550f04 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
1be9f1367e Fix dialog_clear() to clear windows. 1994-10-21 17:52:19 +00:00
joerg
945b826761 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
e52bf400df 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
2cae2759f0 Now stage2 runs all the way.. 1994-10-21 05:36:43 +00:00
ache
b4d90868ff Sync with termcap.src 1994-10-21 04:59:27 +00:00
ache
99dfca42ce Remove "mh" capability for -mono family 1994-10-21 04:57:11 +00:00
ache
cc6bf63427 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
d18ca621f2 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
2cf5e51b10 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
2714516b29 Bug fixes from John Brezak. 1994-10-21 02:38:29 +00:00
phk
d50bb0c33e Latest changes from me. Over to you Paul... 1994-10-21 02:14:54 +00:00
wollman
3a9b1c345a 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
207112cfcf Make my ALLDEVS kernel compile (basically, LINT minus a lot of options). 1994-10-21 01:18:38 +00:00
wollman
96a439f22b 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
d0a9396288 Added
#define MBR_PTYPE_FreeBSD 0xa5  /* FreeBSD partition type */


Reviewed by:
Submitted by:
Obtained from:
1994-10-20 23:41:57 +00:00
ache
bbd5ec8175 Remove ncurses.h, now included into dialog.h 1994-10-20 21:58:10 +00:00
ache
ab76452c48 Declare more functions externally.
Don't forget to use 'make beforeinstall'...
1994-10-20 21:56:45 +00:00
ache
8400fa64f5 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
18ed6a9a03 Now stage 2 should do it's job I hope. Havn't tested yet. 1994-10-20 06:48:40 +00:00
phk
05562654b1 Just a safety measure for me and Paul. 1994-10-20 06:14:29 +00:00
phk
f252df1d03 Remake lost changes to sysinstall.h. Sorry Paul ! 1994-10-20 06:08:19 +00:00
phk
218c2e4b59 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
29f810393a The beginning of some structural changes, and the merge of my code into
Pauls.
1994-10-20 02:51:55 +00:00
phk
f57df841f7 Added a big comment about the general scheme of things during install... 1994-10-20 01:17:26 +00:00
phk
67c8cc3f20 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
fee1af4368 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
ccc81f66b7 A missing bit from Peter Dufaults patches, as best I could guess... 1994-10-20 00:45:36 +00:00
phk
ca4c47b8ec Bruce told me to: Make uha0 use irq ? 1994-10-20 00:19:37 +00:00
phk
c006d3d459 Peter Dufaults comconsole changes.
Submitted by:	Peter Dufault
1994-10-20 00:08:31 +00:00
paul
c5bd2be246 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
942fc20db7 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
b0fbd5a81d Clean up previous commit. 1994-10-19 21:38:19 +00:00
bde
826a18e82b Fix typo in description of LIBRPCSVC. 1994-10-19 21:36:31 +00:00
bde
f7b7df385e 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
5db7e440c8 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
c1ffab18a7 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