summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Entries so RPC servers are started.jtc1993-09-231-0/+5
|
* >From: bde@kralizec.zeta.org.au (Bruce Evans)rgrimes1993-09-233-24/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Thu, 16 Sep 93 01:35:10 +1000 Julian writes: >In fact DEVIDLE and FINDWORK ended up being basically equivalent. >the bit I wonder about, is the returning of 0.. What (other than >another request from somewhere else in the kernel) is going to start >work on the next item on the queue? I think removing FINDWORK would make things clearer. Nothing much is going to start work on the next item. However, it is pointless to continue processing the queue for the same unready drive. Aborting all reads and trying harder to perform all writes would be better. Julian writes. > no, actually it should be: > fdt = fd_data[FDUNIT(minor(dev))].ft; Fixed. From: bde@kralizec.zeta.org.au (Bruce Evans) Date: Thu, 16 Sep 93 22:56:01 +1000 The fd driver reported the wrong cylinder/head/sector numbers after an error (ST3 is only valid after a sense-drive command), and didn't report fs block numbers (diskerr was not used). There was an old problem with writes to block fd devices. Try this: 1. write protect floppy in fd0. 2. tar cf /dev/fd0a /dev/null. Repeat a few times. Later writes tend to terminate earlier. 3. un-write protect floppy. 4. repeat step 2. The writes tend to return 0, 2048, 4096, ... and then succeed. This was caused by a bug in vfs__bios.c. (The bug is fixed in NetBSD's vfs_bio.c.) fd.c sets bp->b_resid to nonzero after an error. vfs__bios.c was not initializing bp->b_resid. This causes some writes to terminate early (e.g., writes to block devices; see spec_write()). Related funnies: 1. Nothing tries to write the residual bytes. 2. The wd driver sets bp->b_resid to 0 after an error, so there's no way anything else could write the residual bytes. 3. I use the block fd device for tar because the raw device seemed to have more bugs long ago, and because it ought to be able to handle buffering more transparently (I don't want to have to know the device size). But spec_write() always uses the size BLKDEV_IOSIZE == 2048 which is too small. For disks it should use the size of one track (rounded down to meet the next track boundary or the i/o size). Here it would help if the DIOCGPART ioctl worked. But DIOCGPART is not implemented for floppies, and the disk size is ignored except for partitions of type FS_BSDFFS. Bruce
* rewrote interrupt code to be cleaner, fixed up some other partsdg1993-09-224-384/+436
| | | | to make it easier to add future board types.
* Increaed the fixed static buffer sizes and maximum hunk size thatrich1993-09-221-5/+8
| | | | otherwise causes the XFree86 1.3 patch set to fail.
* added to install_notes instructions for loading distribtuionalm1993-09-224-111/+177
| | | | | | | | files from a MS-DOS partition. Minor cleanup: fixed spelling error in inst1.install capitalized sentences in kc.profile reworded initial load_fd options
* Bring README into sync with Julians latest README (1 line deleted which wasrgrimes1993-09-211-1/+0
| | | | a reference to README.AHA1742)
* Extended load_fd() to support reading from the first Primary DOSalm1993-09-213-83/+166
| | | | | | | | | | | | | | | partition of the boot disk. So we have yet another medium via which to load the FreeBSD distribution files. load_fd() has options for listing and (if reading from the C: drive) changing directories. load_fd's notation assumes that the first Primary partition on disk is the DOS drive C: (since this and only this one is mounted by install). Otherwise, the notation may be a bit confusing. We'll know the assumption is bad if people complain about not finding files on their "C:" drive... Added a device file existence check to kc.profile.
* Added BSD.local.dist to MTREE files so that it gets installed in /etc/mtreergrimes1993-09-211-1/+1
|
* Increased pseudo-device bpfilter from 1 unit to 4 unitsrgrimes1993-09-213-6/+6
|
* Increase the number of ptys to 12, puts the kernel sizes very close torgrimes1993-09-212-4/+4
| | | | the limit.
* >From julian@jules.DIALix.oz.au Fri Sep 10 22:58:30 1993rgrimes1993-09-211-302/+339
| | | | | | | | | | | | | | | | | | | >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)
* Now works with/without obj directoriesnate1993-09-204-4/+8
|
* Increase the timeout from 2000 counts to 6000 counts, reported by someonergrimes1993-09-201-2/+2
| | | | | on the net (I lost the mail). This should fix some units not showing up during probes.
* The dynamically allocated struct's where not getting properly initializedrgrimes1993-09-203-4/+10
| | | | | | | as malloc memory is NOT zerod. Added bzero's after the malloc calls to make sure that things are initialized. >From Julian Elischer
* 1) Install now creates a DOS partition for the first (and only thealm1993-09-191-6/+46
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Finally stuck a version number on this thing! :)jkh1993-09-191-0/+1
|
* Added /var/run to CPIO_DIRSalm1993-09-191-1/+1
|
* Added /etc/remote to CPIO files.alm1993-09-181-1/+1
|
* Added /usr/distbin to PATHalm1993-09-182-2/+3
|
* Added code for doing % sequence expansion, added new @unexec command.jkh1993-09-183-5/+84
|
* Doc new % sequence expansion for command execution.jkh1993-09-182-7/+52
| | | | Fixed bad verbose message.
* Make sure permissions on registry location are readable by pkg_info.jkh1993-09-182-6/+10
| | | | Add new % sequence expansion for command execution.
* >From: Drew Hess <dhess@CS.Stanford.EDU>rgrimes1993-09-182-2/+2
| | | | | | | | | | | >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
* Added the following to the opening statement of install:alm1993-09-171-10/+13
| | | | | | | | | | | | 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??]
* added /var/spool and /var/spool/lock to CPIO_DIRS. These are needed byalm1993-09-171-1/+1
| | | | both tip and kermit.
* The load_fd() now initializes the `interactive' variable to -i insteadalm1993-09-161-3/+3
| | | | | of -v (my fault). The extract() command now rm's /tmp/cat, not /bin/cat (my fault).
* Enabled floppy drive ioctl's so that disklabel on a floppy is nowrgrimes1993-09-151-3/+2
| | | | | | | | | | | 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.
* Removed $Log$ section and patch kit headers. And here is the fullrgrimes1993-09-153-177/+6
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* >From: paul@u.tvt.se (Paul Pries)rgrimes1993-09-153-12/+12
| | | | | | | | | | | >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.
* Include <rpc/rpc.h> instead of various individual <rpc/*.h> header filesjtc1993-09-153-22/+6
| | | | to compile with the newly prototyped rpc headers.
* Fix grammar to eliminate support for unary minus expressions -- theyjtc1993-09-141-9/+8
| | | | | weren't supported, they aren't standard, and they caused expr to dump core.
* >From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)rgrimes1993-09-142-4/+4
| | | | | Comment was wrong about what entries get made for vtyNN, it is 0-b, not 00-12.
* Added option to overwrite an existing partition during install.alm1993-09-142-64/+118
| | | | Added notes about ob-bs to install_notes.
* Fixed broken -t flag; thanks Rich!jkh1993-09-141-2/+2
|
* Bruce's multifarious patches for the floppy driver (not well tested, butjkh1993-09-143-69/+426
| | | | since what we have is crap as it is, it can't do much worse!).
* Make MOUNT be MOUNT? so I can easily override it for building 2 floppiesrgrimes1993-09-141-1/+1
| | | | concurrently now that the floppy driver works good enought to do this!
* The install disks now print the partition table data withalm1993-09-142-5/+142
| | | | | | | | 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
* Removed DOS floppy build stuff, as this was just a poor idea that needsrgrimes1993-09-141-17/+0
| | | | a much better solution.
* Fixed missing newline at end of file.rgrimes1993-09-141-1/+1
|
* Brought install_notes up to date.alm1993-09-131-248/+239
|
* Fixed missing device name arguments to fdisk commands, this was thergrimes1993-09-131-2/+2
| | | | cause of silient failure on scsi disk installs with the new floppies.
* Renumber the section starting at the duplicate 5. section. Changedrgrimes1993-09-131-13/+13
| | | | | reference to RELNOTES.FreeBSD to not have an absolute path on it since these appear in several places!
* Explain purpose and original of "dos" floppy.alm1993-09-131-20/+33
|
* Changed ultrastore 14F/34F driver to irq 14.rgrimes1993-09-131-2/+2
|
* Put the uha0 controller at its proper default IRQ of 14! Thanks Warner!rgrimes1993-09-134-8/+8
|
* Fixed the extract() command which I had broken attempting to implementalm1993-09-131-5/+7
| | | | | it without cat. It now requires cat again (no way around it unless gunzip can accept arbitrary filename suffixes).
* More file shuffling between floppies, needed to get rm on filesystemrgrimes1993-09-131-9/+9
| | | | floppy. Removed duplicates from DOS floppy.
* Since reboot is now installed, use it if the fsck failsrgrimes1993-09-121-4/+2
|
* Change the "Insert secound installation floppy" torgrimes1993-09-121-1/+1
| | | | | "Insert the cpio installation floppy" to reduce confusion as to what floppy is wanted.
* >From: rich@id.slip.bcm.tmc.edu.cdrom.com (Rich Murphey)rgrimes1993-09-121-0/+6
| | | | | | | | | 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
OpenPOWER on IntegriCloud