summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prevent the set -e from mk-osreldate.sh from propagating into newvers.sh.nwhitehorn2013-09-281-1/+3
| | | | | | | | | This would cause detection of old versions of SVN to cause fatal errors instead of being caught and handled, which would make the build fail if the tree had been checked out with an older version of SVN (e.g. 1.6). Discussed with: gjb Approved by: re (marius)
* Use the correct EtherType for logging IPv6 packets.philip2013-09-281-2/+9
| | | | | | Reviewed by: melifaro Approved by: re (kib, glebius) MFC after: 3 days
* Add driver for the PAPR VSCSI virtual SCSI controller. This lets FreeBSDnwhitehorn2013-09-283-1/+1035
| | | | | | | | | | | install directly into standard POWER LPARs, as found for example in QEMU. The core of this device is the SCSI RDMA protocol as also found in Infiniband. The SRP portions of the driver will be factored out and placed /sys/cam in the future to allow them to be used for IB storage. Thanks to Scott Long for a great deal of implementation help. Reviewed by: scottl Approved by: re (kib)
* Fix a fallout from r241610. One enc interface must be created on startup.glebius2013-09-281-1/+1
| | | | | | Pointy hat to: glebius Reported by: gavin Approved by: re (gjb)
* Remove ftp5.se.f.o, as per request to -hubs@gavin2013-09-282-2/+0
| | | | | Approved by: re (glebius) MFC after: 3 days
* Fix make depend, apply a bit of style.uqs2013-09-285-16/+16
| | | | | Approved by: re (marius) Reviewed by: grehan
* Fix powerpc/161045. ams_poll() needs to return that any data is available, notjhibbits2013-09-281-1/+2
| | | | | | | | just a new packet. PR: powerpc/161045 Approved by: re(marius) MFC after: 1 week
* Fix Fx syntax.sjg2013-09-271-1/+1
| | | | | PR: 182269 Approved by: re@
* Make sure the CCB xflags field is initialized to zero so thatnwhitehorn2013-09-272-0/+5
| | | | | | | | | CAM_EXTLUN_VALID is not erroneously set. Also add an XPORT_SRP identifier to the known SCSI transports for the SCSI RDMA protocol, as used, for example with Infiniband storage. Reviewed by: scottl Approved by: re (marius)
* Remove duplicate entry for the host(1) man page.des2013-09-271-1/+0
| | | | Approved by: re (blanket)
* sys/x86/xen/hvm.c:gibbs2013-09-271-2/+3
| | | | | | | | | | | | | Set cpu_ops correctly for Xen hypervisors lacking the vector callback feature. Set preliminary Xen cpu_ops settings during early HVM initialization. The old location raced with the startup of APs. Submitted by: Roger Pau Monné Reviewed by: gibbs Approved by: re (blanket Xen)
* Return 0 for a rdmsr of MSR_IA32_PLATFORM_ID. Thisgrehan2013-09-271-1/+5
| | | | | | is enough to get Ubuntu 12.0.4/13.0.4 to boot. Approved by: re@ (blanket)
* Rework handling of ofw_quiesce(), making it the responsibility of thenwhitehorn2013-09-274-29/+41
| | | | | | | | | | platform modules. Whether to call this function or not is highly machine dependent: on some systems, it is required, while on others it breaks everything. Platform modules are in a better position to figure this out. This is required for POWER hypervisor SCSI to work correctly. There are no functional changes on Powermac systems. Approved by: re (kib)
* Make sure that ref and changed bits propagate back to the VM layernwhitehorn2013-09-271-6/+13
| | | | | | | whenever pages are unmapped. The old code had several races that could allow these to become stale. Approved by: re (kib)
* - Remove the is (Iceland) mirror per mail from the admins.brd2013-09-272-2/+0
| | | | | Approved by: re With hat: clusteradm@
* Allow Open Firmware syscons to attach to devices without an "address"nwhitehorn2013-09-263-30/+74
| | | | | | | | | | property such as those found on some real and emulated IBM systems. The approach, which is taken from Linux, is to scan through the PCI bars until we find one large enough to contain the linear framebuffer and which is ideally prefetchable if no "address" property can be found. This makes the graphical console work with the pSeries target in QEMU. Approved by: re (delphij)
* As idling the CPU no longer causes hangs on QEMU, reenable the pSeriesnwhitehorn2013-09-261-2/+0
| | | | | | cpu_idle() routine. Approved by: re (delphij)
* Fix bug where UART unit number was not set properly, which preventednwhitehorn2013-09-261-4/+1
| | | | | | | | operation on systems with multiple serial ports. Also turn on interrupts for the UART device, which were disabled due to a now-fixed bug in QEMU. Approved by: re (gjb)
* Improve bsdpatch usability:delphij2013-09-262-5/+8
| | | | | | | | | | - Ask only once for "Apply anyway". [1] - Tell user what file have failed patch rather than just how many hunks failed. Reported by: jmg via pfg [1] Tested by: pfg [1] Approved by: re (gjb)
* Temporarily disable iconv for non-shared library builds. The dynamicdelphij2013-09-261-1/+3
| | | | | | loading of conversation table is not yet compatible with static builds. Approved by: re (gjb)
* it must be the last member, not might...jmg2013-09-261-1/+1
| | | | | Reviewed by: attilio Approved by: re (delphij, gjb)
* Import NetBSD readline.c,v 1.104: do not crash with add_history(NULL).delphij2013-09-261-0/+3
| | | | | MFC after: 3 days Approved by: re (gjb)
* Fix incorrect assertion on the minimum side. ZFS wouldgrehan2013-09-261-1/+1
| | | | | | | trigger this. Reported by: Chris Torek, Allan Jude Approved by: re@ (blanket)
* Eliminate the declaration for a method that is no longer used. (Thisalc2013-09-261-11/+0
| | | | | | | change should have been a part of r255724.) Reminded by: nathan Approved by: re (gjb)
* Do not allow negative timeouts for kqueue timers, check for thekib2013-09-261-2/+10
| | | | | | | | | | | | | negative timeout both before and after the conversion to sbintime_t. For periodic kqueue timer, convert zero timeout into 1ms, to avoid interrupt storm on fast event timers. Reported and tested by: pho Discussed with: mav Reviewed by: davide Sponsored by: The FreeBSD Foundation Approved by: re (marius)
* Acquire a hold reference on the vnode when a knote is instantiated.kib2013-09-261-0/+2
| | | | | | | | | | | | Otherwise, knote keeps a pointer to a vnode which could become invalid any time. Reported by: many Tested by: Patrick Lamaiziere <patfbsd@davenulle.org> Discussed with: jmg Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (marius)
* Now that the portsnap buildbox is generating the raw bits for INDEX-10,cperciva2013-09-261-0/+1
| | | | | | | add it to the set of INDEX files built by portsnap. Approved by: re (marius), portmgr (erwin) MFC after: 3 days
* Make the callout arithmetic more robust adding checks for overflow.davide2013-09-261-1/+6
| | | | | | | | | | | | | | | | Without these, if the timeout value passed is "large enough", the value of the sum of it and other factors (e.g. current time as returned by sbinuptime() or 'precision' argument) might result in a negative number. This negative number is then passed to eventtimers(4), which causes et_start() routine to load et_min_period into eventtimer, making the CPU where the thread is stuck forever in timer interrupt handler routine. This is now avoided rounding to INT64_MAX the timeout period in case of overflow. Reported by: kib, pho Discussed with: kib, mav Tested by: pho (stress2 suite, kevent7.sh scenario) Approved by: re (kib)
* Add an elf note on ARM to store the MACHINE_ARCH an executable was builtandrew2013-09-264-0/+18
| | | | | | | | | | for. This is useful for software needing to know which architecture a binary is built for as arm and armv6 have slight differences meaning only some binaries build for one will work as expected on the other. It is expected pkgng will be able to make use of this to simplify the logic to determine which package ABI to use. Approved by: re (kib)
* Correct a NULL pointer deference in nslookup and nsupdate that woulddelphij2013-09-252-2/+4
| | | | | | | | cause the utility to crash in interactive mode when the user gives an EOF on standard input. MFC after: 3 days Approved by: re (gjb)
* Additional BIND files.des2013-09-251-0/+28
| | | | | Submitted by: bdrewery Approved by: re (blanket)
* Re-do r255853. Along with adding back the API/ABI changes from thescottl2013-09-2516-30/+59
| | | | | | | | original, this hides the contents of cam_compat.h from ktrace/kdump/truss, avoiding problems there. There are no user-servicable parts in there, so no need for those tools to be groping around in there. Approved by: re
* Re-do r255853. Along with adding back the API/ABI changes from thescottl2013-09-256-90/+399
| | | | | | | | original, this hides the contents of cam_compat.h from ktrace/kdump/truss, avoiding problems there. There are no user-servicable parts in there, so no need for those tools to be groping around in there. Approved by: re
* Add PCI device ID for MegaRAID Invader cards. This was the onlyambrisko2013-09-251-0/+1
| | | | | | change needed to make it work on my card. Approved by: re (glebius)
* Avoid memory accesses reordering which can result in fget_unlocked()attilio2013-09-251-2/+14
| | | | | | | | | | seeing a stale fd_ofiles table once fd_nfiles is already updated, resulting in OOB accesses. Approved by: re (kib) Sponsored by: EMC / Isilon storage division Reported and tested by: pho Reviewed by: benno
* NULL stale pointers (should be a no-op as they should no longer bejmg2013-09-251-0/+5
| | | | | | | | | used)... Reviewed by: dteske Approved by: re (kib) Sponsored by: Vicor MFC after: 3 days
* fix a bug where we access a bread buffer after we have brelse'd it...jmg2013-09-251-5/+5
| | | | | | | | | | | The kernel normally didn't unmap/context switch away before we accessed the buffer most of the time, but under heavy I/O pressure and lots of mount/unmounting this would cause a fault on nofault panic... Reviewed by: dteske Approved by: re (kib) Sponsored by: Vicor MFC after: 3 days
* Revert r255853 pending fixes to build errors in usr.bin/kdumpgjb2013-09-2522-451/+119
| | | | Approved by: re (implicit)
* Minor mdoc fixes.joel2013-09-241-31/+62
| | | | Approved by: re (blanket)
* Introduce a kern.geom.notaste sysctl that can be used to temporarilydes2013-09-243-1/+8
| | | | | | | | | | disable GEOM tasting to avoid the "bouncing GEOM" problem where, when you shut down the consumer of a provider which can be viewed in multiple ways (typically a mirror whose members are labeled partitions), GEOM will immediately taste that provider's alter ego and reattach the consumer. Approved by: re (glebius)
* Don't parse NO_ROOT metadata for extra kernels if NO_ROOT isn't defined.jhb2013-09-241-0/+2
| | | | | Approved by: re (gjb) MFC after: 1 week
* As it turns out, when MOD_LOAD handler returns error, kernel calls MOD_UNLOADtrasz2013-09-241-11/+7
| | | | | | | handler. Make the new iSCSI initiator not panic when this happens. Approved by: re (glebius) Sponsored by: FreeBSD Foundation
* Improve error handling in the old initiator, preventing panic on attempttrasz2013-09-241-9/+14
| | | | | | | to load iscsi_initiator.ko when iscsi.ko is already loaded. Approved by: re (glebius) Sponsored by: FreeBSD Foundation
* Update head/ to -ALPHA3.gjb2013-09-241-1/+1
| | | | | | | | This commit marks the point the final KBI change was made as part of the 10.0-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Update the CAM API for FreeBSD 10:scottl2013-09-2422-119/+451
| | | | | | | | | | | | | | | | | | | | | | - Remove the timeout_ch field. It's been deprecated since FreeBSD 7.0; MPSAFE drivers should be managing their own timeout storage. The remaining non-MPSAFE drivers have been modified to also manage their own storage, and should be considered for updating to MPSAFE (or removal) during the FreeBSD 10.x lifecycle. - Add fields related to soft timeouts and quality of service, to be used in upcoming work. - Add room for more flags in the CCB header and path_inq structures. - Begin support for extended 64-bit LUNs. - Bump the CAM version number to 0x18, but add compat shims. Tested with camcontrol and smartctl. Reviewed by: nathanw, ken, kib Approved by: re Obtained from: Netflix
* Update dialog to 1.2-20130923.dteske2013-09-2434-1939/+4819
| | | | Approved by: re (marius)
* Regenerate.des2013-09-241-76/+25
| | | | Approved by: re (blanket)
* Flip the switch: disable BIND and enable LDNS_UTILS.des2013-09-245-9/+9
| | | | Approved by: re (blanket)
* In pmap_clear_modify(), initialize pvh even for fictitious managedkib2013-09-241-1/+1
| | | | | | | | | page, otherwise the small mappings loop would use uninitialized value. Note that currently pmap_clear_modify() is not called for fictitious pages. Sponsored by: The FreeBSD Foundation Approved by: re (glebius)
* Properly ignore PDUs with CmdSN outside of allowed range.trasz2013-09-241-17/+18
| | | | | Approved by: re (glebius) Sponsored by: FreeBSD Foundation
OpenPOWER on IntegriCloud