summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Turn on logging for tftpd.des2004-03-111-2/+2
|
* Don't run fsck if there's no /etc/fstab.kientzle2004-03-111-0/+2
| | | | | | | In particular, this allows a "virgin" system installed from source (installworld, installkernel, cd etc && make distribution) to boot correctly and modestly simplifies the creation of single-partition network/cdrom/CF bootable images.
* Add reference to the g_access(9) manual page.pjd2004-03-119-0/+9
|
* Connect g_access(9) to the build.pjd2004-03-111-0/+1
|
* Add manual page for g_access(9) GEOM function.pjd2004-03-111-0/+154
|
* When I was a kid my work table was one cluttered mess an cleaning it upphk2004-03-115-24/+47
| | | | | | | | | | | | | were a rather overwhelming task. I soon learned that if you don't know where you're going to store something, at least try to pile it next to something slightly related in the hope that a pattern emerges. Apply the same principle to the ffs/snapshot/softupdates code which have leaked into specfs: Add yet a buf-quasi-method and call it from the only two places I can see it can make a difference and implement the magic in ffs_softdep.c where it belongs. It's not pretty, but at least it's one less layer violated.
* Remove unused variables.jhb2004-03-114-8/+1
|
* - Use variable names instead of numbers for the script arguments tosimon2004-03-111-18/+29
| | | | | | | | | improve readability. - Use mktemp to create the temporary files and directory. - Mount temporary md(4) backed file system on a temporary directory, instead of /mnt. Approved by: phk
* This commit was generated by cvs2svn to compensate for changes in r126854,des2004-03-111-18/+25
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * MFP4 (#47094): avoid bogus NULL pointer warnings when building with -DDEBUG.des2004-03-111-18/+25
| |
* | Properly vector all bwrite() and BUF_WRITE() calls through the same pathphk2004-03-1112-48/+56
| | | | | | | | and s/BUF_WRITE()/bwrite()/ since it now does the same as bwrite().
* | Remove unused mnt_reservedvnlist field.phk2004-03-114-10/+0
| |
* | Remove unused second arg to vfinddev().phk2004-03-118-18/+25
| | | | | | | | Don't call addaliasu() on VBLK nodes.
* | Properly count references of our dev_t to avoid triggering a KASSERT inle2004-03-112-0/+4
| | | | | | | | | | | | | | dev_strategy(). Submitted by: dwmalone Approved by: grog (mentor)
* | Correctly account for extra bits in unit numbers when looking forphk2004-03-111-3/+3
| | | | | | | | next free unit.
* | Add yet another VIA pci id.sos2004-03-112-2/+4
| |
* | Stop setting ifp->if_output to ether_output() since ether_ifattach()mux2004-03-1117-17/+0
| | | | | | | | does it for us already.
* | Don't implement anything in the ffs family in <machine/cpufunc.h>bde2004-03-112-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the non-_KERNEL case. This "fixes" applications that include this "kernel-only" header and also include <strings.h> (or get <strings.h> via the default _BSD_VISIBLE pollution in <string.h>. In C++ there was a fatal error: the declaration specifies C linkage but the implementation gives C++ linkage. In C there was only a static/extern mismatch if the headers were included in a certain order order, and a partially redundant declaration for all include orders; gcc emits incomplete or wrong diagnostics for these, but only for compiling with -Wsystem-headers and certain other warning options, so the problem was usually not seen for C. Ports breakage reported by: kris
* | Add clone_setup() function rather than rely on lazy initialization.phk2004-03-117-9/+19
| | | | | | | | Requested by: rwatson
* | Fixed assorted misuses of NULL in integer context.bde2004-03-1112-16/+16
| |
* | Fixed mispellings of '\0' as NULL.bde2004-03-112-4/+4
| |
* | Fixed a misspelling of 0 as NULL.bde2004-03-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a nearby bug. The "play it safe" code in dosysctl() was unsafe because it overran the buffer by 1 if sysctl() filled all of the buffer. Fixed a nearby style bug in output. Not just 1, but 2 extra newlines were printed at the end by "vmstat -m" and "vmstat -z". Don't print any newlines explicitly. This depends on 2 of the many formatting bugs in the corresponding sysctls. First, the sysctls return an extra newline at the end of the strings. This also messes up output from sysctl(8). Second, the sysctls return an extra newline at the beginning of the strings. This is good for separating the 2 tables output by "vmstat -mz" and for starting the header on a new line in plain sysctl output, but gives a bogus extra newline at the beginning for "vm -[m | z]" and "sysctl -n [kern.malloc | vm.zone]". Fixed some nearby style bugs in the source code: - the same line that misspelled 0 as NULL also spelled NULL as 0. - the size was doubled twice in the realloc loop. - the "play it safe" comment was misleading. Terminating the buffer is bogus because dosysctl() is only meant to work with sysctls that return strings and the terminator is part of a string. However, the kern.malloc sysctl has more than style bugs. It also doesn't return a string. Termination is needed to work around this bug.
* | Replace <iostream.h> with <iostream> to remove annoying warningjosef2004-03-111-13/+13
| | | | | | | | | | | | | | | | | | of using deprecated header. Approved by: dwhite, simon(mentor) Reviewed by: mlaier Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> PR: bin/63781
* | Fixed a misspelling of '\0' as NULL.bde2004-03-111-1/+1
| |
* | Fixed misspellings of 0 as NULL.bde2004-03-111-3/+3
| |
* | Fixed misspellings of '\0' as NULL.bde2004-03-111-4/+4
| |
* | Fixed a misspelling of 0 as NULL.bde2004-03-112-2/+2
| |
* | Fixed misspellings of 0 as NULL.bde2004-03-111-2/+2
| |
* | Fixed misspellings of 0 as NULL.bde2004-03-111-3/+2
| |
* | Fix mind-o: sanity check in ndis_disable_ndis() is not sane.wpaul2004-03-111-1/+1
| |
* | Fix the problem with the Cisco Aironet 340 PCMCIA card. Most newer driverswpaul2004-03-112-0/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for Windows are deserialized miniports. Such drivers maintain their own queues and do their own locking. This particular driver is not deserialized though, and we need special support to handle it correctly. Typically, in the ndis_rxeof() handler, we pass all incoming packets directly to (*ifp->if_input)(). This in turn may cause another thread to run and preempt us, and the packet may actually be processed and then released before we even exit the ndis_rxeof() routine. The problem with this is that releasing a packet calls the ndis_return_packet() function, which hands the packet and its buffers back to the driver. Calling ndis_return_packet() before ndis_rxeof() returns will screw up the driver's internal queues since, not being deserialized, it does no locking. To avoid this problem, if we detect a serialized driver (by checking the attribute flags passed to NdisSetAttributesEx(), we use an alternate ndis_rxeof() handler, ndis_rxeof_serial(), which puts the call to (*ifp->if_input)() on the NDIS SWI work queue. This guarantees the packet won't be processed until after ndis_rxeof_serial() returns. Note that another approach is to always copy the packet data into another mbuf and just let the driver retain ownership of the ndis_packet structure (ndis_return_packet() never needs to be called in this case). I'm not sure which method is faster.
* | Be more insistent on destroying geoms at unload time. Still not perfect,phk2004-03-111-2/+8
| | | | | | | | | | | | | | | | but it will do (better) for now. KASSERT that to have providers a class must have an access method. Tag the new_provider event with the geom as well.
* | Add a newsyslog.conf manual page. This follows suit with the other utilitiestrhodes2004-03-112-0/+371
| | | | | | | | | | | | | | | | | | which have configuration files. This is just a cut-paste from newsyslog.8 with the following changes: o Kill hard sentence breaks. o Markup fixes. o Wordsmithing.
* | Remove information about the configuration file.trhodes2004-03-111-308/+3
| | | | | | | | Add an Xref to newsyslog.conf.5 and bzip2.1.
* | Back out id -g checks as they are wrong (sendmail group untouched).mlaier2004-03-111-8/+0
| | | | | | | | | | Requested by: dwhite Approve by: dwhite
* | Remove stale or broken call to kdb_trap() and protected by the non-marcel2004-03-112-8/+0
| | | | | | | | | | option KDB. Besides being wrong, it also interferes with ongoing work.
* | Give xterm-basic the le entry. bs should be avoided.schweikh2004-03-101-1/+1
| | | | | | | | | | | | | | | | This is a prerequisite to fix PR: bin/48679 Discussed with: Thomas Dickey (xterm termcap maintainer) MFC after: 2 weeks
* | A manpage for ng_eiface(4).ru2004-03-102-0/+124
| | | | | | | | Submitted by: Gleb Smirnoff
* | Identify the Deerfield processor. Deerfield is a low-voltage variantmarcel2004-03-101-12/+25
| | | | | | | | | | | | | | | | | | | | based on the Madison core and targeting the low end of the spectrum. Its clock frequency is 1Ghz, whereas Madison starts at 1.3Ghz. Since the CPUID information is the same for Madison and Deerfield, we use the clock frequency to identify the processor. Supposedly the Deerfield only uses 62W, which seems to be less than modern Xeon processors (about 70W) and about half what a Madison would need.
* | Reworked the fix to print the useful line number on error inru2004-03-103-89/+79
| | | | | | | | | | | | | | | | | | | | | | the .for loop: - Replaced four global variables in parse.c with one. - Made Parse_FromString() accept the "lineno" as an argument. - Fixed line numbering when there are escaped newlines in the body of the .for loop. Adopted from: NetBSD
* | Don't call devsw() more than we need to, and in particular do not exposephk2004-03-101-4/+4
| | | | | | | | | | | | ourselves to device removal by not checking for it the second time. Use count_dev(dev) rather than vcount(vp)
* | Make the extern for adv_mcode match the reality: it's u_int8_t, butphk2004-03-101-1/+1
| | | | | | | | probably unendiansafely used as u_int16_t.
* | Fix a long-standing deadlock issue with vnode backed md(4) devices:phk2004-03-104-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On vnode backed md(4) devices over a certain, currently undetermined size relative to the buffer cache our "lemming-syncer" can provoke a buffer starvation which puts the md thread to sleep on wdrain. This generally tends to grind the entire system to a stop because the event that is supposed to wake up the thread will not happen until a fair bit of the piled up I/O requests in the system finish, and since a lot of those are on a md(4) vnode backed device which is currently waiting on wdrain until a fair amount of the piled up ... you get the picture. The cure is to issue all VOP_WRITES on the vnode backing the device with IO_SYNC. In addition to more closely emulating a real disk device with a non-lying write-cache, this makes the writes exempt from rate-limited (there to avoid starving the buffer cache) and consequently prevents the deadlock. Unfortunately performance takes a hit. Add "async" option to give people who know what they are doing the old behaviour.
* | Add an option to write collected data to file in binary format. Thisphk2004-03-101-1/+18
| | | | | | | | is very useful for collecting test-data for trial runs.
* | Undo the previous commit, which was just plain wrong, and then correctlygad2004-03-101-2/+2
| | | | | | | | | | | | | | increase _FreeBSD_version to reflect the 64-bTT change on sparc64. Noticed by: kris Pointy hat to: gad
* | Increase __FreeBSD_version to reflect the transition from 32-bit togad2004-03-101-1/+1
| | | | | | | | 64-bit time_t on the FreeBSD/sparc64 architecture.
* | Change time_t from a 32-bit value to a 64-bit value, on FreeBSD/sparc64gad2004-03-103-32/+39
| | | | | | | | | | | | | | only. This is a MAJOR incompatible change for the sparc64 platform, but will not effect FreeBSD on other architectures. Reviewed by: imp for UPDATING, freebsd-sparc for the change itself.
* | Eliminate multiple __FBSDID and sys/cdefs.h.bms2004-03-107-15/+0
| |
* | Add installcheck for proxy:proxy and authpf.mlaier2004-03-101-0/+14
| | | | | | | | | | Suggested by: ru Approved by: bms(mentor)
* | - Document cv_broadcastpri().jhb2004-03-102-17/+13
| | | | | | | | - Remove references to cv_waitq_*() as they no longer exist.
OpenPOWER on IntegriCloud