Commit Graph

479 Commits

Author SHA1 Message Date
rgrimes
7780a15dcf Added BSD.local.dist to MTREE files so that it gets installed in /etc/mtree 1993-09-21 08:14:32 +00:00
rgrimes
7fcef08988 Increased pseudo-device bpfilter from 1 unit to 4 units 1993-09-21 06:16:07 +00:00
rgrimes
4f9981abe8 Increase the number of ptys to 12, puts the kernel sizes very close to
the limit.
1993-09-21 06:12:20 +00:00
rgrimes
2a9074862d >From julian@jules.DIALix.oz.au Fri Sep 10 22:58:30 1993
>Date: Sat, 11 Sep 93 12:59:39 +0800

1/ fix bug where cd0a was unusable because it was compared against
the number of 2k blocks not the number of 512byte blocks.. gave
an error for all reads past 1/4 way through the disk (cd0d was ok).

2/ fix open code so that it now notices if a disk has been changed
and updates the disklabel.

3/ use the new error handling code from st.c

4/ start adding stuff to get ready for using cd_scsi_cmd from
cd_start (like is done in st and sd)

5/ more general cleanups including making dmesg report
sector size of disk.. (believe it or not SUN drives use 512 byte)
1993-09-21 05:30:35 +00:00
nate
c8f3143ccb Now works with/without obj directories 1993-09-20 23:47:51 +00:00
rgrimes
a820e0797f Increase the timeout from 2000 counts to 6000 counts, reported by someone
on the net (I lost the mail).  This should fix some units not showing up
during probes.
1993-09-20 06:28:13 +00:00
rgrimes
0822438cc7 The dynamically allocated struct's where not getting properly initialized
as malloc memory is NOT zerod.  Added bzero's after the malloc calls
to make sure that things are initialized.

>From Julian Elischer
1993-09-20 06:27:06 +00:00
alm
2dfbff0f51 1) Install now creates a DOS partition for the first (and only the
first) Primary (un-Extended) DOS partition, providing /dev/xx0h
is available.  It is mounted on /dos by default.  The /etc/fstab
entry omits the dump and fsck fields, i.e.:
/dev/xx0h	/dos	pcfs rw

The Secondary DOS partition is not used (System ID 0xF2), because I don't
know what that is.

2) Fixed default sizes so that if someone attempts to install BSD on a 24 Mb
partition by accepting defaults, they don't end up with a 1 Mb /usr
partition (up to USRMIN Mb's).  In this case, all space is split between
swap and root.

TODO:
1) Extend load_fd() to support loading distribution files directly from
the DOS partition of the hard disk.

2) Provide translated parameters to the install program (maybe
add an option to fdisk).  Currently, the true geometry is used as
default, which is inappropriate for coexistence with DOS.

3) Support installing on multiple or secondary disks.
1993-09-19 20:45:10 +00:00
jkh
d029a968bb Finally stuck a version number on this thing! :) 1993-09-19 01:52:33 +00:00
alm
814be62ccb Added /var/run to CPIO_DIRS 1993-09-19 01:21:15 +00:00
alm
fe647d31a0 Added /etc/remote to CPIO files. 1993-09-18 08:23:19 +00:00
alm
a67dc03a41 Added /usr/distbin to PATH 1993-09-18 08:20:32 +00:00
jkh
a9c908e47a Added code for doing % sequence expansion, added new @unexec command. 1993-09-18 03:39:50 +00:00
jkh
29e567f255 Doc new % sequence expansion for command execution.
Fixed bad verbose message.
1993-09-18 03:39:21 +00:00
jkh
9ad8e7c602 Make sure permissions on registry location are readable by pkg_info.
Add new % sequence expansion for command execution.
1993-09-18 03:38:48 +00:00
rgrimes
f81f86732d >From: Drew Hess <dhess@CS.Stanford.EDU>
>Date: Thu, 16 Sep 1993 23:35:48 -0700 (PDT)
There is a typo in disktab in the NetBSD-0.9 distribution.  This may be
already fixed in NetBSD-current, but it's not in any of the source that I've
sup'ed.
line 9 reads:
#       sc      #sectors/cylinder, nc*nt default
should read:
#       sc      #sectors/cylinder, ns*nt default
1993-09-18 00:00:16 +00:00
alm
5ca84bf755 Added the following to the opening statement of install:
Before starting, it is important to know your hard disk's geometry
(i.e., number of cylinders, heads and sectors/track).  If installing
FreeBSD on the same disk as another operating system, then the
two systems should use the same geometry.  In particular, FreeBSD's
default geometry is inappropriate for MS-DOS.  So in this case, the
DOS geometry should be used instead.

