summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly emphasize a facet of m_pullup() that some people seem tojulian2006-12-081-0/+4
| | | | | frequently forget. i.e. that you can not keep using pointers to within the old chain.
* - Added my entry in calendar.freebsdnivit2006-12-081-0/+1
| | | | Approved by: alexbl (mentor)
* Document the following change in behavior:ru2006-12-081-2/+2
| | | | | | : fdisk.c revision 1.74 : date: 2004/06/14 07:21:19; author: phk; state: Exp; lines: +3 -3 : Make fdisk initialize the first instead of the last slice by default.
* Disable IPv6 configuration for interfaces in pccard_ether_start().hrs2006-12-081-8/+1
| | | | | | | | | | | | | | | | | | | After a change of devd.conf, devd(8) handles NIC attach/detach event by using /etc/pccard_ether with the interface name as the argument. This model does not work properly with IPv6 configuration because the implementation of IPv6 stateless auto-configuration in the FreeBSD rc.d scripts depends on whether there are any explicit configurations for interfaces or not. It works this way: if no manual configuration, it will perform auto-configuration, but otherwise no auto-configuration will be performed. So, this behavior can only be determined by all of the interfaces on a system, not a single one. For this reason, the network6_interface_setup() function called from the pccard_ether_start() does not work with a single interface name. And what is worse, this combination of devd.conf and pccard_ether_start() caused a bad side-effect that when ipv6_enable=YES, all of interfaces marked as DOWN would be UP unconditionally (and router solicitation was sent) just after devd(8) was invoked. This should be fixed in a more sophisticated way.
* This commit was generated by cvs2svn to compensate for changes in r165009,harti2006-12-083-49/+100
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch that adds a microsecond timer function.harti2006-12-083-49/+100
| |
* | Fix an oscure bug triggered by a recent change in kern_socket.c.luigi2006-12-081-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The symptoms were that outgoing DHCP requests for diskless kernels had the IP header corrupt. After long investigations, the source of the problem was found in ether_output() - for SIMPLEX interfaces and broadcast traffic, a copy of the packet is passed back to the kernel through if_simloop(). However if_simloop() modifies the mbuf, while the copy obtained through m_copym() is a readonly one. The bug has been there forever, but it has been triggered only recently by a change in sosend_dgram() which passed down mbufs with sufficient space to prepend the header. This fix is trivial - use m_dup() instead of m_copy() to create the copy. As an alternative, we could try and modify if_simloop() to play safely with readonly mbufs, but i don't think it is worthwhile because 1) this is a relatively infrequent code path so we do not need to worry too much about performance, and 2) the cost of doing an extra m_pullup in if_simloop() is probably the same as doing the copy of the cluster, anyways. MFC after: 1 week
* | Remove the requirement that phys_avail be sorted in ascending orderkmacy2006-12-081-2/+10
| | | | | | | | | | | | | | by explicitly finding the lowest and highest addresses when calculating the size of the vm_pages array Reviewed by :alc
* | Style(9) fixes, thanks to Ruslan.kientzle2006-12-082-7/+8
| |
* | The ISO9660 spec does allow files up to 4G. Change the i_sizekientzle2006-12-082-2/+2
| | | | | | | | | | | | | | | | | | | | field to "unsigned long" so that it actually works. Thanks to Robert Sciuk for sending me a DVD that demonstrated ISO9660-formatted media with a file >2G. I've now fixed this both in libarchive and in the cd9660 filesystem. MFC after: 14 days
* | Support the "-f" option by simply ignoring it.kientzle2006-12-082-2/+11
| | | | | | | | | | | | | | | | | | This allows script compatibility with Linux, whose "hostname" is the same as BSD "hostname -s". With this change, "hostname -f" is the same on both systems. MFC after: 7 days
* | Add a link-local address to the lo0 even when ipv6_enable="NO".hrs2006-12-081-0/+5
| | | | | | | | | | | | | | | | A kernel with INET6 always has ::1 on lo0, so in the case of ipv6_enable="NO" the lo0 can have ::1 with no link-local address. This is a violation of the IPv6 specification. As a workaround for this situation, fe80::1 is added in rc.d/auto_linklocal when lo0 has no link-local address. This should not be harmful for IPv4-only users.
* | Minor refactoring; move the FreeBSD-specific config info intokientzle2006-12-082-78/+106
| | | | | | | | | | | | config_freebsd.h. archive_platform.h decides which config file to bring in and uses some of those selectors to define wrapper macros and other compatibility glue.
* | - Revert the parts of the previous revision which reloaded the watchdogmarius2006-12-081-3/+2
| | | | | | | | | | | | | | | | | | | | | | timer in xl_txeof()/xl_txeof_90xB(); xl_poll_locked() unconditionally invokes xl_txeof()/xl_txeof_90xB(), effectively circumventing that the watchdog ever fires in the DEVICE_POLLING case as its timer is constantly reloaded. - Remove the banal and pedantically outdated comment regarding setting xl_wdog_timer to 0 in xl_txeof(). Pointed out by: bde
* | PH! Forgot to do my cross-compile check. Also now rearranged things somjacob2006-12-072-14/+17
| | | | | | | | the ENDIAN defines are consistent between mpt.h and mpt.c.
* | Add support for RSTP (RFC4318) to the SNMP bridge monitoring module.syrinx2006-12-0710-47/+1170
| | | | | | | | Approved by: bz (mentor)
* | MFP4: principally to reapply tagged command support to FC and SAS cards.mjacob2006-12-075-285/+389
| |
* | Fix DESTDIR.hrs2006-12-071-2/+2
| | | | | | | | Spotted by: bmah
* | Fix a build breakage due to undefined DESTDIR.hrs2006-12-072-7/+6
| |
* | Add support for multiple FAST handlers.marcel2006-12-071-165/+98
| | | | | | | | Reviewed & tested by: grehan@
* | Add header files <sys/lock.h> and <sys/mutex.h> for mtx_init() and friends.kevlo2006-12-073-0/+6
| | | | | | | | Approved by: cognet
* | Update the URL for the list of supported products.ru2006-12-071-2/+2
| |
* | Don't try to workaround broken apps (if any). If this still the case,ariff2006-12-071-16/+1
| | | | | | | | lets fix the broken apps instead.
* | Remove comment that is no longer relevant since previousariff2006-12-071-7/+0
| | | | | | | | buffering fix.
* | Regenerate per the instructions.mjacob2006-12-071-515/+1769
| |
* | Pass a char buffer parameter with name "errmsg" to nmount().rodrigc2006-12-071-1/+4
| | | | | | | | | | | | | | For filesystems which use vfs_mount_error() to log an error, this char buffer will be populated with a string error message. If nmount() fails, in addition to printing out strerror(errno), print out the "errmsg" populated by vfs_mount_error().
* | Use vfs_mount_error() to log mount errors in a few places with humanrodrigc2006-12-071-1/+8
| | | | | | | | | | readable strings which can be retrieved if an "errmsg" parameter is passed into nmount().
* | fix CID 1671 by freeing listp before exit from vnex_attachkmacy2006-12-071-1/+2
| |
* | fix CID 1670 by freeing pointer listp before returningkmacy2006-12-071-0/+1
| |
* | fix CID 1672 by initializing variable clockkmacy2006-12-071-1/+1
| |
* | Fix CID 1669 by removing dead sf_buf codekmacy2006-12-071-6/+0
| |
* | Completing the process of UUCP migration to ports.avatar2006-12-071-0/+27
| | | | | | | | MFC after: 1 month
* | Handle a missing NPE firmware file better; if it's missing print asam2006-12-071-3/+12
| | | | | | | | | | | | | | | | | | (somewhat) meaningful message and terminate the build. It'd be nice to print a proper URL from which to fetch the file but that seems problematic. Leave a suggested starting point in this file (TBD: add it to the man page). Submitted by: ru
* | Unbreak build for Skyeye: do not attempt to do any DMA, as Skyeye doesn'tcognet2006-12-071-1/+10
| | | | | | | | | | | | emulate it. Reported by: ru
* | Fix compile with BCE_DEBUG. The last one tripped up gcc 2.95 on 4.x evenjhb2006-12-061-4/+4
| | | | | | | | with BCE_DEBUG turned off.
* | Drop the iwi softc lock when calling back into net80211 on rx. This fixes amlaier2006-12-061-0/+3
| | | | | | | | | | | | | | | | LOR with direct dispatch in the netisr. Reported and tested by: Munehiro Matsuda Submitted by: jhb LOR id: 194
* | New release note: SA-06:25.kmem.bmah2006-12-061-0/+6
| |
* | Allow machdep.cpu_idle_hlt to be set from the loader. This should allowsobomax2006-12-063-0/+3
| | | | | | | | | | | | | | to workaround the problem with SMP kernels on Turion64 X2 processors described in kern/104678 and may be useful in other situations too. MFC after: 3 days
* | Teach release builds and release documentation snapshots that releasebmah2006-12-062-4/+4
| | | | | | | | notes are no longer MD documents.
* | Reorganize the release notes to better support multiple architectures.bmah2006-12-0616-2288/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than rendering a different version of the release notes for every architecture, we now produce a single release notes document that covers all architectures. This change makes document maintenence easier (because there is no longer a need to support each architecture specifically in the src/release/doc/ and www/ build infrastructures). It's also easier to read because there is now exactly one release notes document, and readers can see changes that affected various subsets of architectures. Discussed on: -doc@
* | Ignore any breakpoint instructions (int 3) we encounter in vm86 modejhb2006-12-061-0/+2
| | | | | | | | | | | | | | | | rather than treating them as a fatal exception and halting. At least one storage BIOS (some newer mpt(4) parts) have a breakpoint instruction in their disk read routine. MFC after: 3 days
* | Fix some edge cases in detach() as well as a memory leak if we fail tojhb2006-12-061-2/+8
| | | | | | | | | | | | | | talk to the BMC. Reported by: Alexander Logvinov : ports at logvinov_com MFC after: 1 week
* | o confstr(3) returns 0 on error. Check the return value accordingly.maxim2006-12-061-6/+10
| | | | | | | | | | PR: misc/106414 MFC after: 1 week
* | Correct a signedness bug which allowed members of the operatorcperciva2006-12-061-1/+1
| | | | | | | | | | | | group to read kernel memory. Security: FreeBSD-SA-06:25.kmem
* | Changes to try fix sched_ule.c courtesy of David Xu.julian2006-12-061-12/+13
| |
* | remove already commented out codejulian2006-12-061-33/+0
| |
* | Note the mashing of the proc structure.. recommend recompilingjulian2006-12-061-0/+7
| | | | | | | | kernel modules.
* | Threading cleanup.. part 2 of several.julian2006-12-0640-2910/+944
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make part of John Birrell's KSE patch permanent.. Specifically, remove: Any reference of the ksegrp structure. This feature was never fully utilised and made things overly complicated. All code in the scheduler that tried to make threaded programs fair to unthreaded programs. Libpthread processes will already do this to some extent and libthr processes already disable it. Also: Since this makes such a big change to the scheduler(s), take the opportunity to rename some structures and elements that had to be moved anyhow. This makes the code a lot more readable. The ULE scheduler compiles again but I have no idea if it works. The 4bsd scheduler still reqires a little cleaning and some functions that now do ALMOST nothing will go away, but I thought I'd do that as a separate commit. Tested by David Xu, and Dan Eischen using libthr and libpthread.
* | - Use the xl_stats_update() callout instead of if_slowtimo() formarius2006-12-062-22/+27
| | | | | | | | | | | | | | | | driving xl_watchdog() in order to avoid races accessing if_timer. While at it relax the watchdog a bit by reloading it in xl_txeof()/ xl_txeof_90xB() if there are still packets enqueued. - Use bus_get_dma_tag() so xl(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
* | consolidate parsing of nfs root mount options in one placesam2006-12-064-51/+77
| | | | | | | | | | | | | | and handle all options (some may require fixes elsewhere) Reviewed by: jhb, mohans MFC after: 1 month
OpenPOWER on IntegriCloud