aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Reduce Bruce-filter verbosity.Poul-Henning Kamp1999-03-131-7/+3
| | | | Notes: svn path=/head/; revision=44723
* Make NDGBPORTS an official option.Joerg Wunsch1999-03-137-7/+22
| | | | Notes: svn path=/head/; revision=44722
* Sync with sys/i386/conf/Makefile.i386 revision 1.141.KATO Takenori1999-03-132-4/+4
| | | | Notes: svn path=/head/; revision=44721
* set if_snd.ifq_maxlen to something reasonable - note that if_de.c hasPeter Wemm1999-03-132-2/+10
| | | | | | | | | | a wierd double-queue arrangement.. It always empties the if_snd queue then puts the transmit packets into a different queue that is limited by the number of TX descriptors and does it's own discards... This should stop the boot-time XXX warning anyway. Notes: svn path=/head/; revision=44719
* Clarify the undesirability of static configuration.Greg Lehey1999-03-131-44/+48
| | | | | | | | | Describe the problems of synchronization between userland and driver. Tripped-over-by: Chris Foote <chris@senet.com.au> Notes: svn path=/head/; revision=44718
* Change prototype of vinum_inactive.Greg Lehey1999-03-131-1/+1
| | | | Notes: svn path=/head/; revision=44717
* Describe the new debug flags DEBUG_EOFINFO and DEBUG_MEMFREE.Greg Lehey1999-03-131-9/+10
| | | | | | | | | Fix a confusion between slices and partitions. Clarify the problems of small stripe sizes (< 128 kB). Notes: svn path=/head/; revision=44716
* info command: Remove opencount parameter, print value of open flag.Greg Lehey1999-03-131-1/+1
| | | | Notes: svn path=/head/; revision=44715
* create command: if an error occurs, print the offending line even ifGreg Lehey1999-03-131-0/+2
| | | | | | | the -v flag has not been set. Notes: svn path=/head/; revision=44714
* Improve the manner in which the location of the kld is found. ItGreg Lehey1999-03-131-1/+15
| | | | | | | should now be completely automatic. Notes: svn path=/head/; revision=44713
* Remove opencount from vinum_conf and struct vol, and disk index fromGreg Lehey1999-03-131-7/+4
| | | | | | | | | | | struct vol. Add time to struct mc, remove KVA crud. Add debug flags DEBUG_EOFINFO and DEBUG_MEMFREE. Notes: svn path=/head/; revision=44712
* Part of removing vol->opencount: now we just use a flag.Greg Lehey1999-03-131-3/+3
| | | | Notes: svn path=/head/; revision=44711
* Add DEBUG_EOFINFO log messages.Greg Lehey1999-03-131-0/+15
| | | | Notes: svn path=/head/; revision=44710
* Remove antique crud.Greg Lehey1999-03-131-10/+25
| | | | | | | | | | | MMalloc: save the time at which the request was granted, remove more crud. FFree: add a circular buffer of the last 64 Free requests if DEBUG_MEMFREE is set. Notes: svn path=/head/; revision=44709
* lock_drive: report on and recover from an obscure situation where theGreg Lehey1999-03-131-0/+7
| | | | | | | daemon can deadlock against itself. Notes: svn path=/head/; revision=44708
* VINUM_RESETCONFIG: do the reset even if the config is open (as it hasGreg Lehey1999-03-131-3/+1
| | | | | | | | to be for us to issue the ioctl :-). Also remove the opencount parameter of the config, which just never worked. Notes: svn path=/head/; revision=44707
* Don't frob vp->v_usecount, it scares the hell out of the driver underGreg Lehey1999-03-131-5/+2
| | | | | | | certain circumstances. Notes: svn path=/head/; revision=44706
* Change the way of recognizing whether a plex was given to a volumeGreg Lehey1999-03-131-41/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | after the volume had been fully operational; involves a change in the use of the VF_NEWBORN flag. Now if you add a plex to a volume which is up, the plex will be down and the subdisks stale. You need to explicitly start the subdisks, which copies data from the good subdisks to the uninitialized ones. Stumbled-over-by: Ludwig Pummer <ludwigp@bigfoot.com> give_sd_to_drive: correct method to give the entire largest chunk of drive to the subdisk. Now it's enough to specify a length, and vinum will give you as much as it can. Not to be recommended except for empty drives. Correct a bogon which made vinum refuse to give the last sector of a drive to a subdisk. Last-reported-by: Ludwig Pummer <ludwigp@bigfoot.com> Change %q formats to %ll before the former go away. This doesn't make much difference, since kernel kvprintf currently doesn't support either, and the messages in question are just error messages. Notes: svn path=/head/; revision=44705
* pmap_qenter/pmap_qremove:Alan Cox1999-03-132-178/+124
| | | | | | | | | | | | | | | | Use the pmap_kenter/pmap_kremove inline functions instead of duplicating them. pmap_remove_all: Eliminate an unused (but initialized) variable. pmap_ts_reference: Change the implementation. The new implementation is much smaller and simpler, but functionally identical. (Reviewed by "John S. Dyson" <dyson@iquest.net>.) Notes: svn path=/head/; revision=44704
* vinum_inactive: distinguish whether we care whether the configGreg Lehey1999-03-131-5/+8
| | | | | | | is open or not. Notes: svn path=/head/; revision=44703
* Add a dire warning about the folly of configuring vinum inGreg Lehey1999-03-133-3/+27
| | | | | | | the kernel. Notes: svn path=/head/; revision=44702
* When printing out V1 info, make sure that there is additional infoWarner Losh1999-03-131-2/+8
| | | | | | | | | | | | | | before printing it. Terminate when we come to a 0xff byte. This allows there to be zero or more additional info fields printed correctly. Before, the old code would print bogons or dump core when presented with this case. I don't know what the spec says about this, exactly, but this allows me to do a dumpcis of my non-ATA AMP 4M FLASH cards w/o pccardc dumping core. Notes: svn path=/head/; revision=44701
* Note that a standard MBR supports booting only from hard drive 0Robert Nordier1999-03-132-2/+8
| | | | Notes: svn path=/head/; revision=44700
* Reverse the order of processing object files within an executable orJohn Polstra1999-03-133-8/+8
| | | | | | | | | | | | | | | | shared library when invoking global constructors and destructors. For constructors, the object files used to be processed from first to last; now they're done from last to first. (Destructors are done in the opposite order, as required by the C++ standard.) This makes us consistent with standard gcc and egcs compilers. It also eliminates ordering differences between dynamic and static executables. Bump the value of __FreeBSD_version to 400002 to reflect this change. Notes: svn path=/head/; revision=44699
* Update to post-branch state (yeesh!)Jordan K. Hubbard1999-03-121-10/+6
| | | | Notes: svn path=/head/; revision=44696
* Fix an old cut&paste bogon.Poul-Henning Kamp1999-03-122-4/+4
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=44695
* Don't allow anyone except root to mount file systems that map uids.Warner Losh1999-03-122-2/+14
| | | | | | | | | | | | This can have bad security implications, but the impact on FreeBSD systems is minimal because this fs isn't in the default kernels and it is unknown if it even works. Submitted by: Manuel Bouyer <bouyer@antioche.eu.org> and Artur Grabowski <art@stacken.kth.se> Notes: svn path=/head/; revision=44693
* Remove static delcarations from {,un}register_pcic_intr declarationsWarner Losh1999-03-121-2/+2
| | | | | | | | | | | in the not APIC_IO case. This should silence the warnings when building pcic.c as well as the undefined functions when the kernel links. Noticed by: several people in -current and me building the kernel Notes: svn path=/head/; revision=44692
* Move the code for the ".init" and ".fini" sections outside of aJohn Polstra1999-03-126-30/+30
| | | | | | | | | | | | C function so the compiler won't try to emit line numbers for it with "-g", breaking the build. This has the nice side-effect of making crtbegin.o and crtbeginS.o a little bit smaller. Remove "-Wno-unused" from the Makefile. Replace it with "__unused" on particular function and variable declarations. Notes: svn path=/head/; revision=44691
* src/usr.sbin/natd -> src/sbin/natd (after a repo-copy by jdp)Brian Somers1999-03-1211-2372/+3
| | | | Notes: svn path=/head/; revision=44690
* make libkvm capable of dealing with a crashdump on alphasAndrew Gallatin1999-03-121-50/+65
| | | | | | | Reviewed by: Doug Rabson <dfr@nlsystems.com> Notes: svn path=/head/; revision=44689
* Fix savecore so that it works on alphasAndrew Gallatin1999-03-121-1/+7
| | | | | | | Reviewed by: Doug Rabson <dfr@nlsystems.com> Notes: svn path=/head/; revision=44688
* Enable crashdumps on alphas.Andrew Gallatin1999-03-121-1/+53
| | | | | | | Reviewed by: Doug Rabson <dfr@nlsystems.com> Notes: svn path=/head/; revision=44687
* Remove duplicate include.Poul-Henning Kamp1999-03-122-8/+2
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=44685
* Fix Typo.Poul-Henning Kamp1999-03-121-2/+2
| | | | Notes: svn path=/head/; revision=44684
* Remove vm_page_frees from kmem_malloc that are performedAlan Cox1999-03-121-7/+1
| | | | | | | by vm_map_delete/vm_object_page_remove anyway. Notes: svn path=/head/; revision=44682
* This solves a deadlock that can occur when read()ing into a file-mmap()Julian Elischer1999-03-122-7/+36
| | | | | | | | | | | | | | | space. When doing this, it is possible to for another process to attempt to get an exclusive lock on the vnode and deadlock the mmap/read combination when the uiomove() call tries to obtain a second shared lock on the vnode. There is still a potential deadlock situation with write()/mmap(). Submitted by: Matt Dillon <dillon@freebsd.org> Reviewed by: Luoqi Chen <luoqi@freebsd.org> Delimmitted by tag PRE_MATT_MMAP_LOCK and POST_MATT_MMAP_LOCK in kern/kern_lock.c kern/kern_subr.c Notes: svn path=/head/; revision=44681
* Reviewed by: Many at differnt times in differnt parts,Julian Elischer1999-03-1211-518/+903
| | | | | | | | | | | | | | | | | | | | | | | | | including alan, john, me, luoqi, and kirk Submitted by: Matt Dillon <dillon@frebsd.org> This change implements a relatively sophisticated fix to getnewbuf(). There were two problems with getnewbuf(). First, the writerecursion can lead to a system stack overflow when you have NFS and/or VN devices in the system. Second, the free/dirty buffer accounting was completely broken. Not only did the nfs routines blow it trying to manually account for the buffer state, but the accounting that was done did not work well with the purpose of their existance: figuring out when getnewbuf() needs to sleep. The meat of the change is to kern/vfs_bio.c. The remaining diffs are all minor except for NFS, which includes both the fixes for bp interaction AND fixes for a 'biodone(): buffer already done' lockup. Sys/buf.h also contains a chaining structure which is not used by this patchset but is used by other patches that are coming soon. This patch deliniated by tags PRE_MAT_GETBUF and POST_MAT_GETBUF. (sorry for the missing T matt) Notes: svn path=/head/; revision=44679
* Fix the 'fwd' option to ipfw when asked to divert to another machine.Julian Elischer1999-03-121-7/+24
| | | | | | | | | also rely less on other modules clearing static values, and clear them in a few cases we missed before. Submitted by: Matthew Reimer <mreimer@vpop.net> Notes: svn path=/head/; revision=44677
* Stop the mfs from trying to swap out crucial bits of the mfsJulian Elischer1999-03-122-9/+9
| | | | | | | | as this can lead to deadlock. Submitted by: Mat dillon <dillon@freebsd.org> Notes: svn path=/head/; revision=44675
* Add support for long long modifier (e.g. %llx, %lld).Doug Rabson1999-03-111-3/+9
| | | | | | | Reviewed by: bde Notes: svn path=/head/; revision=44674
* Fixed runtime accounting. The time since the previous context switchBruce Evans1999-03-112-13/+11
| | | | | | | | | | | was discarded on every call to calcru(). Hacking on the `switchtime' global for a related fix in rev.1.38 of kern_resource.c was too fragile and broke when p_switchtime went away. PR: 10402 Notes: svn path=/head/; revision=44673
* Fixed variable overflow problem.David Greenman1999-03-112-10/+10
| | | | | | | Obtained from: NetBSD via Mark J. Taylor <mtaylor@cybernet.com> Notes: svn path=/head/; revision=44671
* Increased kernel virtual address space to 1GB. NOTE: You MUST have fixedDavid Greenman1999-03-118-17/+17
| | | | | | | | | | | bootblocks in order to boot the kernel after this! Also note that this change breaks BSDI BSD/OS compatibility. Also increased default NKPT to 17 so that FreeBSD can boot on machines with >=2GB of RAM. Booting on machines with exactly 4GB requires other patches, not included. Notes: svn path=/head/; revision=44670
* Change permissions on /etc/ppp/ppp.conf to 0640.Brian Somers1999-03-112-2/+6
| | | | Notes: svn path=/head/; revision=44669
* Add ${lpd_program} and ${portmap_program} as variables in rc.conf, withJames FitzGibbon1999-03-119-17/+19
| | | | | | | | | suitable defaults pointing to the FreeBSD-shipped versions. This will allow for easier integration of third-party replacements for these daemons. Reviewed by: Several members of -committers Notes: svn path=/head/; revision=44668
* Remove <timepps.h> here as well.Poul-Henning Kamp1999-03-111-2/+2
| | | | | | | | You will need to manually rip it from /usr/include if it gives you any trouble. Notes: svn path=/head/; revision=44667
* Make even more of the PPSAPI implementations generic.Poul-Henning Kamp1999-03-1110-277/+448
| | | | | | | | | | | FLL support in hardpps() Various magic shuffles and improved comments Style fixes from Bruce. Notes: svn path=/head/; revision=44666
* removed from PPS-API draftPoul-Henning Kamp1999-03-111-86/+0
| | | | Notes: svn path=/head/; revision=44665
* Oops, syscons.4 hasn't been added to Makefile!Kazutaka YOKOTA1999-03-111-2/+3
| | | | Notes: svn path=/head/; revision=44663