[This seems to be true for SCSI disks.   What about IDE?  With the new
boot blocks, can we ignore the disks true geometry??]
1993-09-17 09:05:52 +00:00
alm
4346151943 added /var/spool and /var/spool/lock to CPIO_DIRS. These are needed by
both tip and kermit.
1993-09-17 06:41:45 +00:00
alm
8517f63bb8 The load_fd() now initializes the `interactive' variable to -i instead
of -v (my fault).
The extract() command now rm's /tmp/cat, not /bin/cat (my fault).
1993-09-16 00:45:34 +00:00
rgrimes
cdb785565c Enabled floppy drive ioctl's so that disklabel on a floppy is now
quite and works correctly.  This is derived from notes in Bruce Evans
lattest patches to fd.c:

>From: bde@kralizec.zeta.org.au (Bruce Evans)
>Subject: fixes for fd driver

6. I picked up some code posted the other day to implement label ioctls.
   Now `disklabel fd0' works.  See a comment for how to modify conf.c.
1993-09-15 23:29:11 +00:00
rgrimes
37b4f865ec Removed $Log$ section and patch kit headers. And here is the full
message for Bruces changes:

>From: bde@kralizec.zeta.org.au (Bruce Evans)
>Subject: fixes for fd driver

I think I've fixed some bugs in the 0.2.4 fd driver.

1. The main cause of hangs was that there was no timeout for seeks.  So
   attempting i/o with no floppy in the drive hung iff a seek was required.

2. Opens of unattached drives were allowed.  The kernel usually paniced
   soon after due to a bad pointer.

3. Some timeout functions ran at splclock() instead of splbio().  This
   may not have mattered.

4. The state machine was left in a funny state after a timeout.

5. Some function headers were new-style.

