summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix possible DMA leak and locking violation especiallyariff2006-02-121-14/+15
| | | | | | | during suspend <-> resume and module load <-> unload. PR: kern/92764 MFC after: 3 days
* Default number of direct access devices had been changed from three to two.marck2006-02-121-6/+6
| | | | | | | | Reflect this in other paragraphs. PR: 93201 Submitted by: Marian Cerny MFC After: 1 week
* Make localpkg print local scripts names when the boot is verbosematteo2006-02-121-0/+3
| | | | | | PR: conf/68525 Approved by: philip (mentor) MFC after: 3 days
* s/Februari/February/.joel2006-02-121-1/+1
|
* Document the two argument form of the "machine" directive.jkoshy2006-02-121-1/+12
| | | | | Reviewed by: imp MFC After: 3 days
* Hook audit into OpenSSH. Now that the necessary bits for OpenSSH supportcsjp2006-02-121-0/+6
| | | | | | | | | | | | | have been added with the latest OpenBSM import, hook USE_BSM_AUDIT into build conditionally. For users which do not care for audit support and do not want to compile it into their SSH servers, add the following to the /etc/make.conf: NO_AUDIT=true Discussed with: rwatson Obtained from: TrustedBSD Project
* Give the asr softc list global a proper name.scottl2006-02-121-5/+5
|
* Add regression test which verifies that options -P and -i cannot be usedpjd2006-02-121-0/+22
| | | | | | together. MFC after: 3 days
* Allow to set kern.geom.raid3.disconnect_on_failure from loader.conf.pjd2006-02-121-0/+2
| | | | MFC after: 3 days
* Add stub AUE_EACCESS entry.rwatson2006-02-111-0/+1
| | | | Obtained from: TrustedBSD Project
* Initialize user process audit ID to AU_DEFAUDITID so that init andrwatson2006-02-111-0/+1
| | | | | | its pre-authentication children are covered by naflags. Obtained from: TrustedBSD Project
* Add a simple manpage.marcel2006-02-112-1/+74
|
* Sort sfbuf allocation counters with other sfbuf information.rwatson2006-02-111-13/+9
| | | | MFC after: 3 days
* Instead of asserting the vnode lock before manipulating v_vflag, acquirerwatson2006-02-111-1/+2
| | | | | | | it and drop it afterwards. Found by: kris MFC after: 1 week
* Don't count output bytes twice (the byte accouting is doneru2006-02-111-7/+4
| | | | | | in if.c). Count output errors. MFC after: 3 days
* Correct the spinlock nesting of the idle thread of the APs before wemarcel2006-02-111-12/+10
| | | | | | | | | | save the MCA state of the AP. Saving the MCA state of the AP requires us to allocate memory, which uses sleep locks. Now that we correct the spinlock nesting of the AP without having schedlock, avoid calling spinlock_exit(). Instead call critical_exit() and manually clear the MD spinlock count. MFC after: 3 days
* Update copyright for 2006.rwatson2006-02-111-1/+1
| | | | MFC after: 3 days
* Skip per-cpu caches associated with absent CPUs when generating arwatson2006-02-111-0/+2
| | | | | | memory statistics record stream via sysctl. MFC after: 3 days
* The uma_zone data structure defines the size of its uz_cpu[] array as 1,rwatson2006-02-111-2/+24
| | | | | | | | | | | | | but then sizes the containing data structure at run-time to make room for per-cpu cache data. Modify libmemstat to separately allocate a buffer to hold per-cpu cache data, sized based on the run-time mp_maxid variable when using libkvm to access UMA data. This avoids reading invalid cache data from beyond the end of the uma_zone data structure on the stack, which can result in invalid statistics and/or reads from invalid kernel addresses. Foot target practice by: ps MFC after: 3 days
* When reporting an error reading from UMA per-cpu cache pointers using KVM,rwatson2006-02-111-4/+2
| | | | | | | | return a KVM error rather than an out of memory error, so that the caller reports the KVM error state. This replaces a misleading error message with a more accurate although equally confusing one. MFC after: 3 days
* Read all_cpus variable out of kmem, and validate CPUs against the all_cpusrwatson2006-02-111-0/+10
| | | | | | | | cpu mask before looking at the cache entries for the CPU. For systems with sparse CPU id arrays, this skips otherwise uninitialized cache structures. MFC after: 3 days
* - Add kern.geom.raid3.disconnect_on_failure sysctl/tunnable (default to 1pjd2006-02-112-31/+76
| | | | | | | | | | | | | | | to preserve currect behaviour). When set to 0, components are not disconnected - graid3 will try to still use them (only first error will be logged). This is helpful when we have two broken components, but in different places, so actually all data is available. Such buggy component will be visible in 'graid3 list' output with flag BROKEN. - Never disconnect the last valid component. If we detect errors there we will just pass them up. This wasn't reasonable to deny access to the whole provider because of one broken sector. Prodded by: ru MFC after: 3 days
* - Add kern.geom.mirror.disconnect_on_failure sysctl/tunnable (default to 1pjd2006-02-112-10/+47
| | | | | | | | | | | | | | | to preserve currect behaviour). When set to 0, components are not disconnected - gmirror will try to still use them (only first error will be logged). This is helpful when we have two broken components, but in different places, so actually all data is available. Such buggy component will be visible in 'gmirror list' output with flag BROKEN. - Never disconnect the last valid component. If we detect errors there we will just pass them up. This wasn't reasonable to deny access to the whole provider because of one broken sector. Prodded by: ru MFC after: 3 days
* Correct typo. 'fbp' is NULL here so this will result in a panic.pjd2006-02-111-1/+1
| | | | MFC after: 3 days
* Un-#if 0 the printing of allocation failure counts for mbufs, clusters,rwatson2006-02-111-2/+0
| | | | | | and packets in netstat -m. MFC after: 3 days
* Correct a typo in the extraction of zone information from UMA using kmem:rwatson2006-02-111-1/+1
| | | | | | bytes = allocated - freed, not bytes = allocated = freed. MFC after: 3 days
* - Grammar fixesmarkus2006-02-111-21/+21
| | | | | | | - Reword one sentence Approved by: brueffer MFC after: 3 days
* Mark array as CLEAN when there are no write requests inpjd2006-02-112-101/+53
| | | | | | | | kern.geom.raid3.idletime seconds. Write, not any requests. Mark array as clean immediatelly on last write close. Prodded by: ru MFC after: 3 days
* Mark array as CLEAN when there are no write requests inpjd2006-02-112-103/+54
| | | | | | | | kern.geom.mirror.idletime seconds. Write, not any requests. Mark array as clean immediatelly on last write close. Prodded by: ru MFC after: 3 days
* Add an example how to use keyfiles for encrypted providers which should bepjd2006-02-111-1/+37
| | | | | | attached before the root file system is mounted. MFC after: 3 days
* Teach geli how to load keyfiles before root file system is mounted.pjd2006-02-111-19/+106
| | | | | | | | | | | | | | | | | | | | | | An example entries for loader.conf to make it possible: geli_da0_keyfile0_load="YES" geli_da0_keyfile0_type="da0:geli_keyfile0" geli_da0_keyfile0_name="/boot/keys/da0.key0" geli_da0_keyfile1_load="YES" geli_da0_keyfile1_type="da0:geli_keyfile1" geli_da0_keyfile1_name="/boot/keys/da0.key1" geli_da0_keyfile2_load="YES" geli_da0_keyfile2_type="da0:geli_keyfile2" geli_da0_keyfile2_name="/boot/keys/da0.key2" geli_da1s3a_keyfile0_load="YES" geli_da1s3a_keyfile0_type="da1s3a:geli_keyfile0" geli_da1s3a_keyfile0_name="/boot/keys/da1s3a.key" Thanks for jhb and kan who showed me the right direction. MFC after: 3 days
* - Allow to use -b without passphrase or with keyfiles as it will bepjd2006-02-111-20/+16
| | | | | | | | | | | | | | supported for a moment. - Don't allow to use -i when no passphrase is given. Now if iterations is equal to -1 (not set), we know that we should not ask for the passphrase on boot. It still doesn't handle situation when one key is protected with passphrase and the other is not. There is no quick fix for this. The complete solution will be to make number of iterations a per-key value. Because this need metadata format change and is only needed for devices attached on boot, I'll leave it as it is for now. MFC after: 3 days
* Check rootvnode variable to see if we still want to ask for passphrase onpjd2006-02-112-29/+3
| | | | | | boot. Other methods just don't work properly. MFC after: 3 days
* CPU time accounting speedup (step 2)phk2006-02-1112-88/+217
| | | | | | | | | | | | | | | | | | | Keep accounting time (in per-cpu) cputicks and the statistics counts in the thread and summarize into struct proc when at context switch. Don't reach across CPUs in calcru(). Add code to calibrate the top speed of cpu_tickrate() for variable cpu_tick hardware (like TSC on power managed machines). Don't enforce monotonicity (at least for now) in calcru. While the calibrated cpu_tickrate ramps up it may not be true. Use 27MHz counter on i386/Geode. Use TSC on amd64 & i386 if present. Use tick counter on sparc64
* Use the correct address for the ohci device.imp2006-02-111-1/+1
|
* Use ETHER_ADDR_LEN rather than 6.imp2006-02-111-1/+1
|
* Improve the memory resoruce allocation and usage during the probe.imp2006-02-111-8/+29
| | | | I've had these improvements in my tree for almost a year now...
* Use the release version as a floor, not an exact match. Add comment to thatimp2006-02-111-1/+4
| | | | | effect and draw attention to the fact that the list has stronger ordering requirements than before.
* Give ohci_intr a proper return value. In FreeBSD, this is void. Removeimp2006-02-113-7/+7
| | | | now-redundant cast on establishing the interrupt.
* Update the keyspan product list from NetBSD.imp2006-02-111-7/+28
|
* Do initial cut of SAS HBA support. These controllers (106X) seem to supportmjacob2006-02-115-223/+587
| | | | | | | | | | | | | | | | automatically both SATA and SAS drives. The async SAS event handling we catch but ignore at present (so automagic attach/detach isn't hooked up yet). Do 64 bit PCI support- we can now work on systems with > 4GB of memory. Do large transfer support- we now can support up to reported chain depth, or the length of our request area. We simply allocate additional request elements when we would run out of room for chain lists. Tested on Ultra320, FC and SAS controllers on AMD64 and i386 platforms. There were no RAID cards available for me to regression test. The error recovery for this driver still is pretty bad.
* This commit was generated by cvs2svn to compensate for changes in r155518,rwatson2006-02-1110-20/+59
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * CVS import OpenBSM 1.0 alpha 4:rwatson2006-02-1110-20/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove "audit" user example from audit_user, as it's not present on most systems. - Add cannot_audit() function non-Darwin systems that wraps auditon(); required by OpenSSH BSM support. Convert Darwin cannot_audit() into a function rather than a macro. - Library build fixed on Darwin following include file tweaks. The native Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so for now we force bsm_wrappers.c to not perform a nested include of sys/audit.h. Obtained from: TrustedBSD Project
* | Add an OpenIPMI mostly compatible driver. This driver was developedambrisko2006-02-107-0/+2396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to work with ipmitools. It works with other tools that have an OpenIPMI driver interface. The port will need to get updated to used this. I have not implemented the IPMB mode yet so ioctl's for that don't really do much otherwise it should work like the OpenIPMI version. The ipmi.h definitions was derived from the ipmitool header file. The bus attachments are done for smbios and pci/smbios. Differences in bus probe order for modules/static are delt with. ACPI attachment should be done. This drivers registers with the watchdod(4) interface Work to do: - BT interface - IPMB mode This has been tested on Dell PE2850, PE2650 & PE850 with i386 & amd64 kernel. I will link this into the build on next week. Tom Rhodes, helped me with the man page. Sponsored by: IronPort Systems Inc. Inspired from: ipmitool & Linux
* | - Fix attribute id of HIDBatteryPowermarkus2006-02-101-5/+5
| | | | | | | | | | | | - Fix two typos in comments Approved by: emax
* | Update for rev 0.9.16.16 hal:sam2006-02-102-29/+291
| | | | | | | | | | | | | | | | | | | | | | | | o add dfs+radar hooks; DFS is presently disabled in the hal o channel and mode handling changes o various api changes o be more aggressive about iq calibration settling so ap mode operation is better immediately after startup o rfkill/rfsilent sysctl support o tpc ack/cts sysctl support MFC after: 2 weeks
* | resolve merge conflictssam2006-02-101-4/+6
| | | | | | | | MFC after: 2 weeks
* | This commit was generated by cvs2svn to compensate for changes in r155511,sam2006-02-1065-69379/+109156
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Version 0.9.16.16:sam2006-02-1066-69383/+109162
| | | | | | | | | | | | | | | | | | | | | | | | | | | o new chip support o new platforms: powerpc-be-elf, sparc64-be-elf, and alpha-elf (alpha is untested, others are known to work) o many fixes and improvements MFC after: 2 weeks
* | | Cleaned the memory initialization up, moved some defines from the framebufferrink2006-02-103-20/+18
| | | | | | | | | | | | | | | | | | | | | to an include file. Reviewed by: imp Approved by: imp (mentor)
OpenPOWER on IntegriCloud