Revision
409 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 28 01:24:38 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 408
,
to
selected 116
Sync with FreeBSD RELENG_6_2.
Reparent the process that executes the window= command from the ttys to the init. This prevents zombies from being accumulated.
Revision
390 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 23:54:55 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 389
,
to
selected 116
Check the entire length of the current argument for the EOF string, but don't assume an ANSI string and thus don't use strcmp(3) which looks for NUL.
Revision
385 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 23:38:19 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 384
,
to
selected 116
Import getent(1), a program which retrieves and displays entries from the administrative database such as hosts, using the lookup order in nsswitch.conf(5).
Imported from FreeBSD, NetBSD.
Revision
374 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 04:51:23 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 373
,
to
selected 116
Look for BSD label at 512-byte offset, if not found on the very beginning of the second sector. This makes it compatible with labels created by disklabel(8) on non-512-byte-per-sector devices.
Import from FreeBSD.
Revision
373 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 04:48:57 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 372
,
to
selected 116
Delay an orphan event if provider has still in-flight I/O requests. GEOM classes can then detach safely from the provider when an orphan event is received. Fixes a 'detach with active requests' panic for gstripe/gconcat under load.
Imported/Obtained from FreeBSD.
Revision
371 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 04:45:12 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 370
,
to
selected 116
Add g_duplicate_bio() function which does the same thing as g_clone_bio() except it allocates new bio with a M_WAITOK flag.
sys/geom/geom.h
sys/geom/geom_io.c
Import from FreeBSD.
Revision
361 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 02:32:32 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 360
,
to
selected 116
Remove additional alpha bit...
Don't create stray objects on pc98. We may still support pc98.
Detect that the audit group is missing earlier during install.
Revision
360 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 02:27:33 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 359
,
to
selected 116
Don't attempt to compile DEFAULTS and don't attempt to compile LINT twice.
Do not discard the current value of __MAKE_CONF when testing whether MAKEOBJDIRPREFIX is set at a wrong place.
Revision
354 -
Directory Listing
-
[select for diffs]
Modified
Wed Dec 27 01:15:48 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 353
,
to
selected 116
Change burncd so that if CDRIOCGETPROGRESS does not return a good value, CDIOCRESET is used to determine when the command is complete.
This corrects a bug with some CD/DVD recorders working with rewritable media where they never complete.
Based on a patch by Luigi Rizzo on stable@freebsd.org.
Revision
342 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 21 16:47:20 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 341
,
to
selected 116
Fix some race conditions in TTY code. tty and sessrele(), doenterpgrp(), leavepgrp(), pgdelete() and enterpgrp(). The tty code is still under giant lock, but the session/pgrp release code just used proctree_locks. P_CONTROLT isn't really fully locked too in enterpgrp().
Obtained from FreeBSD, mbr.
Revision
341 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 21 16:31:26 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 340
,
to
selected 116
Retest tp->t_session because Giant might have been temporarily dropped while waiting for proctree_lock, allowing for an intervening tty_close() that cleared tp_>t_session.
Obtained from FreeBSD,tegge.
Revision
340 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 21 16:22:39 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 339
,
to
selected 116
Consistently use if_printf() only in interface methods: if_start, if_ioctl, if_watchdog, etc or in functions that are used by these methods only. In all other cases, device_printf should be used.
This also fixes several panics when if_printf() is called before softc->ifp was initialized.
Revision
339 -
Directory Listing
-
[select for diffs]
Modified
Thu Dec 21 16:18:09 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 338
,
to
selected 116
IF_LLADDR does not necessarily return aligned memory addresses. Since accessing ID registers in rt181x9 needs 32bit register access and RL_IDR6/RL_IDR7 registers are reserved registers bzero() is needed before copying the ethernet address.
This fixes a bug in Sparc64
Obtained from FreeBSD, yongari.
Revision
338 -
Directory Listing
-
[select for diffs]
Modified
Mon Dec 18 23:50:50 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 337
,
to
selected 116
As discussed on freebsd-threads@freebsd.org, a libpthread bug exists that this patch by Peter Edwards Corrects.
Here is a summary:
I've a problem when a process uses:
libpthread
detached threads
mixed bound/unbound threads
suspended threads (a la pthread_resume_np())
whereby some newly created suspended threads don't get scheduled.
I think I've tracked it down, so if someone could review the
reasoning, I'd be grateful.
Newly launched threads have a "struct pthread" that may be allocated
from a freelist of GCed threads. Apparently, when detached threads
enter the GCed list, they can still have the "active" flag set on
them. Later, this causes problems when this thread is recycled and
resumed, because _thr_setrunnable_unlocked() doesn't add it to a
run queue.
thr_cleanup can be called either from the bound-threads scheduler,
or the unbound scheduler. One callsite clears "active", "needswitchout",
and "lock_switch" to zero before the call. The other callsite just
clears "check_pending". I think these flags are all either bound-thread
or unbound-thread specific, and that there was an unintended
assumption that the thread would remain with the same "boundedness"
after being recycled, which isn't neccessarily the case. (Or another
way - the idea was that there was no need to clear the "active"
flag on a bound thread, as its only used for unbound threads, but
a GCed bound thread might be recycled into an unbound thread)
Given that, it seems correct to clean up the thread the same way
for both cases, and just move that code into thr_cleanup.
Revision
330 -
Directory Listing
-
[select for diffs]
Modified
Fri Nov 24 19:41:57 2006 UTC
(17 years, 5 months ago)
by
laffer1
Diff to
previous 329
,
to
selected 116
Check that -w width is not above maximum. Use DWIDTH constant instead of a hard coded constant.
Reported by Gruzicki Wlodek on Bugtraq.
Obtained from FreeBSD, NetBSD, and OpenBSD.
Revision
321 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 30 18:51:07 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 320
,
to
selected 116
i915 attachment and running fixed.
i915 vblank support.
Radeon's new memory map support.
ATI PCI/PCIE GART fix.
r300 fixes
Hack to radeon module to shut up errors.
Obtained from FreeBSD stable
Revision
319 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 30 16:55:24 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 318
,
to
selected 116
Be reasonable when overwrite mode is enabled and there are hard links. Overwriting when links > 1 will cause data loss.
Obtained from FreeBSD, OpenBSD.
Revision
314 -
Directory Listing
-
[select for diffs]
Modified
Mon Oct 30 14:50:16 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 313
,
to
selected 116
Only catch SIGINFO when LIBPTHREAD_DEBUG is defined in the environment.
Eliminate a race condition in timed waist (cv, mutex, sleeps).
Don't forget to init a TAILQ before using it.
Allocate a thread's tcb last so it is easier to handle failures to malloc() siginfo.
Include needed headers obtained through pthread.h
Obtained from FreeBSD (March 2006 MFC)
Revision
298 -
Directory Listing
-
[select for diffs]
Modified
Sat Oct 28 04:16:57 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 297
,
to
selected 116
Don't set CR0_NE and CR0_MP in npx_probe() as they are already set earlier in cpu_setregs().
If we know this CPU has a FPU via cpuid, just assume INT16 and make the dmesg quiet. This is true for all Pentium class processors and even some 486DX systems.
Revision
281 -
Directory Listing
-
[select for diffs]
Modified
Thu Oct 26 21:17:32 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 280
,
to
selected 116
Part 2 of our large ata update. Most of these changes come from FreeBSD 6-stable or 6.1 Release. We should be at least at 6.1 release levels with our support for devices with this commit.
Add support for the JMicron JMB361, 365 and 366 chips.
Make the ATAPI sense data accessible when using the ioctl interface.
Revision
276 -
Directory Listing
-
[select for diffs]
Modified
Wed Oct 18 15:52:35 2006 UTC
(17 years, 6 months ago)
by
laffer1
Diff to
previous 275
,
to
selected 116
Avoid a warning for each whiteout found during ls -lW
# ls -lW
total 2
-rw-r--r-- 1 root wheel 6 Oct 18 14:46 file1
ls: ./file2: No such file or directory
w--------- 0 root wheel 0 Jan 1 1970 file2
From FreeBSD rev 1.76
Revision
267 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 13 23:15:50 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 266
,
to
selected 116
Only use the channel in the request given to ata_completed if
its still present.
Only look for ICRC and CORR errors on ATA devices not ATAPI.
Get rid of all the long long and mixint casting in printfs'.
On all our platforms intmax == int64_t so simply using %j to
print int64_ts' is safe all over, and doesn't pollute the code.
Update atapi-fd to support direct devices such as disks.
ATAUSB will need to hook inot the delayed boot identity to
have interrupts running, so externalize it.
Add USB modes.
Revision
266 -
Directory Listing
-
[select for diffs]
Modified
Fri Oct 13 20:43:48 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 265
,
to
selected 116
Keep the parent device (channel) around in ata_request so that we don't
panic on device removal or failure.
Clean up ata_fail_requests to prevent the queue mnging to fail.
Ensure ata_reinit does things in the right order to prevent panics.
Revision
244 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 10 15:23:51 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 243
,
to
selected 116
Fix bug in malloc_uninit():
Releasing items from the mt_zone can not be done by a simple uma_zfree() call since mt_zone is allocated with the UMA_ZONE_MALLOC flag. Use uma_zfree_arg instead and supply the slam.
This bug can cause panics in low memory conditions while unloading kernel modules containing MALLOC_DEFINE(...) statements.
This commit brings kern_malloc.c up to FreeBSD 6.1 release equivalency.
Revision
227 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 8 15:06:27 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 226
,
to
selected 116
Fix the case where the user specifies an alternate heading for some output format keyword and the keyword they picked is an alias to some other keyword. This includes the segfault fixes. (FreeBSD)
Revision
221 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 8 06:07:29 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 220
,
to
selected 116
When enabling A20 put upper limit on amount of time we wait for the keyboard controller to get ready (65K x ISA access time, visually around 1 second). If we have wait more than that amount it's likely that the hardware is a legacy-free system and doesn't have a keyboard controller and doesn't require enabling A20 at all.
This makes cdboot/pxeldr work on MacBook Pro systems with Boot Camp and some IBM Netvista systems such as the S40.
Revision
173 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 17 02:37:31 2006 UTC
(17 years, 7 months ago)
by
laffer1
Diff to
previous 172
,
to
selected 116
Update from 6.0.5 to 6.1.4 Intel driver. This update adds support for one additional NIC and hopefully will fix some problems with the em found on some Dell gx260's negotiating below gigabit speeds!
Revision
166 -
Directory Listing
-
[select for diffs]
Modified
Sat Sep 9 13:48:40 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 165
,
to
selected 116
Changed -p flag to -D for "Date". Cleaned up the manual. The utility now checks the length of the format argument and gives an error immediately.
I do not want cat to become a general purpose filter, but this functionality seems quite useful.
Revision
165 -
Directory Listing
-
[select for diffs]
Modified
Fri Sep 8 14:04:24 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 164
,
to
selected 116
A new flag, -p, was added to cat which allows dates to be prepended to each line of output. This could be useful when logging from scripts, etc.
The format is based on strftime
so cat -p %D test might print out
09/08/06testing this
if the file test contained testing this.
This is based on a patch floating around FreeBSD-Current.
Revision
164 -
Directory Listing
-
[select for diffs]
Modified
Thu Sep 7 18:52:52 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 163
,
to
selected 116
recursive DNS server, a remote attacker sending enough recursive
queries for the replies to arrive after all the interested clients
have left the recursion queue will trigger an INSIST failure in the
named(8) daemon. Also for a a recursive DNS server, an assertion
failure can occour when processing a query whose reply will contain
more than one SIG(covered) RRset.
For an authoritative DNS server serving a RFC 2535 DNSSEC zone which
is queried for the SIG records where there are multiple SIG(covered)
RRsets (e.g. a zone apex), named(8) will trigger an assertion failure
when it tries to construct the response.
Revision
162 -
Directory Listing
-
[select for diffs]
Modified
Wed Sep 6 14:57:43 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 161
,
to
selected 116
Work around a deadlock when ATA waits for the taskqueue to call back for completion and something else is holding the taskqueue waiting for ATA to return.
Fixes the "semaphore timeout !! DANGER Will Robinson !!" messages. This patch was obtained from FreeBSD ata-queue.c 1.50.2.3 (march 1 2006) and ata-all.h from the same time.
Revision
134 -
Directory Listing
-
[select for diffs]
Modified
Sun Aug 27 18:49:41 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 133
,
to
selected 116
Added Eric Anderson's patch for cp which adds -a an -l flags.
-a is an archive mode which is equivalent to -PpR
-l is link mode where regular files are hard linked instead of copied.
Revision
133 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 25 06:24:52 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 132
,
to
selected 116
ACPI patches for laptops and other changes related to the new sleep_queue / em driver commit.
if_media was updated to allow import of bce and some baudrate changes in vge.
Revision
131 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 25 06:20:58 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 130
,
to
selected 116
Patched ACPI problem in hwpcm which needs further testing. randomdev was updated along with it.
mii had a bug with recently driver patches as a function was missing to set the ifmedia_baudrate(). The function was added elsewhere.
Revision
120 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 05:35:39 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 119
,
to
selected 116
Intel gigabit network driver (em) updated to 6.05 with FreeBSD 6-stable enhancements. Commit required a sync to a new version of the sleep queue routines which also fixed a deadlock problem. An ACPI issue with some laptops has been noted and a fix will be forthcoming.
Revision
117 -
Directory Listing
-
[select for diffs]
Modified
Thu Aug 24 00:18:42 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 116
rdate's -c flag was not working as -DLEAPSECONDS was not used in the base system to maintain posix compliance. Instead, rdate was altered to read a "right" subdirectory just as openbsd does. In right, leapsecond versions of all the zones are built so that we can maintain legal time if needed.
Revision
116 -
Directory Listing
-
[selected]
Modified
Wed Aug 23 17:39:39 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 115
Made final corrections to rdate.
Revision
99 -
Directory Listing
-
[select for diffs]
Modified
Mon Aug 21 05:54:56 2006 UTC
(17 years, 8 months ago)
by
laffer1
Diff to
previous 98
,
to
selected 116
Do to naming conflicts, openntpd had to be commited to its own directory src/contrib/openntpd. This commit should clean up most of the mess. I should plan these things out more carefully. :)
Revision
46 -
Directory Listing
-
[select for diffs]
Modified
Fri Aug 4 17:10:41 2006 UTC
(17 years, 9 months ago)
by
laffer1
Diff to
previous 45
,
to
selected 116
FreeBSD-SA6:13 and 14 were patched. The nis software and amd athlon fpu handling fixed. Changes to echo and pfctl are needed to fix compile bugs with changes related to cvs tags and macros.
Revision
6 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 25 02:38:42 2006 UTC
(18 years, 2 months ago)
by
laffer1
Diff to
previous 3
,
to
selected 116
This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.
Revision
3 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 25 02:29:52 2006 UTC
(18 years, 2 months ago)
by
laffer1
Diff to
previous 2
,
to
selected 116
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.