summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert nd6.c revs. 1.67, 1.68, 1.69, 1.70 in an attempt to unbreakbmah2007-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | IPv6 over point-to-point gif(4) tunnels. These revisions caused a host route to the destination of a point-to-point gif(4) interface to not get installed when the interface and destination addresses were assigned. This caused "no route to host" errors when trying to send traffic over the interface. The first packet arriving inbound over the tunnel, however, would cause the correct route to get installed, allowing subsequent outbound traffic to be routed correctly. gif(4) interfaces with prefix lengths of less than 128 bits (i.e. no explicit destination address assigned) were not affected by this bug. This bug fix is a possible candidate for a 6.2-RELEASE errata note. Approved by: jhay (original committer) Discussed with: jhay, JINMEI Tatuya MFC after: 3 days
* Fix forever broken ua_chan_setblocksize() uninitialized return valueariff2007-01-261-7/+13
| | | | which causing divide by zero panic in other places (notably chn_sync()).
* Sync uaudio_sndstat_prepare_pcm() output with sndstat_prepare_pcm() to getariff2007-01-261-4/+12
| | | | simmilar (debugging) output.
* Add missing MIIBUS_MEDIAINIT() call.dwhite2007-01-261-0/+1
|
* Collapse 5706C and 5708C PHYs into one entry. ID 0x15 is actually used fordwhite2007-01-262-3/+1
| | | | the SERDES PHY on these chips and we want gentbi to pick this up, not brgphy.
* Add support for SERDES PHY configurations. These are commonly found indwhite2007-01-261-43/+13
| | | | | | | blade systems, such as the Dell 1955 and the Intel SBXD132. Development hardware for this work was provided by Broadcom and iXsystems. A SBXD132 blade for testing was provided by Iron Systems.
* While we do not expect any change before and after GNU gzipdelphij2007-01-261-1/+1
| | | | | | | | is replaced with BSD gzip, let's make it possible to distinguish between the two with a __FreeBSDversion bump, just in case some developers want it. Suggested by: linimon
* If nmount() fails to export a directory, in the syslog() error message,rodrigc2007-01-261-2/+4
| | | | add the errmsg string returned by nmount().
* Regen.delphij2007-01-261-1/+17
|
* Replace the GNU gzip with a slightly modified NetBSD gzip. Thedelphij2007-01-2623-3/+3997
| | | | | | | | | | | | | | | | | | | | | NetBSD version is a feature-to-feature re-implementation of GNU gzip using the freely-redistributable zlib and this version is expected to be mostly bug-to-bug compatible with the GNU implementation. - Because this is a piece of mature code and we want to make changes so it is added directly rather than importing to src/contrib. - Connect newly added code to src/usr.bin/ and rescue/rescue build. - Disconnect the GNU gzip code from build for now, they will be eventually removed completely. - Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and WITHOUT_BZIP2. Tested by: kris (full exp-7 pointyhat build) Approved by: core (importing a 4-clause BSD licensed file) Approved by: re (adding new utility during -HEAD code slush)
* o Remove screen, created by the unnecessary ofw_console(4)marcel2007-01-261-10/+4
| | | | | | | | o Remove ttyyX, created by the obsolete zs(4) o Replace ttydX by ttyuX, which is created by uart(4) o Enable ttyu0 as a console to better support the xserve. MFC after: 1 week
* Remove stale header.marcel2007-01-261-7/+0
| | | | MFC after: 3 days
* Fix comments.kevlo2007-01-261-2/+2
| | | | Approved by: cognet
* - Implement much more intelligent ipi sending. This algorithm tries tojeff2007-01-251-11/+23
| | | | | | | | | minimize IPIs and rescheduling when scheduling like tasks while keeping latency low for important threads. 1) An idle thread is running. 2) The current thread is worse than realtime and the new thread is better than realtime. Realtime to realtime doesn't preempt. 3) The new thread's priority is less than the threshold.
* List obsolete objformat files and man pages. This may have to bepeter2007-01-251-0/+5
| | | | revisited if too much stuff breaks.
* Bah. Kris says the default-to-a.out knowledge has migrated into thepeter2007-01-252-0/+33
| | | | | | | | official gnu configure scripts and a couple of other places. Add an example noisy, loud and annoying placeholder for /usr/bin/objformat if it turns out to too much trouble to be gone. It is not connected to the build yet.
* Remove unused reference to objformat.hpeter2007-01-251-1/+0
|
* Oops, remove an objformat.h reference.peter2007-01-251-1/+1
|
* Remove getobjformat() from libc's symbol map. It probably should have beenpeter2007-01-251-1/+0
| | | | in the private area anyway. Nothing in FreeBSD uses it any more anyway.
* Remove more a.out strays, as threatened in 2002.peter2007-01-251-39/+0
|
* Retire objformat(1) as threatened in 2002.peter2007-01-254-107/+0
| | | | Laughed-at-by: kris
* Retire more remnants of a.out support, as threatened in 2002.peter2007-01-253-182/+2
| | | | Laughed-at-by: kris
* - Create ng_ppp_bypass() function, that prepares a packetglebius2007-01-251-30/+66
| | | | | | | | | | | | | | with bypass header, to send it out to userland. - Use ng_ppp_bypass() in ng_ppp_proto_recv(). - Use ng_ppp_bypass() in ng_ppp_comp_recv() and in ng_ppp_crypt_recv() if compression or encryption is disabled, respectively. - Any LCP packet goes directly to ng_ppp_bypass(), instead of passing through PPP stack. - Any non-LCP packet on disabled link is discarded. This is behavior defined in RFC. Submitted by: Alexander Motin <mav alkar.net>
* Add "server mode" to rfcomm_sppd(1).emax2007-01-252-40/+153
| | | | | Submitted by: Dave Eckhardt, bms Tested by: Dave Eckhardt, Eric Anderson, bms
* MFp4: - When new object is created, it's group ID can be set to process'pjd2007-01-253-7/+39
| | | | | | effective group ID or to group ID of its parent directory. - Add some comments from POSIX. - Verify that after successful O_TRUNC open, size is equal to 0.
* MFp4: When user is not a member of the group which owns a file, even ifpjd2007-01-251-2/+2
| | | | | | he is the file's owner, he can't set set-gid bit. POSIX requires to return 0 and clear the bit, but FreeBSD returns EPERM for UFS in such case. For now do the same in ZFS.
* Bump .Dd.mpp2007-01-251-1/+1
|
* - Get rid of the unused DIDRUN flag. This was really only present tojeff2007-01-251-21/+28
| | | | | | | | | | | | support sched_4bsd. - Rename the KTR level for non schedgraph parsed events. They take event space from things we'd like to graph. - Reset our slice value after we sleep. The slice is simply there to prevent starvation among equal priorities. A thread which had almost exhausted it's slice and then slept doesn't need to be rescheduled a tick after it wakes up. - Set the maximum slice value to a more conservative 100ms now that it is more accurately enforced.
* Make it possible that carpdetach() unlocks on return. Then, inglebius2007-01-251-8/+7
| | | | | | | carp_clone_destroy() we are on a safe side, we don't need to unlock the cif, that can me already non-existent at this point. Reported by: Anton Yuzhaninov <citrin rambler-co.ru>
* Whoops- #ifdef problem caused uninitialized transport. Not horriblymjacob2007-01-251-1/+1
| | | | a problem, but caused annoying messages.
* Spacing.glebius2007-01-251-5/+5
|
* The TCP checksum offload handling in the 8111B/8168B and 8101E PCIe canwpaul2007-01-251-1/+6
| | | | | | | | | | | | | | | apparently be confused by short TCP segments that have been manually padded to the minimum ethernet frame size. The driver does short frame padding in software as a workaround for a bug in the 8169 PCI devices that causes short IP fragments to be corrupted due to an apparent conflict between the hardware autopadding and hardware IP checksumming. To fix this, we avoid software padding for short TCP segments, since the hardware seems to autopad and checksum these correctly (even the older 8169 NICs get these right). Short UDP packets appear to be handled correctly in all cases. This should work around the IP header checksum bug in the 8169 while not tripping the TCP checksum bug in the 8111B/8168B and 8101E.
* Rename some functions and variables from nfs_* to nfs4_* to avoidbde2007-01-251-13/+13
| | | | | | | | | | | | | collisions with nfsclient's names. Even static names should have a unique prefix so that they can be debugged easily. Hide the unused colliding variable nfsv3_commit_on_close in "#if 0" together with other unused sysctl variables. Duplicating the nfs sysctl under nfs4 is probably just a bug. Fix some nearby style bugs. Remove duplicate $FreeBSD$.
* Rename some functions and variables (mainly vfsops entry points) frombde2007-01-251-37/+32
| | | | | | | | | | | | | | | nfs_* to nfs4_* to avoid collisions with nfsclient's names. Even static names should have a unique prefix so that they can be debugged easily. Most of the renamed functions can probably be shared. nfs4_cmount() and nfs4_sync() are identical to the nfs_* versions, and all the others except nfs4_vfsops() seem to be idendentical except for style bugs, missing support for mountroot, and bugs. Fix some nearby style bugs. Remove duplicate $FreeBSD$.
* Unstaticize nfs_iosize() in nfsclient and use it in nfs4client insteadbde2007-01-253-25/+7
| | | | | | | | | | | of duplicating it except for larger style bugs in the copy. Fix some nearby style bugs (including a harmless type mismatch) in and near the remaining copy. This is part of fixing collisions of the 2 nfs*client's names. Even static names should have a unique prefixes so that they can be debugged easily.
* Add a BUGS section that shows that ids that appear to bempp2007-01-251-0/+12
| | | | | | | | negative are now ignored by the quota system and that extremely large ids may make quotacheck run for a very long time. Also mention that "options QUOTA" is required for the kernel to provide quota support.
* When the following conditions are meet:pjd2007-01-251-1/+13
| | | | | | | | | | | | | | | | - First configured key is based only on keyfile (no passphrase). - Device is attached. - User changes first key (setkey) from keyfile to passphrase and doesn't specify number of iterations (with -i option). ...geli(8) won't store calculated number of iterations in metadata. This result in device beeing unaccesable after detach. One can recover from this situation by guessing number of iterations generated, storing it in metadata and trying to attach device. Recovery procedure isn't nice, but one's data is not lost. Reported by: Thomas Nickl <T.Nickl@gmx.net> MFC after: 1 week
* Implement gctl_change_param() function, which changes value of existingpjd2007-01-252-0/+28
| | | | | | parameter. MFC after: 1 week
* Try to avoid a possible infinite loop when parsing an invalid kernel dump file.rodrigc2007-01-251-2/+7
| | | | | | | PR: 108229 Submitted by: Jessica Han <jessicah juniper net> Reviewed by: marcel MFC after: 1 week
* Fix for problems that occur when all mbuf clusters migrate to the mbuf packetmohans2007-01-254-2/+26
| | | | | | | | | zone. Cluster allocations fail when this happens. Also processes that may have blocked on cluster allocations will never be woken up. Thanks to rwatson for an overview of the issue and pointers to the mbuma paper and his tool to dump out UMA zones. Reviewed by: andre@
* Display the name of the quota data file in verbose mode.mpp2007-01-241-2/+2
|
* Fix for a bug where only one process (of multiple) blocked onmohans2007-01-241-2/+7
| | | | | | | | | | maxpages on a zone is woken up, with the rest never being woken up as a result of the ZFLAG_FULL flag being cleared. Wakeup all such blocked procsses instead. This change introduces a thundering herd, but since this should be relatively infrequent, optimizing this (by introducing a count of blocked processes, for example) may be premature. Reviewd by: ups@
* Update birth entry for Warren Zevon with his birthplace, and add andougb2007-01-241-1/+2
| | | | entry for his death. Both per Wikipedia.
* - Add a horrible bit of code to detect tsc differences between processors.jeff2007-01-241-28/+112
| | | | | | | | | | | | | | | | | | | This only works if there is no significant drift and all processors are running at the same frequency. Fortunately, schedgraph traces on MP machines tend to cover less than a second so drift shouldn't be an issue. - KTRFile::synchstamp() iterates once over the whole list to determine the lowest tsc value and syncs adjusts all other values to match. We assume that the first tick recorded on all cpus happened at the same instant to start with. - KTRFile::monostamp() iterates again over the whole file and checks for a cpu agnostic monotonically increasing clock. If the time ever goes backwards the cpu responsible is adjusted further to fit. This will make the possible incorrect delta between cpus as small as the shortest time between two events. This time can be fairly large due to sched_lock essentially protecting all events. - KTRFile::checkstamp() now returns an adjusted timestamp. - StateEvent::draw() detects states that occur out of order in time and draws them as 0 pixels after printing a warning.
* - With a sleep time over 2097 seconds hzticks and slptime could end upjeff2007-01-241-5/+6
| | | | | | negative. Use unsigned integers for sleep and run time so this doesn't disturb sched_interact_score(). This should fix the invalid interactive priority panics reported by several users.
* Fixes the MSG_PEEK for sctp_generic_recvmsg() the msg_flagsrrs2007-01-241-2/+10
| | | | | | were not being copied in properly so PEEK and any other msg_flags input operation were not being performed right. Approved by: gnn
* Bump .Dd for r1.313.ceri2007-01-241-1/+1
|
* Document LD_UTRACE.jhb2007-01-231-2/+7
| | | | MFC after: 3 days
* - Print clock information so we know if something is not reported correctlyjeff2007-01-231-7/+7
| | | | | | | | | | from the tsc. - Set skipnext = 1 for yielding and preempted events so we don't show the event that adds us back to the run queue. It used to be 2 so we would skip the ksegrp run queue addition and the system run queue addition but the ksegrp run queue has gone away. - Don't display down to nanosecond resolution for scheduling events right now. This can sometimes cause a division by zero.
* Document new quota knobs.mpp2007-01-231-3/+51
|
OpenPOWER on IntegriCloud