summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* -Wall fixes.billf1999-12-122-3/+4
|
* -Wall fixes.billf1999-12-1213-89/+104
|
* Synopsis of problem being fixed: Dan Nelson originally reported thatdillon1999-12-1210-96/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blocks of zeros could wind up in a file written to over NFS by a client. The problem only occurs a few times per several gigabytes of data. This problem turned out to be bug #3 below. bug #1: B_CLUSTEROK must be cleared when an NFS buffer is reverted from stage 2 (ready for commit rpc) to stage 1 (ready for write). Reversions can occur when a dirty NFS buffer is redirtied with new data. Otherwise the VFS/BIO system may end up thinking that a stage 1 NFS buffer is clusterable. Stage 1 NFS buffers are not clusterable. bug #2: B_CLUSTEROK was inappropriately set for a 'short' NFS buffer (short buffers only occur near the EOF of the file). Change to only set when the buffer is a full biosize (usually 8K). This bug has no effect but should be fixed in -current anyway. It need not be backported. bug #3: B_NEEDCOMMIT was inappropriately set in nfs_flush() (which is typically only called by the update daemon). nfs_flush() does a multi-pass loop but due to the lack of vnode locking it is possible for new buffers to be added to the dirtyblkhd list while a flush operation is going on. This may result in nfs_flush() setting B_NEEDCOMMIT on a buffer which has *NOT* yet gone through its stage 1 write, causing only the commit rpc to be made and thus causing the contents of the buffer to be thrown away (never sent to the server). The patch also contains some cleanup, which only applies to the commit into -current. Reviewed by: dg, julian Originally Reported by: Dan Nelson <dnelson@emsphone.com>
* Bump local version number to 1.3.4.bp1999-12-122-2/+2
|
* This is Bosko Milekic's mbuf allocation waiting code. Basically, thisgreen1999-12-126-34/+232
| | | | | | | | means that running out of mbuf space isn't a panic anymore, and code which runs out of network memory will sleep to wait for it. Submitted by: Bosko Milekic <bmilekic@dsuper.net> Reviewed by: green, wollman
* Update to version 1.3.4 of ncplib. Cleanup header files.bp1999-12-129-35/+42
|
* I shouldn't have incremented PART_OFF; it was wrong and broke labeljkh1999-12-1214-13/+12
| | | | | display to boot. Also fix some various warning fluff while I'm in here cleaning up.
* When booting verbose, indicate if we are using manual terminationgibbs1999-12-122-4/+16
| | | | | | settings for U2 cards. Don't assume that all aic7859 cards are 2930CUs.
* Move the wakeup_one() prototype from proc.h to systm.h. It now hangsgreen1999-12-122-1/+1
| | | | out with it's sibling, wakeup().
* Build a.out tools if MACHINE_ARCH == i386 and MACHINE == pc98.nyan1999-12-121-2/+10
| | | | | | The boot2 for pc98 is still a.out program. I made the original patch, and many problems were fixed by Marcel Moolenaar.
* Remove accidental pollution unrelated to previous commit. The issuedillon1999-12-122-4/+2
| | | | here is real but has not yet been discussed with Eivind.
* -Wall fixes.billf1999-12-122-5/+4
|
* Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC todillon1999-12-1215-25/+147
| | | | | | | | | | | | | | | | | madvise(). This feature prevents the update daemon from gratuitously flushing dirty pages associated with a mapped file-backed region of memory. The system pager will still page the memory as necessary and the VM system will still be fully coherent with the filesystem. Modifications made by other means to the same area of memory, for example by write(), are unaffected. The feature works on a page-granularity basis. MAP_NOSYNC allows one to use mmap() to share memory between processes without incuring any significant filesystem overhead, putting it in the same performance category as SysV Shared memory and anonymous memory. Reviewed by: julian, alc, dg
* -Wall fixes.billf1999-12-124-6/+6
|
* Finally give mk_cmds(1) a man page.chris1999-12-122-1/+99
| | | | | PR: docs/4691 Submitted by: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
* make sb dependant on sbccg1999-12-125-1216/+636
| | | | | | | | | | | | | | | | | | | | | | add support for non-pnp cards to sbc move card identification to sbc channel-swapping code is in sb now instead of dsp vibra16x support is still broken, but will be fixed soon note: sbc is now compulsory for sb cards for pnp cards use: device sbc0 for non-pnp cards eg: device sbc0 at isa? port 0x240 irq 5 drq 3 flags 0x15 (hints as oldpcm) both in addition to: device pcm0 Reviewed by: tanimura,dfr Said he liked it: peter
* -Wall cleanup.billf1999-12-122-4/+6
|
* move channel-swapping support to the hardware driver since it knows the cardcg1999-12-124-12/+11
| | | | state best
* increase buffer size, reduce number of channels allocated since we only usecg1999-12-122-8/+8
| | | | 1 at the moment
* Suport multiple ``ifconfig_*?="DHCP"'' configurations.obrien1999-12-127-77/+133
| | | | | | | | | Currently we have a problem in that `dhclient' bails when configuring the second interface as port 68 is already in use (by the `dhclient' started for the first interface). PR: 14810 Submitted by: n_hibma
* Do not add routes for localhost to the `dhclient' controlled interface.obrien1999-12-121-5/+2
| | | | | | | | | | | | | | Doing so is bogus if the loop-back interface was not configured. Typically ``network_interfaces="auto"'' will return the list of interfaces such that "lo0" is not first. Thus there are times when `dhclient' configs an interface before "lo0" is configured. Under BSD4.4, there's no need to add the above route, as it will be automatically generated by the kernel. PR: conf/14098, misc/15183 Submitted by: luoqi (true identification of the problem)
* Quirk all Pioneer changers as changers up front, instead of waiting for theken1999-12-111-7/+1
| | | | | | | | | | | | second LUN to show up. mjacob's change (which is correct) in rev 1.21 of cam_periph.c to elminiate infinite retries of the SCSI busy status bit seems to have broken probing of Pioneer changers that aren't already quirked. The right way to fix this is probably to change things around so we can guarantee 100% sequential probing of LUN-based changers even if they aren't quirked. This should fix things for now, though.
* Trim to 24 lines. Yeah, I know, looks ugly.dcs1999-12-111-4/+3
|
* Add reference to hier(7). This gets motd just over 25 lines. I'mdcs1999-12-111-1/+5
| | | | | | | don't like it, but I think this can greatly ease the learning curve of Linux-immigrants. Approved by: jkh
* reactivate cvs subdir buildpeter1999-12-111-1/+1
|
* Don't add MACHINE_ARCH to MAKEOBJDIRPREFIX when not cross-building.marcel1999-12-111-0/+4
| | | | | | This should fix make release. Reported by: jhay, phk
* Lock reporting and assertion changes.eivind1999-12-1130-60/+126
| | | | | | | | | | | | | | | * lockstatus() and VOP_ISLOCKED() gets a new process argument and a new return value: LK_EXCLOTHER, when the lock is held exclusively by another process. * The ASSERT_VOP_(UN)LOCKED family is extended to use what this gives them * Extend the vnode_if.src format to allow more exact specification than locked/unlocked. This commit should not do any semantic changes unless you are using DEBUG_VFS_LOCKS. Discussed with: grog, mch, peter, phk Reviewed by: peter
* Update files generated by configure.peter1999-12-113-13/+40
|
* Something went wrong with an earlier commit and these files ended upjdp1999-12-112-0/+275
| | | | empty. Fix that with help from grog.
* Unmangle cvs's MD5* calls.peter1999-12-111-0/+15
|
* Take a shot at using mkstemp() since we have a __warn_references() onpeter1999-12-112-1/+22
| | | | the other temporary file creation functions..
* While comparing this with OpenBSD (ie: trying to figure out what mkstemps()peter1999-12-111-2/+2
| | | | | | | | is good for... :-)), I discovered that part of the change when mkstemps() was brought in was missed - it was missing the termination case to make sure it doesn't walk into the suffix. This isn't the same code OpenBSD has, I think this is a little better as we terminate the loop in a better spot.
* Check in correct versions of files. Somehow null files got committedgrog1999-12-110-0/+0
| | | | | | | | | | | | last time. There's a possibility that there are still things wrong with the commit. I wasn't able to build the version I committed, and I won't be for another few days. If any committer finds further omissions, the original source archive is on freefall:~grog/picobsd.tar.gz. Feel free to correct. Reported-by: "Louis A. Mamakos" <louie@TransSys.COM>
* Install include files with mode 444.marcel1999-12-112-2/+2
|
* Merge error. rcs_lockfile is freed after unlock.peter1999-12-111-2/+0
|
* Update for 1.10.7 update.peter1999-12-111-12/+6
|
* Merge cyclic changes from 1.10.7 into our mainline. I did this seperatelypeter1999-12-111-182/+301
| | | | | as cvs update -j had kittens over the whole thing and I ended up merging it by hand.
* Merge cyclic changes for 1.10.7 only our mainline.peter1999-12-1115-664/+1974
|
* Revert to vendor version. Sigh, this left the vendor branch becausepeter1999-12-111-1/+2
| | | | of a fix for a y2k non-problem. :-(
* This commit was generated by cvs2svn to compensate for changes in r54427,peter1999-12-1191-2114/+10401
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import cvs-1.10.7. There are a number of nasty bugs that have been fixed.peter1999-12-11108-2956/+12644
| | | | | | | | Obtained from: cyclic.com
* | Turn off cvs for a moment pending import of a newer version..peter1999-12-111-1/+1
| |
* | Reclaim UPAGES_HOLE (8k) that was chopped out of process address space.peter1999-12-113-4/+2
| | | | | | | | | | | | | | The UPAGES have not been there since Jan '96, but the hole was preserved for BSD/OS binary compatability. This has been fixed other ways (%ebx now has a pointer to PS_STRINGS), and the stack is nowhere near where it used to be so this hack isn't required anymore.
* | Don't simulate a pseudo address-space beyond VM_MAXUSER_ADDRESS thatpeter1999-12-112-80/+0
| | | | | | | | | | | | | | | | | | | | | | maps onto the upages. We used to use this extensively, particularly for ps and gdb. Both of these have been "fixed". ps gets the p_stats via eproc along with all the other stats, and gdb uses the regs, fpregs etc files. Once apon a time the UPAGES were mapped here, but that changed back in January '96. This essentially kills my revisions 1.16 and 1.17. The 2-page "hole" above the stack can be reclaimed now.
* | Allow kernel accesses to a small region of the user stack which is useddfr1999-12-111-4/+21
| | | | | | | | | | | | | | | | by the Linux emulator (and other emulators) for syscall argument translation. The x86 port currently seems to allow unrestricted kernel accesses to user memory. Reviewed by: alc, gallatin
* | bktr driver 2.06 changelogroger1999-12-111-1/+7
| |
* | According to RFC 793, a reset should be honored if the sequence numberjlemon1999-12-112-14/+12
| | | | | | | | | | | | | | is within the receive window. Follow this behavior, instead of only allowing resets at last_ack_sent. Pointed out by: jayanth@yahoo-inc.com
* | Retire error(1). This is no longer useful as it applies only to the 4.xBSDkris1999-12-1111-3267/+0
| | | | | | | | | | | | | | toolchain. Reviewed by: current@freebsd.org Axe kindly supplied by: Institute of Danish Surgeons
* | Major update to the Mylex DAC960 driver adding new hardware supportmsmith1999-12-115-174/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and fixing some major bugs. - Add support for the v5 firmware interface, used by the DAC1164P (tested) and AcceleRAID 352 (untested but should work). We now cover all of the Mylex family's protocols except for v2 (used by EISA and Alpha-compatible cards). - Fix an accounting bug which resulted in endless 'poll still busy' messages. In situations of high controller load the count of poll commands could be incremented without actually successfully launching a command. This totally removes the accounting for status poll commnads; it was its own worst enemy. - Add some simple reentry prevention locks to processing of the waiting and completed command queues to prevent races which could result in I/O being done or completed twice (both are fatal). This highlights a need for simple locking primitives in both the UP and SMP kernels. - Streamline the handling of command completion to reduce the amount of redundant work being done. Remove the code which tests for commands that have gone missing in action; nobody has ever seen one of these and it wouldn't have worked properly anyhow. - Handle disconnection of drives from the controller in the detach, not shutdown method. This avoids problems flushing the cache in a panic when a drive is mounted. - Don't call bus_generic_detach when disconnecting drives; it doesn't actually do anything useful. - Increment the log message index regardless of whether we actually retrieved one or not. If we run into a message that we can't fetch, we don't want to spin endlessly complaining about the fact. - Don't assume that interrupts will work when we're flushing the controller. We may think they are enabled, but in eg. a panic situation the controller may not be able to deliver an interrupt.
* | Add 'custom' directory with significantly restructured build (nowgrog1999-12-1054-0/+2186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using make instead of custom scripts) and two floppies instead of one. The resultant floppy can do everything that the individual floppies (dial, net, install, isp, router) could do, modulo some bit rot that has occurred since PicoBSD last compiled. It also includes all the programs on the fixit floppy, which could thus also die. /bin currently contains the following files: -sh dump ln ns sps [ ed login ping stty badsect ex ls ps swapon cat expr mkdir pwd sync chgrp fdisk mknod pwd_mkdb sysctl chmod find more rdump syslogd chown fsck mount reboot tar chroot ftp mount_cd9660 restore telnet clri getty mount_msdos rlogin telnetd cp grep mount_nfs rm test date gunzip mount_std rmdir traceroute dd gzip msg route umount dev_mkdb hostname mt routed vi df ifconfig mv rrestore view dhclient inetd natd rsh vm dhclient-script init netstat sed w disklabel kget newfs sh zcat dmesg kill nfs sleep Structure is in place for using the same build for the other directories, but I'm no longer sure we need this. The current first floppy will run fine by itself, but the size of a compressed kernel has increased by nearly 50% since 3.2, and there's not much space for anything useful on the remainder of the floppy. The current method creates a larger mfs and can read as many floppies as the user can stand. The footprint appears to be round 14 MB.
OpenPOWER on IntegriCloud