6. I picked up some code posted the other day to implement label ioctls.
   Now `disklabel fd0' works.  See a comment for how to modify conf.c.
1993-09-15 23:27:45 +00:00
rgrimes
6ceafd1cce >From: paul@u.tvt.se (Paul Pries)
>Subject: Bad bug in kbdtables.h [FreeBSD]

I found a bug in /sys/i386/isa/kbdtables.h which contain the
different keyboard layouts for syscons.  This regards all tables exept
the Danish and US.  When compiling the kernel with any other keymapping
than Danish or none at all (US), you get an error that 'key_map' is undefined.
This is because there is a typo in the name of the struct containing
the tables, keymap intead of key_map.
1993-09-15 23:03:21 +00:00
jtc
fe091da660 Include <rpc/rpc.h> instead of various individual <rpc/*.h> header files
to compile with the newly prototyped rpc headers.
1993-09-15 20:27:25 +00:00
jtc
4b9de3ffe1 Fix grammar to eliminate support for unary minus expressions -- they
weren't supported, they aren't standard, and they caused expr to dump
core.
1993-09-14 22:49:52 +00:00
rgrimes
280e372add >From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Comment was wrong about what entries get made for vtyNN, it
is 0-b, not 00-12.
1993-09-14 21:42:14 +00:00
alm
4d9b45d5c9 Added option to overwrite an existing partition during install.
Added notes about ob-bs to install_notes.
1993-09-14 21:26:32 +00:00
jkh
d6bf4d4cb2 Fixed broken -t flag; thanks Rich! 1993-09-14 19:53:01 +00:00
jkh
46899c1bb1 Bruce's multifarious patches for the floppy driver (not well tested, but
since what we have is crap as it is, it can't do much worse!).
1993-09-14 19:34:32 +00:00
rgrimes
ddf0efacdb Make MOUNT be MOUNT? so I can easily override it for building 2 floppies
concurrently now that the floppy driver works good enought to do this!
1993-09-14 04:14:30 +00:00
alm
91c15b83c0 The install disks now print the partition table data with
offsets and sizes in units of cylinders.  This will help
those who want to install FreeBSD between two existing
partitions.

Faked notes on installing via Kermit
1993-09-14 02:36:09 +00:00
rgrimes
f2ae1aad5e Removed DOS floppy build stuff, as this was just a poor idea that needs
a much better solution.
1993-09-14 00:59:49 +00:00
rgrimes
fe0cea8516 Fixed missing newline at end of file. 1993-09-14 00:54:19 +00:00
alm
68a17f0f63 Brought install_notes up to date. 1993-09-13 13:37:21 +00:00
rgrimes
71d8bff158 Fixed missing device name arguments to fdisk commands, this was the
cause of silient failure on scsi disk installs with the new floppies.
1993-09-13 12:23:38 +00:00
rgrimes
8d0a6eab3d Renumber the section starting at the duplicate 5. section. Changed
reference to RELNOTES.FreeBSD to not have an absolute path on it since
these appear in several places!
1993-09-13 07:53:28 +00:00
alm
4bb712a13c Explain purpose and original of "dos" floppy. 1993-09-13 07:26:39 +00:00
rgrimes
cba879c971 Changed ultrastore 14F/34F driver to irq 14. 1993-09-13 03:43:53 +00:00
rgrimes
39d99ae8fe Put the uha0 controller at its proper default IRQ of 14! Thanks Warner! 1993-09-13 03:15:26 +00:00
alm
bf15a2a70c Fixed the extract() command which I had broken attempting to implement
it without cat.  It now requires cat again (no way around it unless
gunzip can accept arbitrary filename suffixes).
1993-09-13 02:23:55 +00:00
rgrimes
3a5b49d0e1 More file shuffling between floppies, needed to get rm on filesystem
floppy.  Removed duplicates from DOS floppy.
1993-09-13 00:00:16 +00:00
rgrimes
67a670bfbd Since reboot is now installed, use it if the fsck fails 1993-09-12 23:55:35 +00:00
rgrimes
69f008b1da Change the "Insert secound installation floppy" to
"Insert the cpio installation floppy" to reduce confusion as to what floppy
is wanted.
1993-09-12 22:44:37 +00:00
rgrimes
02cac21034 >From: rich@id.slip.bcm.tmc.edu.cdrom.com (Rich Murphey)
I'd like to be able to say:

options         "SYMTAB_SPACE=78000"    # Kernel debugger symbol table size

If this seems a reasonable interim solution for freebsd, here's the
patch.. Rich
1993-09-12 21:56:50 +00:00
rgrimes
ec449c8768 Removed /usr/contrib/bin from PATH 1993-09-12 21:40:19 +00:00
jkh
b4c8f0e3c1 Whoops - got the exclude flag wrong, try again. 1993-09-12 20:56:40 +00:00
jkh
55c1577db5 Fixed an embarassing bug with @owner, @mode & @group 1993-09-12 20:45:53 +00:00
jkh
181dee1323 Added and doc'd -X flag to pkg_create that allows you to specify an exclude
list for the final package.
1993-09-12 20:45:31 +00:00
rgrimes
499096ff9c Only put var and var/tmp in the cpio archive floppy, do not really need
the whole /var tree at this time.
1993-09-12 20:37:05 +00:00
alm
e65af2ec19 added a couple echo's 1993-09-11 08:55:41 +00:00
alm
d2c9d0e734 Forgot to export PATH 1993-09-11 08:41:03 +00:00