| 2010 - 03 - 12 (today) |
01:51:39 - r205059 ( 33 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
|
Change octeon_rgmx_rx_promiscuous into octeon_rgmx_config_cam which does
general CAM configuration stuff (in theory) and checks interface flags for
its own use rather than expecting a caller to.
|
|
01:20:10 - r205058 (1 hour 5 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
|
o) Send outgoing packets to BPF on transmit.
o) Handle setting promiscuous mode.
|
|
00:51:25 - r205057 (1 hour 33 minutes ago) by delphij |
Affects:
(2 files)
|
/stable/7/games/grdc/grdc.c
|
MFC r203760: Improve time precision for grdc(6):
Traditionally, grdc would obtain time through time(3) which in turn gets
only the second part of clock (CLOCK_SECOND), and sleep for 1 second after
each screen refresh.
This approach would have two problems. First, we are not guaranteed to
be waken up at the beginning of a whole second, which will typically
exhibit as a "lag" on second number. Second, because we sleep for whole
second, and the refresh process would take some time, the error would
accumulate from time to time, making the lag variable.
Make grdc(6) to use time(3) to get time only at the beginning, and sample
time in CLOCK_REALTIME_FAST granularity after refreshing, and use the
nanosecond part to caculate how much time we want to sleep.
PR: bin/120813
|
|
00:51:13 - r205056 (1 hour 34 minutes ago) by delphij |
Affects:
(2 files)
|
/stable/8/games/grdc/grdc.c
|
MFC r203760: Improve time precision for grdc(6):
Traditionally, grdc would obtain time through time(3) which in turn gets
only the second part of clock (CLOCK_SECOND), and sleep for 1 second after
each screen refresh.
This approach would have two problems. First, we are not guaranteed to
be waken up at the beginning of a whole second, which will typically
exhibit as a "lag" on second number. Second, because we sleep for whole
second, and the refresh process would take some time, the error would
accumulate from time to time, making the lag variable.
Make grdc(6) to use time(3) to get time only at the beginning, and sample
time in CLOCK_REALTIME_FAST granularity after refreshing, and use the
nanosecond part to caculate how much time we want to sleep.
PR: bin/120813
|
|
00:25:04 - r205055 (2 hours ago) by kmacy |
| Affects:
|
/user/kmacy/head_page_lock/sys/vm/vm_map.c
/user/kmacy/head_page_lock/sys/vm/vm_page.c
/user/kmacy/head_page_lock/sys/vm/vm_page.h
|
- we can't assert that the page queue mutex is not owned if we're aliasing the
page lock to it
- we need to acquire the page queue lock before calling pmap_enter_object
on architectures that don't use page lock
|
|
| 2010 - 03 - 11 (yesterday) |
23:32:10 - r205054 (2 hours 53 minutes ago) by kmacy |
| Affects:
|
/user/kmacy/head_page_lock/sys/vm/vm_page.h
|
|
23:27:16 - r205053 (2 hours 58 minutes ago) by kmacy |
| Affects:
|
/user/kmacy/head_page_lock/sys/amd64/include/vmparam.h
/user/kmacy/head_page_lock/sys/vm/vm_page.h
|
alias page lock to page queue lock for architectures with pmaps without page
lock
|
|
23:05:13 - r205052 (3 hours 20 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/octeon_machdep.c
|
o) Use standard interrupt disable/restore functions.
o) Spell __func__ properly.
|
|
22:44:00 - r205051 (3 hours 41 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/include/cpufunc.h
|
Add my copyright. This file seems to consist of my cpufunc.h and pefo's pio.h.
|
|
22:42:33 - r205050 (3 hours 42 minutes ago) by luigi |
| Affects:
|
/head/sbin/ipfw/dummynet.c
/head/sys/netinet/ipfw/ip_dn_private.h
/head/sys/netinet/ipfw/ip_dummynet.c
|
implement listing of a subset of pipes/queues/schedulers.
The filtering of the output is done in the kernel instead of userland
to reduce the amount of data transfered.
|
|
22:29:45 - r205049 (3 hours 55 minutes ago) by jmallett |
| Affects:
|
/head/sys/mips/conf/OCTEON1
/head/sys/mips/conf/OCTEON1-32
|
Add bpf and random to Octeon configurations, since they're needed to run
dhclient and ssh respectively.
Reviewed by: imp
|
|
22:25:53 - r205048 (3 hours 59 minutes ago) by jmallett |
| Affects:
|
/head/sys/mips/cavium/octeon_machdep.c
|
Don't force single user on Octeon anymore.
|
|
22:22:06 - r205047 (4 hours 3 minutes ago) by jmallett |
| Affects:
|
/head/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
|
o) Eliminate use of sc->typestr, which is always NULL.
o) Inline octeon_rgmx_mark_ready into octeon_rgmx_init.
o) Add a media status handler that reports link and media status.
o) Set link state when if_init is called.
o) Remove some printfs related to driver state changes.
o) Remove some gratuitous comments.
Reviewed by: imp
Sponsored by: Packet Forensics
|
|
22:14:07 - r205046 (4 hours 11 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
|
|
22:13:16 - r205045 (4 hours 12 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
|
Remove a silly comment, remove gratuitous braces.
Suggested by: imp
|
|
22:11:24 - r205044 (4 hours 14 minutes ago) by jmallett |
Affects:
(135 files)
|
/user/jmallett/octeon/*
|
|
22:11:24 - r205044 (4 hours 14 minutes ago) by jmallett |
Affects:
(135 files)
|
/user/jmallett/octeon/*
|
|
22:09:21 - r205043 (4 hours 16 minutes ago) by thompsa |
Add device ID for the NATURAL4000 keyboard
|
|
22:05:12 - r205042 (4 hours 20 minutes ago) by thompsa |
Affects:
(4 files)
|
/head/sys/dev/usb/usbdevs
/head/sys/dev/usb/wlan/*
|
- Integrate latest driver code from OpenBSD
- Drain our tasks from the ieee80211 taskqueue
- Add more IDs
Submitted by: Akinori Furukoshi
|
|
22:01:48 - r205041 (4 hours 23 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
|
Inline a function only referenced once and remove a comment about not calling
that function from some place in the code.
Make the ifinit function set the link status. This fixes rgmx with the recent
routing changes.
|
|
21:57:01 - r205040 (4 hours 28 minutes ago) by thompsa |
extend search for Apple Function Key.
PR: usb/144414
Submitted by: Hans Petter Selasky
|
|
21:55:25 - r205039 (4 hours 29 minutes ago) by thompsa |
Add new device ID for the SMC 2514HUB
Submitted by: Alexander Best
|
|
21:54:23 - r205038 (4 hours 31 minutes ago) by thompsa |
add new vendor ID for APACER
Submitted by: Paul B Mahol
|
|
21:54:09 - r205037 (4 hours 31 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
|
|
21:50:36 - r205036 (4 hours 34 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/usb_device.c
/head/sys/dev/usb/usb_device.h
/head/sys/dev/usb/usb_generic.c
|
Implement USB kernel driver detach from userland.
Submitted by: Hans Petter Selasky
|
|
21:49:43 - r205035 (4 hours 35 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/usb_transfer.c
|
Make sure there is a way to reset the endpoint FIFO on transfer errors for
ISOCHRONOUS transfers
Submitted by: Hans Petter Selasky
|
|
21:49:00 - r205034 (4 hours 36 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/controller/uss820dci.c
|
For USS820 driver we need to manually reset TX FIFO at each SETUP transaction
because the chip doesn't do this by itself.
Submitted by: Hans Petter Selasky
|
|
21:48:10 - r205033 (4 hours 37 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/template/usb_template.c
|
isochronous endpoint descriptors should have two more bytes which are zero by
default.
Submitted by: Hans Petter Selasky
|
|
21:47:25 - r205032 (4 hours 37 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/serial/uvisor.c
/head/sys/dev/usb/usbdevs
|
Add new uvisor(4) device ID.
PR: usb/144201
|
|
21:46:33 - r205031 (4 hours 38 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/serial/uvisor.c
|
It appears that some UVISOR devices do not handle when the clear stall command
is issued at the beginning of the initial IN/OUT data transfers. Reason
unknown, probably firmware fault. Now the stall is only cleared on data
transfer errors.
PR: usb/144199
Submitted by: Hans Petter Selasky
|
|
21:45:31 - r205030 (4 hours 39 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/template/usb_template.c
/head/sys/dev/usb/template/usb_template.h
/head/sys/dev/usb/template/usb_template_mtp.c
|
- make the usb_temp_setup() and usb_temp_unsetup() functions public so that
other modules can generate USB descriptors.
- extend the vendor specific request function by one length pointer argument,
because not all descriptors store the length in the first byte. For example
HID descriptors.
Submitted by: Hans Petter Selasky
|
|
21:42:09 - r205029 (4 hours 43 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/serial/uftdi.c
|
Use wMaxPacketSize for the uftdi input buffer size.
Submitted by: Hans Petter Selasky
|
|
21:16:54 - r205028 (5 hours 8 minutes ago) by raj |
| Affects:
|
/head/sys/arm/arm/busdma_machdep.c
/head/sys/arm/arm/vm_machdep.c
|
Fix ARM cache handling yet more.
1) vm_machdep.c: remove the dangling allocations so they do not
un-necessarily turn off the cache upon consecutive access.
2) busdma_machdep.c: remove the same amount than shadow mapped.
Reported by: Maks Verver
Submitted by: Mark Tinguely
Reviewed by: Grzegorz Bernacki
MFC after: 3 days
|
|
21:04:29 - r205027 (5 hours 20 minutes ago) by raj |
Let detailed info about CPU features print on Marvell Sheeva CPU as well.
Provide missing entry in the cpu_classes[].
Reported by: Maks Verver
MFC after: 1 week
|
|
20:41:21 - r205026 (5 hours 44 minutes ago) by thompsa |
Reapply r185998 which was overwritten at some point.
|
|
20:32:28 - r205025 (5 hours 52 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/mips/tick.c
|
I don't know that a critical section is required here, but if it is we really
don't want to get interrupted between reading the counter and calculating the
ticks.
|
|
17:56:46 - r205024 (8 hours 28 minutes ago) by qingli |
| Affects:
|
/head/sys/net/if_tap.c
/head/sys/net/route.h
|
The if_tap interface is of IFT_ETHERNET type, but it
does not set or update the if_link_state variable.
As such RT_LINK_IS_UP() fails for the if_tap interface.
Also, the RT_LINK_IS_UP() needs to bypass all loopback
interfaces because loopback interfaces are considered
up logically as long as the system is running.
This patch fixes the above issues by setting and updating
the if_link_state variable when the tap interface is
opened or closed respectively. Similary approach is
already done in the if_tun device.
MFC after: 3 days
|
|
17:15:40 - r205023 (9 hours 9 minutes ago) by bschmidt |
MFC r203934:
Fix for the Intel WiFi Link 1000. The EEPROM image is in the OTPROM block
before the last block, not in the last block itself.
Approved by: rpaulo (mentor)
Obtained from: OpenBSD
|
|
17:11:07 - r205022 (9 hours 14 minutes ago) by bschmidt |
Affects:
(2 files)
|
/stable/8/share/man/man9/ieee80211_scan.9
|
MFC r204213:
Fix some typos.
Approved by: rpaulo (mentor)
|
|
17:03:32 - r205021 (9 hours 21 minutes ago) by jhb |
Affects:
(12 files)
|
/head/lib/libc/stdio/*
|
- Use an initializer macro to initialize fields in 'fake' FILE objects used
by *sprintf(), etc.
- Explicitly initialize _fl_mutex to PTHREAD_MUTEX_INITIALIZER for all FILE
objects. This is currently a nop on FreeBSD, but is import for other
platforms (or in the future) where PTHREAD_MUTEX_INITIALIZER is not simply
zero.
PR: threads/141198
Reported by: Jeremy Huddleston @ Apple
MFC after: 2 weeks
|
|
16:58:15 - r205020 (9 hours 27 minutes ago) by jhb |
| Affects:
|
/head/lib/libc/rpc/rpc_generic.c
|
Fix a bug in the previous change: remove function-local definition of
tcp_key and udp_key that shadows the global definition.
PR: threads/144558
Submitted by: Sam Robb
|
|
15:33:12 - r205019 (10 hours 52 minutes ago) by nwhitehorn |
The first transport is away! Merge back in the final version of
COMPAT_FREEBSD32.
|
|
15:25:47 - r205018 (10 hours 59 minutes ago) by jhb |
|
15:13:55 - r205017 (11 hours 11 minutes ago) by jhb |
Style fixes.
Submitted by: bde
|
|
14:56:59 - r205016 (11 hours 28 minutes ago) by nwhitehorn |
Affects:
(4 files)
|
/head/sys/compat/freebsd32/*
|
Regen after big endian compatibility import.
|
|
14:54:54 - r205015 (11 hours 30 minutes ago) by nwhitehorn |
Accidentally committed test code. Remove it.
Big pointy hat: me
|
|
14:49:06 - r205014 (11 hours 36 minutes ago) by nwhitehorn |
Affects:
(48 files)
|
/head/UPDATING
/head/sys/*
|
Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.
Reviewed by: kib, jhb
|
|
14:17:37 - r205013 (12 hours 7 minutes ago) by jhb |
| Affects:
|
/head/sys/amd64/amd64/identcpu.c
/head/sys/i386/i386/identcpu.c
|
Print out the family and model from the cpu_id. This is especially useful
given the advent of the extended family and extended model fields. The
values are printed in hex to match their common usage in documentation.
Submitted by: Alexander Best
MFC after: 1 week
|
|
13:16:06 - r205012 (13 hours 9 minutes ago) by jhb |
Fix a comment nit.
Submitted by: Alexander Best
|
|
12:18:52 - r205011 (14 hours 6 minutes ago) by joerg |
The number after the command is *not* optional.
MFC after: 1 day
|
|
11:33:04 - r205010 (14 hours 52 minutes ago) by rwatson |
| Affects:
|
/head/sys/fs/nfsserver/nfs_nfsdport.c
|
Update nfsrv_getsocksndseq() for changes in TCP internals since FreeBSD 6.x:
- so_pcb is now guaranteed to be non-NULL and valid if a valid socket
reference is held.
- Need to check INP_TIMEWAIT and INP_DROPPED before assuming inp_ppcb is a
tcpcb, as it might be a tcptw or NULL otherwise.
- tp can never be NULL by the end of the function, so only check
TCPS_ESTABLISHED before extracting tcpcb fields.
The NFS server arguably incorporates too many assumptions about TCP
internals, but fixing that is left for nother day.
MFC after: 1 week
Reviewed by: bz
Reviewed and tested by: rmacklem
Sponsored by: Juniper Networks
|
|
11:28:29 - r205009 (14 hours 56 minutes ago) by ed |
Improve the change made in the previous commit.
doshell() never returns, so there is no need to see whether we are the
parent process.
|
|
11:09:58 - r205008 (15 hours 15 minutes ago) by ed |
Make script(1) a little less broken.
Close the file descriptor to the TTY. There is no reason why the parent
process should keep track of the descriptor. This ensures that the
application inside properly drains the TTY during exit(2).
Reported by: alfred
MFC after: 2 weeks
|
|
08:58:13 - r205007 (17 hours 27 minutes ago) by avg |
MFC r203785: acpi: drop the second bus_generic_attach pass
X-MFCto7 after: 1 week
|
|
08:55:03 - r205006 (17 hours 30 minutes ago) by avg |
MFC r203776: acpi cpu: probe+attach before all other enumerated children
X-MFCto7 after: 1 week
|
|
08:33:39 - r205005 (17 hours 51 minutes ago) by thompsa |
| Affects:
|
/head/sys/dev/usb/controller/usb_controller.c
|
Wrap the proc wakeup special case for ddb in ifdef DDB.
Submitted by: Giovanni Trematerra
|
|
08:30:05 - r205004 (17 hours 55 minutes ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/octeon_machdep.c
|
I would've expected the Octeon to have a double-counting timer as the code
suggests, but at least on my CAM-0100 this seems to not be the case. Pass 0
to mips_timer_init_params for double_count instead of 1 -- now timings on my
system match wall clock.
The tick code really should be updated for 64-bit counter reads on the CPUs
that support them -- I wonder if the t_delta wrongness is due to inaccuracy
from the hand-rolled counter wrapping.
|
|
08:03:56 - r205003 (18 hours 21 minutes ago) by thompsa |
Revert r204992 and just wrap it all in ifdef INVARIANTS to fix the debug and
non-debug cases.
|
|
07:46:17 - r205002 (18 hours 39 minutes ago) by marius |
| Affects:
|
/head/lib/libc/sparc64/fpu/fpu_emu.h
|
Fix a typo in r204974 so that FTYPE_LNG matches the initialisers of
the opmask array.
Pointed out by: Peter Jeremy
|
|
07:39:36 - r205001 (18 hours 45 minutes ago) by fabient |
Affects:
(2 files)
|
/stable/7/usr.sbin/pmcstat/pmcstat_log.c
|
MFC r204878:
Change the way shutdown is handled for log file.
pmc_flush_logfile is now non-blocking and just ask the kernel
to shutdown the file. From that point, no more data is
accepted by the log thread and when the last buffer is flushed
the file is closed.
This will remove a deadlock between pmcstat asking for
flush while it cannot flush the pipe itself.
|
|
07:38:27 - r205000 (18 hours 46 minutes ago) by fabient |
MFC r204878:
Change the way shutdown is handled for log file.
pmc_flush_logfile is now non-blocking and just ask the kernel
to shutdown the file. From that point, no more data is
accepted by the log thread and when the last buffer is flushed
the file is closed.
This will remove a deadlock between pmcstat asking for
flush while it cannot flush the pipe itself.
|
|
07:36:45 - r204999 (18 hours 48 minutes ago) by fabient |
Affects:
(2 files)
|
/stable/8/usr.sbin/pmcstat/pmcstat_log.c
|
MFC r204878:
Change the way shutdown is handled for log file.
pmc_flush_logfile is now non-blocking and just ask the kernel
to shutdown the file. From that point, no more data is
accepted by the log thread and when the last buffer is flushed
the file is closed.
This will remove a deadlock between pmcstat asking for
flush while it cannot flush the pipe itself.
|
|
07:35:30 - r204998 (18 hours 49 minutes ago) by fabient |
MFC r204878:
Change the way shutdown is handled for log file.
pmc_flush_logfile is now non-blocking and just ask the kernel
to shutdown the file. From that point, no more data is
accepted by the log thread and when the last buffer is flushed
the file is closed.
This will remove a deadlock between pmcstat asking for
flush while it cannot flush the pipe itself.
|
|
07:17:14 - r204997 (19 hours 8 minutes ago) by neel |
Affects:
(5 files)
|
/head/sys/mips/include/*
/head/sys/mips/mips/*
|
Stash the context of the running thread at the time an IPI_STOP is received
in 'stoppcbs[]'. We use the 'stoppcbs[]' context to generate the backtrace
of such stopped threads.
|
|
03:18:16 - r204996 (23 hours 7 minutes ago) by nwhitehorn |
| Affects:
|
/projects/ppc64/gnu/usr.bin/cc/cc_tools/Makefile
|
Set up a multi-lib toolchain on powerpc64 and amd64. This lets cc -m32
get working 32-bit binaries on powerpc64.
|
|
02:01:55 - r204995 (1 day ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/contrib/gcc/config/mips/freebsd.h
|
Fix typo from pre-commit cleanup. Pre-commit cleanups are always a bad idea.
|
|
01:48:25 - r204994 (1 day ago) by jeff |
Affects:
(2682 files)
|
/projects/suj/head/*
|
- Merge suj/head to head r204991
|
|
01:47:59 - r204993 (1 day ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/contrib/gcc/config/mips/freebsd.h
|
Integrate MIPS_CPU_STRING_DEFAULT into DRIVER_SELF_SPECS so that we see it as
an argument and can pass it to the assembler. It'd be nice if the mips.h
assembler and linker specs could take into account the CPU architecture as it
may be intuited within GCC rather than having to do this. This is so ugly.
Then again, it's pretty stupid to refuse to link modules using the same ABI but
different -march values. Perhaps fixing binutils and undoing some of this is
the right way to go.
|
|
01:35:38 - r204992 (1 day ago) by weongyo |
fixes a compile error if INVARIANTS is disabled.
Pointy hat to: me
Submitted by: Michael Butler <imb at protected-networks dot net>
|
|
01:02:27 - r204991 (1 day 1 hour ago) by jeff |
Affects:
(9 files)
|
/projects/suj/6/*
/projects/suj/7/*
/projects/suj/8/*
|
- Catch up to changes made on the suj/head branch.
|
|
| 2010 - 03 - 10 (2 days ago) |
23:02:06 - r204990 (1 day 3 hours ago) by sobomax |
Fix style(9) bugs in the previous revision.
|
|
23:00:15 - r204989 (1 day 3 hours ago) by sobomax |
further narrow down no carrier workaround, since it appears to only affect
very specific IBM hardware and other machines with the same BCM ASIC chip id
0x57081021 are just fine.
MFC after: 1 month
|
|
22:33:59 - r204988 (1 day 3 hours ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/gnu/usr.bin/cc/Makefile.inc
|
Pass on TARGET_CPUTYPE as a string rather than trying to parse it.
|
|
22:33:32 - r204987 (1 day 3 hours ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/contrib/gcc/config/mips/freebsd.h
|
Don't set a default ISA like that. The from-abi default is good enough and
more correct. This hopefully unbreaks my overriding of the default ISA based
on the TARGET_CPUTYPE.
|
|
22:23:55 - r204986 (1 day 4 hours ago) by yongari |
Affects:
(5 files)
|
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/mii/e1000phy.c
|
MFC r204647:
Remove programming LED register and enable 25MHz TX clock for
88E1149 PHY. This will fix intermittent watchdog timeouts as well
as very slow network performance on 88E8072 Yukon Extreme.
PR: kern/144148
|
|
22:21:07 - r204985 (1 day 4 hours ago) by yongari |
MFC r204647:
Remove programming LED register and enable 25MHz TX clock for
88E1149 PHY. This will fix intermittent watchdog timeouts as well
as very slow network performance on 88E8072 Yukon Extreme.
PR: kern/144148
|
|
22:10:36 - r204984 (1 day 4 hours ago) by edwin |
Style police - update the comments in the code.
|
|
21:45:40 - r204983 (1 day 4 hours ago) by yongari |
Fix build breakage introduced in r204922.
|
|
21:42:05 - r204982 (1 day 4 hours ago) by edwin |
| Affects:
|
/user/edwin/ncal/ncal.1
/user/edwin/ncal/ncal.c
|
Move -d to -H.
Use -d to select the current date.
|
|
21:37:19 - r204981 (1 day 4 hours ago) by yongari |
Fix typo in r204978.
Pointed out by: marius
|
|
21:35:42 - r204980 (1 day 4 hours ago) by jhb |
Add descriptions for debug.ktr sysctl nodes.
|
|
20:55:55 - r204979 (1 day 5 hours ago) by yongari |
Fix typo in r204975.
Pointed out by: marius
|
|
20:54:08 - r204978 (1 day 5 hours ago) by yongari |
Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices.
Also disable relaxed ordering as recommended by data sheet for
PCI-X devices. For PCI-X BCM5704, set maximum outstanding split
transactions to 0 as indicated by data sheet.
For BCM5703 in PCI-X mode, DMA read watermark should be less than
or equal to maximum read byte count configuration. Enforce this
limitation in DMA read watermark configuration.
|
|
20:31:30 - r204977 (1 day 5 hours ago) by imp |
Affects:
(14 files)
|
/head/usr.bin/truss/*
|
Fix copyright spelling.
PR: 139825
Submitted by: Ruslan Mahmatkhanov
|
|
20:30:51 - r204976 (1 day 5 hours ago) by imp |
Fix copyright spelling
PR: 139825
Submitted by: Ruslan Mahmatkhanov
|
|
20:22:57 - r204975 (1 day 6 hours ago) by yongari |
Enable hardware fixes for BCM5704 B0 as recommended by data sheet.
|
|
19:55:48 - r204974 (1 day 6 hours ago) by marius |
| Affects:
|
/head/lib/libc/sparc64/fpu/fpu.c
/head/lib/libc/sparc64/fpu/fpu_emu.h
|
- The OPSZ macro actually only does the right thing for int32 and int64
operands but not for double and extended double ones. Instead of trying
to fix the macro just nuke it and unroll the loops in the correct way
though as extended double operands turn out to be the only special case.
- For FxTO{s,d,q} the source operand is int64 so rs2 has to be re-decoded
after setting type accordingly as it's generally decoded using the low
2 bits as the type, which are 0 for these three instructions.
- Similarly, in case of F{s,d,q}TOx the target is int64 so rd has to be
re-decoded using not only the operand mask appropriate for int64 but
also the correct register number encoding.
- Use const where appropriate.
- Wrap long lines.
Submitted by: Peter Jeremy (partly)
MFC after: 3 days
|
|
19:55:27 - r204973 (1 day 6 hours ago) by kensmith |
Affects:
(5 files)
|
/releng/7.3/sys/amd64/amd64/pmap.c
/releng/7.3/sys/cddl/contrib/opensolaris
/releng/7.3/sys/contrib/*
|
Back out r203073 due to issues recently discovered with machine check
hardware on some AMD processors that causes problems with running
FreeBSD as a guest on some virtual machine monitors. What is believed
to be the correct fix has been committed but should receive more testing
before it becomes part of a release.
Submitted by: alc
Approved by: re (kib)
|
|
19:50:52 - r204972 (1 day 6 hours ago) by jhb |
Affects:
(4 files)
|
/head/sys/conf/options.i386
/head/sys/i386/*
|
Make NKPT a kernel option on i386 so that it can be set to a non-default
value from kernel config files.
Tested by: Charles Sprickman spork of bway net
MFC after: 2 weeks
|
|
19:49:33 - r204971 (1 day 6 hours ago) by jhb |
Affects:
(5 files)
|
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/kern/vfs_syscalls.c
|
MFC 204638:
Allow lseek(SEEK_END) to work on disk devices by using the DIOCGMEDIASIZE
to determine the media size.
|
|
19:47:05 - r204970 (1 day 6 hours ago) by jhb |
MFC 204638:
Allow lseek(SEEK_END) to work on disk devices by using the DIOCGMEDIASIZE
to determine the media size.
|
|
19:32:53 - r204969 (1 day 6 hours ago) by rdivacky |
Affects:
(443 files)
|
/projects/clangbsd/contrib/llvm/*
/projects/clangbsd/usr.bin/clang/lib/*
|
|
19:18:19 - r204968 (1 day 7 hours ago) by kensmith |
Affects:
(4 files)
|
/releng/7.3/release/doc/en_US.ISO8859-1/hardware
/releng/7.3/release/scripts/package-split.py
|
Merge r204967: Package set for 7.3-RELEASE.
Reviewed by: portmgr@, re@
Approved by: re (implicit)
|
|
19:00:33 - r204967 (1 day 7 hours ago) by kensmith |
| Affects:
|
/stable/7/release/scripts/package-split.py
|
Package set for 7.3-RELEASE.
Reviewed by: portmgr@, re@
|
|
18:51:13 - r204966 (1 day 7 hours ago) by uqs |
| Affects:
|
/head/sbin/nos-tun/Makefile
/head/sbin/nos-tun/nos-tun.c
|
nos-tun(8): make WARNS=3 clean
The renames are in spirit of DragonflyBSD, to keep diff minimal.
PR: bin/140060
Approved by: ed (co-mentor)
|
|
18:30:55 - r204965 (1 day 7 hours ago) by jkim |
| Affects:
|
/head/sys/dev/acpica/acpi_video.c
|
|
18:13:17 - r204964 (1 day 8 hours ago) by jkim |
Affects:
(5 files)
|
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/acpica/acpi_video.c
|
MFC: r197438, r203810, r203813, r203935, r203936
Sync acpi_video(4) with HEAD.
r197438:
Uninline an instance of STAILQ_FOREACH_SAFE().
r203810:
Implement LCD brightness control notify handler.
r203813:
Make sanity check slightly more useful and tweak an error message.
r203935:
Add support for `cycle' and `zero' events for LCD brightness control.
r203936:
Rename some macros to clarify their intentions and fix style nits.
|
|
17:58:32 - r204963 (1 day 8 hours ago) by jkim |
MFC: r197438, r203810, r203813, r203935, r203936
Sync acpi_video(4) with HEAD.
r197438:
Uninline an instance of STAILQ_FOREACH_SAFE().
r203810:
Implement LCD brightness control notify handler.
r203813:
Make sanity check slightly more useful and tweak an error message.
r203935:
Add support for `cycle' and `zero' events for LCD brightness control.
r203936:
Rename some macros to clarify their intentions and fix style nits.
|
|
17:45:58 - r204962 (1 day 8 hours ago) by rdivacky |
Affects:
(230 files)
|
/vendor/clang/dist/*
|
|
17:45:15 - r204961 (1 day 8 hours ago) by rdivacky |
Affects:
(209 files)
|
/vendor/llvm/dist/*
|
|
17:27:09 - r204960 (1 day 8 hours ago) by rdivacky |
| Affects:
|
/projects/clangbsd/usr.bin/clang/clang.lib.mk
/projects/clangbsd/usr.bin/clang/clang.prog.mk
|
Clang can selfhost just fine.
|
|
17:26:29 - r204959 (1 day 8 hours ago) by rdivacky |
| Affects:
|
/projects/clangbsd/gnu/usr.bin/cc/include/Makefile
/projects/clangbsd/usr.bin/clang/include/Makefile
|
Install *intrin header files belonging to the compiler we are using.
gcc ones when using gcc, clang ones when using clang`
|
|
17:25:18 - r204958 (1 day 9 hours ago) by rdivacky |
| Affects:
|
/projects/clangbsd/Makefile.inc1
|
pass -isystem ${WORLDTMP}/usr/include to CXX too - C++ can use C includes
|
|
15:50:38 - r204957 (1 day 10 hours ago) by kib |
| Affects:
|
/head/sys/amd64/amd64/pmap.c
/head/sys/i386/i386/pmap.c
|
Fall back to wbinvd when region for CLFLUSH is >= 2MB.
Submitted by: Kevin Day <toasty dragondata com>
Reviewed by: jhb
MFC after: 2 weeks
|
|
15:47:33 - r204956 (1 day 10 hours ago) by jhb |
Revert the change to increase MAXCPU to 32 on amd64 and i386. MAXCPU is
part of the de facto KBI currently.
|
|
15:22:26 - r204955 (1 day 11 hours ago) by jhb |
|
14:21:05 - r204954 (1 day 12 hours ago) by luigi |
| Affects:
|
/head/sys/netinet/ipfw/ip_dn_glue.c
/head/sys/netinet/ipfw/ip_fw_sockopt.c
|
fix handling of commands issued by RELENG_7 version of /sbin/ipfw,
Submitted by: Riccardo Panicucci
|
|
13:54:13 - r204953 (1 day 12 hours ago) by gavin |
Affects:
(5 files)
|
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/ae/if_ae.c
|
Merge r202000 from head:
Don't panic on attach if we can't allocate ifp
|
|
13:42:37 - r204952 (1 day 12 hours ago) by gavin |
Affects:
(3 files)
|
/stable/7/usr.bin/hexdump/hexdump.1
/stable/7/usr.bin/hexdump/od.1
|
Merge r204053 from head:
The correct value of DEL is 0x7f, not 0xff. This is purely a documentation
issue - od(1) and hexdump(1) behave as expected.
PR: docs/143869
Submitted by: gcooper
|
|
13:40:37 - r204951 (1 day 12 hours ago) by gavin |
Affects:
(3 files)
|
/stable/8/usr.bin/hexdump/hexdump.1
/stable/8/usr.bin/hexdump/od.1
|
Merge r204053 from head:
The correct value of DEL is 0x7f, not 0xff. This is purely a documentation
issue - od(1) and hexdump(1) behave as expected.
PR: docs/143869
Submitted by: gcooper
|
|
13:23:25 - r204950 (1 day 13 hours ago) by jhb |
Use thr_once() with once_t controls to initialize various thread_key_t
objects used to provide per-thread storage in the RPC code. Almost all
of these used double-checking with a dedicated mutex (tsd_lock) to do this
before. However, that is not always safe with more relaxed memory orders.
There were also other bugs, such as one in __rpc_createrr() that caused a
new key to be allocated each time __rpc_createrr() was invoked.
PR: threads/144558
Reported by: Sam Robb samrobb of averesystems com (key leak)
MFC after: 1 week
|
|
11:33:15 - r204949 (1 day 14 hours ago) by des |
|
11:05:31 - r204948 (1 day 15 hours ago) by des |
| Affects:
|
/head/secure/libexec/ssh-pkcs11-helper/Makefile
|
Forgot to svn add the Makefile.
|
|
07:55:55 - r204947 (1 day 18 hours ago) by jmallett |
Affects:
(7 files)
|
/user/jmallett/octeon/*
|
Merge build un-breakage from head.
|
|
07:49:17 - r204946 (1 day 18 hours ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/gnu/usr.bin/cc/Makefile.inc
|
If TARGET_CPUTYPE is set while building world, we have to set GCC's default ISA,
or binutils will refuse to link things built as part of world with things
compiled
without specifying the right -march.
|
|
07:25:16 - r204945 (1 day 19 hours ago) by lstewart |
| Affects:
|
/user/lstewart/alq_varlen_head/sys/kern/kern_alq.c
|
This change should have been in r204749 instead of what was actually committed.
Module unloading now works again.
Sponsored by: FreeBSD Foundation
|
|
07:07:12 - r204944 (1 day 19 hours ago) by edwin |
| Affects:
|
/user/edwin/ncal/ncal.1
/user/edwin/ncal/ncal.c
|
Do sanity checking: for various combinations of the options, do not
allow them together.
|
|
06:10:39 - r204943 (1 day 20 hours ago) by obrien |
Use more proper terms (from official documents) for AMD CPU's.
Reviewed by: imp
|
|
05:44:57 - r204942 (1 day 20 hours ago) by dougb |
Add -i to the first post-install mergemaster example to make
it consistent with the other. [1]
Add a note about -U to the mergemaster footnote.
Submitted by: obrien [1]
|
|
05:19:14 - r204941 (1 day 21 hours ago) by sobomax |
Provide workaround for the ages old bug affecting certain BCM5708S
chip revision often found in the blades and resulting in interfaces
not sensing carrier signal. Looking at all problem reports it
appears that it only affects some very specific silicon revision
(ASIC (0x57081021); Rev (B2)) and version of the PHY that
supports 1000baseSX-FDX media only. Therefore, narrow the scope of
workaround to combination of that revision and media type. Given
that the first report on this issue is dated back to 2007, there is
not much hope that this issue will ever be properly resolved.
Among affected systems are IBM HS21, Intel SBXD132 and HP BL460c.
PR: 118238, 122551, 140970
MFC after: 1 month
|
|
05:06:47 - r204940 (1 day 21 hours ago) by lstewart |
| Affects:
|
/user/lstewart/alq_varlen_head/share/man/man9/alq.9
/user/lstewart/alq_varlen_head/sys/kern/kern_alq.c
/user/lstewart/alq_varlen_head/sys/sys/alq.h
|
Add variable length message support to ALQ(9) (imported from the
tcp_ffcaia2008_head project branch with tweaks). The KPI is completely backwards
compatible and described in the updated man page. Invariants testing has been
strengthened and style nits have also been addressed.
Sponsored by: FreeBSD Foundation
|
|
02:17:57 - r204939 (2 days ago) by dougb |
Fix the build. The ssh-pkcs11-helper directory is empty, which is
causing confusion.
|
|
02:16:04 - r204938 (2 days ago) by marcel |
Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
|
01:00:37 - r204937 (2 days 1 hour ago) by dougb |
Revert to r197433, the more recent change doesn't work for the common
case, and has not been well received.
|
|
00:47:09 - r204936 (2 days 1 hour ago) by sobomax |
Fix "Empty input line" mdoc warning.
Submitted by: Alexander Best
|
|
| 2010 - 03 - 09 (3 days ago) |
23:12:18 - r204935 (2 days 3 hours ago) by jmallett |
Affects:
(249 files)
|
/user/jmallett/octeon/*
|
|
22:42:24 - r204934 (2 days 3 hours ago) by delphij |
Affects:
(2 files)
|
/head/sys/contrib/x86emu/x86emu.c
|
Integrate OpenBSD rev 1.5 of x86emu.c.
|
|
22:40:05 - r204933 (2 days 3 hours ago) by delphij |
| Affects:
|
/vendor-sys/x86emu/dist/x86emu.c
|
Grab revision 1.5 from OpenBSD's x86emu.c. This is a purely whitespace
cleanup.
Obtained from: OpenBSD
|
|
22:34:26 - r204932 (2 days 3 hours ago) by jmallett |
Affects:
(7 files)
|
/user/jmallett/octeon/sys/conf/*
/user/jmallett/octeon/sys/mips/conf/*
|
Merge all the Octeon ldscripts. There are better ways to override the
output binary format than doing it in the ldscript, and with TARGET_ABI we
have the right default now anyway.
Now, modulo checking uses of ISA_MIPS32 vs. ISA_MIPS64 here, the n32 and o32
kernel configurations are identical but for sorting and style issues.
|
|
22:10:11 - r204931 (2 days 4 hours ago) by jhb |
MFC 183525: Bump MAXCPU to 32 now that 32 CPU x86 systems exist.
|
|
21:16:36 - r204930 (2 days 5 hours ago) by jhb |
Merge mergeinfo for netinet up to sys.
|
|
21:07:33 - r204929 (2 days 5 hours ago) by edwin |
Make -3 option more urgent than <month> <year> with regarding to
the number of months printed.
|
|
21:06:17 - r204928 (2 days 5 hours ago) by ache |
Add SIZE_MAX overflow check
|
|
21:06:01 - r204927 (2 days 5 hours ago) by ache |
Add SIZE_MAX overflow check
|
|
21:01:12 - r204926 (2 days 5 hours ago) by ed |
| Affects:
|
/head/include/regexp.h
/head/lib/libcompat/Makefile
/head/sys/sys/timeb.h
|
Add warnings to <regexp.h> and <sys/timeb.h>.
These header files only provide functionality that can be used in
combination with libcompat. In order to prevent people from including
them without any actual use (which happens a lot with <sys/timeb.h>),
put a warning here to make people more aware.
This means we have to lower WARNS for libcompat, which is no big deal.
|
|
20:58:15 - r204925 (2 days 5 hours ago) by ed |
| Affects:
|
/head/contrib/ipfilter/ipsend/sbpf.c
|
Remove unneeded include of <sys/timeb.h>.
This header file should not be included by anything.
|
|
20:25:40 - r204924 (2 days 5 hours ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/usr.sbin/Makefile
|
Disable uathload on MIPS for same reason as Itanium.
|
|
20:07:41 - r204923 (2 days 6 hours ago) by weongyo |
Affects:
(5 files)
|
/head/sys/dev/bwn/if_bwn.c
/head/sys/dev/siba/*
|
uses KOBJMETHOD_END macro to indicate the end of method table.
Submitted by: yongari
|
|
19:58:00 - r204922 (2 days 6 hours ago) by weongyo |
Affects:
(5 files)
|
/head/sys/dev/bwn/*
/head/sys/dev/siba/*
|
o uses bus accessor macros to read values from ivar so no more values
are referenced directly from ivar pointer. It's to do like what other
buses do. [1]
o changes exported prototypes. It doesn't use struct siba_* structures
anymore that instead of it it uses only device_t.
o removes duplicate code and debug messages.
o style(9)
Pointed out by: imp [1]
|
|
19:57:44 - r204921 (2 days 6 hours ago) by np |
| Affects:
|
/head/sys/dev/cxgb/common/cxgb_ael1002.c
/head/sys/dev/cxgb/cxgb_main.c
|
Better TwinAx transceiver detection.
Originally submitted by: <Bruno dot Bittner at isilon dot com>
(This is a rewritten, corrected version of that patch)
MFC after: 1 week
|
|
19:39:52 - r204920 (2 days 6 hours ago) by jkim |
| Affects:
|
/head/sys/contrib/dev/acpica/hardware/hwsleep.c
|
Since the interpreter slack mode is a tunable now, enable a local hack only
when it is set. Note the default behaviour does not change by this change.
|
|
19:31:08 - r204919 (2 days 6 hours ago) by sobomax |
| Affects:
|
/head/sbin/newfs/mkfs.c
/head/sbin/newfs/newfs.c
/head/sbin/newfs/newfs.h
|
o bdeficize expand_number_int() function;
o revert most of the recent changes (int -> int64_t conversion) by using
this functon for parsing all options.
|
|
19:19:07 - r204918 (2 days 7 hours ago) by jkim |
Document a new sysctl variable and a loader tunable.
|
|
19:16:43 - r204917 (2 days 7 hours ago) by des |
Affects:
(131 files)
|
/head/crypto/openssh/*
/head/lib/libpam/modules/pam_ssh/pam_ssh.c
/head/secure/*
|
Upgrade to OpenSSH 5.4p1.
MFC after: 1 month
|
|
19:02:02 - r204916 (2 days 7 hours ago) by jkim |
- Allow users to enable dumping Debug objects without ACPI debugger.
Setting the new sysctl MIB "debug.acpi.enable_debug_objects" to a non-zero
value enables us to print Debug object when something is written to it.
- Allow users to disable interpreter slack mode. Setting the new tunable
"debug.acpi.interpreter_slack" to zero disables some workarounds for common
BIOS mistakes and enables strict ACPI implementations by the specification.
|
|
17:26:50 - r204915 (2 days 8 hours ago) by nwhitehorn |
Create a bi-arch toolchain on powerpc64, and connect loader and lib32
to the build. Some of the hacks in /sys/boot and libstand will
disappear once projects/tbemd is merged.
cc -m32 almost works correctly now outside the context of a buildworld,
but gcc insists on overriding ld's correct idea of where 32-bit libraries
should be found with incorrect paths.
|
|
17:16:45 - r204914 (2 days 9 hours ago) by nwhitehorn |
| Affects:
|
/projects/ppc64/sys/powerpc/aim/mmu_oea64.c
|
Fix printf specifier for the 64-bit case.
|
|
15:12:53 - r204913 (2 days 11 hours ago) by jhb |
Now that the workaround for the AMD 10h CPUs is in place, re-enable machine
checks by default on amd64.
Discussed with: alc
|
|
13:41:33 - r204912 (2 days 12 hours ago) by kib |
Affects:
(6 files)
|
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/dev/mfi/*
|
MFC r204590:
Correct mfip module dependency on mfi. This allows mfip to be loaded as
module when mfi is a module itself.
|
|
13:32:50 - r204911 (2 days 12 hours ago) by kib |
MFC r204590:
Correct mfip module dependency on mfi. This allows mfip to be loaded as
module when mfi is a module itself.
|
|
13:08:57 - r204910 (2 days 13 hours ago) by jhb |
| Affects:
|
/stable/7/sys/amd64/amd64/mp_machdep.c
/stable/7/sys/i386/i386/mp_machdep.c
|
Don't include disabled CPUs in the topology map. ULE assumes that all CPUs
in the topology map were present and enabled. Booting a system with
hyperthreading and at least one CPU would cause ULE to attempt to use a
disabled CPU when rebalancing load resulting in a panic. This is a direct
commit to 7 as the topology code is different in 8 and later.
|
|
10:31:03 - r204909 (2 days 15 hours ago) by sobomax |
| Affects:
|
/head/sbin/newfs/newfs.c
/head/sbin/newfs/newfs.h
|
Change secrorsize back to int, since that's the data type expected by the
ioctl(DIOCGSECTORSIZE). It creates issues on some architectures.
MFC after: 1 week
Reported by: Jayachandran C.
|
|
06:43:35 - r204908 (2 days 19 hours ago) by edwin |
| Affects:
|
/head/usr.bin/ncal/ncal.1
/head/usr.bin/ncal/ncal.c
|
- Fix the highlighting for non-terminals when the last week is not
7 days long.
- "-m <N> <YYYY>" now prints only the month, not the whole year.
|
|
03:30:31 - r204907 (2 days 22 hours ago) by alc |
Affects:
(4 files)
|
/head/sys/amd64/amd64/*
/head/sys/amd64/include/*
|
Implement AMD's recommended workaround for Erratum 383 on Family 10h
processors. With this workaround, superpage promotion can be re-enabled
under virtualization. Moreover, machine check exceptions can safely be
enabled when FreeBSD is running natively on Family 10h processors.
Most of the credit should go to Andriy Gapon for diagnosing the error and
working with Borislav Petkov at AMD to document it. Andriy also reviewed
and tested my patches.
Discussed with: jhb
MFC after: 3 weeks
|
|
02:28:20 - r204906 (2 days 23 hours ago) by nwhitehorn |
|
02:08:02 - r204905 (3 days ago) by marcel |
| Affects:
|
/head/sys/ia64/ia64/vm_machdep.c
|
Remove inclusion of <i386/include/psl.h>
While here move inclusion of <sys/lock.h> in a better place.
|
|
02:05:01 - r204904 (3 days ago) by marcel |
Remove support for SYS_RES_DRQ.
|
|
02:00:53 - r204903 (3 days ago) by nwhitehorn |
| Affects:
|
/head/sys/powerpc/aim/interrupt.c
/head/sys/powerpc/booke/interrupt.c
|
Place interrupt handling in a critical section and remove double
counting in incrementing the interrupt nesting level. This fixes a number
of bugs in which the interrupt thread could be preempted by an IPI,
indefinitely delaying acknowledgement of the interrupt to the PIC, causing
interrupt starvation and hangs.
Reported by: linimon
Reviewed by: marcel, jhb
MFC after: 1 week
|
|
01:11:45 - r204902 (3 days 1 hour ago) by qingli |
Affects:
(7 files)
|
/head/sys/net/*
/head/sys/netinet/*
|
One of the advantages of enabling ECMP (a.k.a RADIX_MPATH) is to
allow for connection load balancing across interfaces. Currently
the address alias handling method is colliding with the ECMP code.
For example, when two interfaces are configured on the same prefix,
only one prefix route is installed. So connection load balancing
among the available interfaces is not possible.
The other advantage of ECMP is for failover. The issue with the
current code, is that the interface link-state is not reflected
in the route entry. For example, if there are two interfaces on
the same prefix, the cable on one interface is unplugged, new and
existing connections should switch over to the other interface.
This is not done today and packets go into a black hole.
Also, there is a small bug in the kernel where deleting ECMP routes
in the userland will always return an error even though the command
is successfully executed.
MFC after: 5 days
|
|
00:52:16 - r204901 (3 days 1 hour ago) by delphij |
Remove the check for IFF_DRV_OACTIVE right before adding a port into lagg
interface. The check itself seems to be coming from OpenBSD but does not
seem to be useful for our code.
Discussed with: thomasa
MFC after: 1 month
|
|
00:50:58 - r204900 (3 days 1 hour ago) by ticso |
| Affects:
|
/head/sys/boot/arm/at91/boot2/bwct_board.c
/head/sys/boot/arm/at91/libat91/at91rm9200_lowlevel.c
|
BWCT boards can have 128MB SDRAM.
|
|
00:48:06 - r204899 (3 days 1 hour ago) by ticso |
| Affects:
|
/head/sys/boot/arm/at91/boot2/bwct_board.c
|
|
| 2010 - 03 - 08 (4 days ago) |
23:06:09 - r204898 (3 days 3 hours ago) by delphij |
Affects:
(16 files)
|
/user/delphij/patch/*
|
Initial work on the fully BSD licensed patch(1). This is a port from
OpenBSD's patch(1) as of today with local changes for WARNS=6.
Obtained from: OpenBSD
|
|
23:01:28 - r204897 (3 days 3 hours ago) by delphij |
Create a workspace for myself.
|
|
22:27:46 - r204896 (3 days 3 hours ago) by ache |
Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary comparison" instead.
POSIX says: "The input files shall be text files", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.
|
|
21:42:19 - r204895 (3 days 4 hours ago) by jhb |
MFC 204518:
Print the contents of the miscellaneous (MISC) register to the console if
it is valid along with the other register values when a machine check is
encountered.
|
|
21:36:20 - r204894 (3 days 4 hours ago) by jhb |
MFC 204518:
Print the contents of the miscellaneous (MISC) register to the console if
it is valid along with the other register values when a machine check is
encountered.
|
|
21:30:12 - r204893 (3 days 4 hours ago) by qingli |
MFC 204402
Use reference counting instead of locking to secure an address while
that address is being used to generate temporary IPv6 address. This
approach is sufficient and avoids recursive locking.
|
|
21:29:09 - r204892 (3 days 4 hours ago) by edwin |
Affects:
(4 files)
|
/stable/6/share/zoneinfo/asia
/stable/6/share/zoneinfo/australasia
/stable/6/share/zoneinfo/southamerica
|
MFC of tzdata2010e, r204887
- Adjust beginning / end of DST in Bangladesh (minimal impact)
- Fiji ends DST one month earlier to last Sunday of March
- Samoa changes
- Chile extends DST until 3 April this year.
|
|
21:29:05 - r204891 (3 days 4 hours ago) by edwin |
Affects:
(4 files)
|
/stable/7/share/zoneinfo/asia
/stable/7/share/zoneinfo/australasia
/stable/7/share/zoneinfo/southamerica
|
MFC of tzdata2010e, r204887
- Adjust beginning / end of DST in Bangladesh (minimal impact)
- Fiji ends DST one month earlier to last Sunday of March
- Samoa changes
- Chile extends DST until 3 April this year.
|
|
21:29:00 - r204890 (3 days 4 hours ago) by edwin |
Affects:
(4 files)
|
/stable/8/share/zoneinfo/asia
/stable/8/share/zoneinfo/australasia
/stable/8/share/zoneinfo/southamerica
|
MFC of tzdata2010e, r204887
- Adjust beginning / end of DST in Bangladesh (minimal impact)
- Fiji ends DST one month earlier to last Sunday of March
- Samoa changes
- Chile extends DST until 3 April this year.
|
|
21:25:38 - r204889 (3 days 4 hours ago) by jmallett |
Affects:
(6 files)
|
/user/jmallett/octeon/share/mk/bsd.cpu.mk
/user/jmallett/octeon/sys/mips/conf/*
|
Use the ABI and endianness of the compiler, get rid of TARGET_BIG_ENDIAN checks
in setting default CFLAGS and LDFLAGS and settings of TARGET_BIG_ENDIAN, ABI
and TARGET_64BIT in MIPS kernel configurations.
|
|
21:22:34 - r204888 (3 days 5 hours ago) by jmallett |
Affects:
(7 files)
|
/user/jmallett/octeon/gnu/usr.bin/*
/user/jmallett/octeon/lib/libc/Makefile
/user/jmallett/octeon/sys/*
|
o) Add a TARGET_ABI flag which can be set to o32, n32 or n64.
o) Select default ABI for GCC and emulation for binutils based on the value
of TARGET_ABI at build time.
o) Don't build quad support in libc for MIPS unless TARGET_ABI is o32.
o) Don't specify emulation options gratuitously when building the kernel.
o) Don't specify an ABI when building the kernel, though we are still stuck
with ABI-specific loader scripts.
o) Don't make any Octeon systems default to single user.
Sponsored by: Packet Forensics
|
|
21:17:10 - r204887 (3 days 5 hours ago) by edwin |
Affects:
(4 files)
|
/head/contrib/tzdata/asia
/head/contrib/tzdata/australasia
/head/contrib/tzdata/southamerica
|
MFV of tzdata2010e:
- Adjust beginning / end of DST in Bangladesh (minimal impact)
- Fiji ends DST one month earlier to last Sunday of March
- Samoa changes
- Chile extends DST until 3 April this year.
|
|
21:16:28 - r204886 (3 days 5 hours ago) by lulf |
| Affects:
|
/head/sys/geom/vinum/geom_vinum.c
|
- Set missing flag when initiating a plex rebuild with the rebuildparity
command.
- Check if plex is already syncing or rebuilding before initiating a parity
rebuild or check.
|
|
21:14:21 - r204885 (3 days 5 hours ago) by edwin |
|
21:13:28 - r204884 (3 days 5 hours ago) by edwin |
| Affects:
|
/vendor/tzdata/dist/asia
/vendor/tzdata/dist/australasia
/vendor/tzdata/dist/southamerica
|
Vendor import of tzdata2010e (tzdata2010d was immidaiately superseeded)
- Adjust beginning / end of DST in Bangladesh (minimal impact)
- Fiji ends DST one month earlier to last Sunday of March
- Samoa changes
- Chile extends DST until 3 April this year.
|
|
21:09:47 - r204883 (3 days 5 hours ago) by edwin |
Add bug note:
Running arguments in different orders may give varying results.
|
|
21:05:29 - r204882 (3 days 5 hours ago) by edwin |
When -m is specified, display only one month.
|
|
20:57:35 - r204881 (3 days 5 hours ago) by edwin |
Fixed issue with aligning of next month after a highlighted day for
non-terminal output.
|
|
20:45:52 - r204880 (3 days 5 hours ago) by kib |
| Affects:
|
/head/usr.bin/procstat/procstat_sigs.c
|
Add file forgotten in r204879.
|
|
20:44:22 - r204879 (3 days 5 hours ago) by kib |
Affects:
(4 files)
|
/head/usr.bin/procstat/*
|
Teach procstat(1) to display some information about signal disposition
and pending/blocked status for signals.
Reviewed by: rwatson
MFC after: 2 weeks
|
|
19:58:00 - r204878 (3 days 6 hours ago) by fabient |
| Affects:
|
/head/sys/dev/hwpmc/hwpmc_logging.c
/head/sys/sys/pmc.h
/head/usr.sbin/pmcstat/pmcstat_log.c
|
Change the way shutdown is handled for log file.
pmc_flush_logfile is now non-blocking and just ask the kernel
to shutdown the file. From that point, no more data is
accepted by the log thread and when the last buffer is flushed
the file is closed.
This will remove a deadlock between pmcstat asking for
flush while it cannot flush the pipe itself.
MFC after: 3 days
|
|
19:40:31 - r204877 (3 days 6 hours ago) by jkim |
| Affects:
|
/head/sys/modules/acpi/acpi/Makefile
|
Enable ACPI module build on amd64. Although we strongly recommend building
it into kernel, there is no need to prevent it from building at all.
|
|
19:40:22 - r204876 (3 days 6 hours ago) by ache |
1) Reimplement (differently) unlimited line length restricted in prev.
commit.
2) Honor missing the very last \n (if absent) on output.
|
|
18:51:28 - r204875 (3 days 7 hours ago) by joel |
| Affects:
|
/head/sys/dev/sound/pci/es137x.h
|
Looks like I forgot to add half of the copyright text when we switched to
our preferred license.
|
|
18:40:22 - r204874 (3 days 7 hours ago) by jkim |
| Affects:
|
/head/sys/modules/acpi/acpi/Makefile
|
Update module Makefile for ACPICA 20100304.
Submitted by: Paul B Mahol (onemda at gmail dot com)
|
|
16:53:58 - r204873 (3 days 9 hours ago) by mav |
MFC r204648:
Several changes to fix livelock under high load, introduced by r203489:
- change the way in which command queue overflow is handled;
- do not expose to CAM two command slots, used for driver's internal purposes;
- allow driver to use up to 1024 command slots, instead of 256 before.
|
|
16:23:32 - r204872 (3 days 10 hours ago) by jh |
| Affects:
|
/head/usr.bin/xlint/lint1/scan.l
|
Pass the correct size to memset().
PR: bin/128094
Submitted by: Henning Petersen
MFC after: 1 week
|
|
15:56:18 - r204871 (3 days 10 hours ago) by nwhitehorn |
Affects:
(31 files)
|
/projects/ppc64/sys/*
|
It turns out that the 32-bit linuxolator is strongly tied into in the
32-bit bsdolater, and having separate COMPAT_{ARCH32,FREEBSD32,LINUX32)
is basically unworkable. Kill COMPAT_ARCH32, and just make COMPAT_FREEBSD32
a direct replacement for it.
|
|
15:01:08 - r204870 (3 days 11 hours ago) by nwhitehorn |
Enable tmpfs unconditionally on all platforms. No one I spoke to could
remember why it was x86 only, and it works just as well on at least powerpc
as on x86.
|
|
14:43:55 - r204869 (3 days 11 hours ago) by luigi |
add back DPADD (removed by mistake in a previous commit)
|
|
13:37:14 - r204868 (3 days 12 hours ago) by luigi |
| Affects:
|
/stable/8/release/picobsd/build/picobsd
/stable/8/release/picobsd/floppy.tree/sbin
|
MFC main build script and missing directory
|
|
13:12:35 - r204867 (3 days 13 hours ago) by hrs |
| Affects:
|
/user/hrs/ipv6/usr.sbin/route6d/route6d.c
|
- Handle routes which are not marked as Qflag again.
- Ignore routes of !RTF_GATEWAY && !RTF_HOST && !RTF_STATIC.
- Add sleep(1) between NET_RT_DUMP retries.
|
|
11:27:39 - r204866 (3 days 14 hours ago) by luigi |
| Affects:
|
/head/sys/netinet/ipfw/test/dn_test.h
|
cosmetic changes and C++ compatibility
|
|
11:27:08 - r204865 (3 days 14 hours ago) by luigi |
| Affects:
|
/head/sys/netinet/ipfw/dn_heap.c
/head/sys/netinet/ipfw/dn_heap.h
|
don't use C++ keywords as variable names
|
|
11:25:45 - r204864 (3 days 14 hours ago) by des |
Affects:
(166 files)
|
/vendor-crypto/openssh/5.4p1/*
|
|
11:24:19 - r204863 (3 days 15 hours ago) by des |
Affects:
(5 files)
|
/vendor-crypto/openssh/dist/*
|
Forgot to remove dead files
|
|
11:22:47 - r204862 (3 days 15 hours ago) by luigi |
| Affects:
|
/head/sys/netinet/ipfw/ip_dummynet.c
|
do not report an error unnecessarily
|
|
11:19:52 - r204861 (3 days 15 hours ago) by des |
Affects:
(160 files)
|
/vendor-crypto/openssh/dist/*
|
Vendor import of OpenSSH 5.4p1
|
|
08:05:02 - r204860 (3 days 18 hours ago) by fabient |
Affects:
(4 files)
|
/stable/7/usr.sbin/pmcstat/pmcpl_callgraph.c
/stable/7/usr.sbin/pmcstat/pmcpl_calltree.c
/stable/7/usr.sbin/pmcstat/pmcstat.c
|
MFC r204783:
Bug fixed:
- no display on serial terminal in top mode.
- display alignment for continuation string.
- correct invalid value used for display limit.
|
|
07:53:44 - r204859 (3 days 18 hours ago) by fabient |
Affects:
(4 files)
|
/stable/8/usr.sbin/pmcstat/pmcpl_callgraph.c
/stable/8/usr.sbin/pmcstat/pmcpl_calltree.c
/stable/8/usr.sbin/pmcstat/pmcstat.c
|
MFC r204783:
Bug fixed:
- no display on serial terminal in top mode.
- display alignment for continuation string.
- correct invalid value used for display limit.
|
|
06:00:42 - r204858 (3 days 20 hours ago) by nwhitehorn |
Affects:
(4 files)
|
/projects/ppc64/sys/amd64/*
/projects/ppc64/sys/i386/linux/linux_sysvec.c
/projects/ppc64/sys/ia64/conf/NOTES
|
Unbreak ia64, i386, and amd64 builds due to changes to the 32-bit compat
build options and to exec_setregs.
|
|
05:19:56 - r204857 (3 days 21 hours ago) by kmacy |
| Affects:
|
/user/kmacy/releng_8_page_lock/sys/amd64/amd64/pmap.c
|
|
05:16:20 - r204856 (3 days 21 hours ago) by kmacy |
| Affects:
|
/user/kmacy/head_page_lock/sys/amd64/amd64/pmap.c
|
- streamline pmap_remove_page using pa_retrylock
- remove gratuitous unlock from pmap_remove_pages
|
|
05:03:24 - r204855 (3 days 21 hours ago) by kmacy |
Affects:
(32 files)
|
/user/kmacy/releng_8_page_lock/sys/*
|
integrate page lock patch from HEAD
|
|
04:56:39 - r204854 (3 days 21 hours ago) by kmacy |
| Affects:
|
/user/kmacy/head_page_lock/sys/amd64/amd64/pmap.c
|
switch to pa_retrylock to avoid deadlock with a previously acquired superpage
|
|
03:20:26 - r204853 (3 days 23 hours ago) by kmacy |
create branch for integrating page lock in to stable/8
|
|
01:51:14 - r204852 (4 days ago) by kmacy |
| Affects:
|
/user/kmacy/head_page_lock/sys/vm/vm_pageout.c
|
fix merge errors in vm_pageout
- remove write from pages to be swapped
- don't hold lock across vm_pageout_flush
|
|
| 2010 - 03 - 07 (5 days ago) |
23:58:44 - r204851 (4 days 2 hours ago) by kmacy |
Affects:
(31 files)
|
/user/kmacy/head_page_lock/sys/*
|
This is the second iteration of incorporating Jeffr's patch to break down the
vm_page_queue mutex for operations which don't actually manipulate the page
queues in to a hashed set of locks. This time around, rather than exposing
ourselves to a race condition by dropping the locks in pmap_collect, I have
eliminated the need for pmap_collect altogether by pre-allocating any
necessary pv_entrys before changing any pmap state. This complicated calls
to demote slightly, but can probably be simplified later.
|
|
22:37:35 - r204850 (4 days 3 hours ago) by imp |
Bump up the firmware_table from 30 to 50. bwn needs more than 30, it
seems.
|
|
21:54:28 - r204849 (4 days 4 hours ago) by edwin |
| Affects:
|
/head/usr.bin/ncal/ncal.1
/head/usr.bin/ncal/ncal.c
|
- document the -3, -A and -B properly in Synopsis.
- add highlight of current date for non-terminals.
- fix -J option.
- code cleanup.
MFC after: 2 weeks
|
|
21:50:40 - r204848 (4 days 4 hours ago) by edwin |
Cleanup duplicate code into a single path.
|
|
21:39:47 - r204847 (4 days 4 hours ago) by edwin |
| Affects:
|
/user/edwin/ncal/Makefile
/user/edwin/ncal/ncal.c
|
- split highlighting-of-today code from the calculate-the-month code.
- in case the output is not a terminal, use the _ backspace trick
to highlight (keeps less(1) happy).
|
|
21:27:47 - r204846 (4 days 4 hours ago) by nwhitehorn |
| Affects:
|
/projects/ppc64/gnu/usr.bin/gdb/arch/powerpc
|
Add back the 32-bit PPC code. This unbreaks buildworld on PowerPC, and is
the first step of an platforms-that-are-not-powerpc64 unbreaking and
testing sweep on this branch.
Submitted by: Andreas Tobler
|
|
21:22:46 - r204845 (4 days 5 hours ago) by nwhitehorn |
| Affects:
|
/projects/ppc64/gnu/usr.bin/gdb/arch/powerpc
/projects/ppc64/gnu/usr.bin/gdb/arch/powerpc64
|
|
21:20:28 - r204844 (4 days 5 hours ago) by nwhitehorn |
| Affects:
|
/projects/ppc64/gnu/usr.bin/gdb/arch/powerpc64
|
Begin undoing a mistake with a symlink.
|
|
20:06:06 - r204843 (4 days 6 hours ago) by kib |
Affects:
(6 files)
|
/stable/7/sys/cddl/contrib/opensolaris
/stable/7/sys/contrib/*
/stable/7/sys/net/*
|
MFC r204464:
Several fixes for miscellaneous clone handlers in if_tun and if_tap.
Tested by: Mikolaj Golub <to.my.trociny gmail com>
|
|
18:43:29 - r204842 (4 days 7 hours ago) by jilles |
| Affects:
|
/head/tools/regression/bin/sh/expansion/assign1.0
/head/tools/regression/bin/sh/expansion/plus-minus1.0
|
sh: Add some testcases for ${v=w}, ${v-w}, ${v+w}.
These expansions, which were already in the Bourne shell, work correctly for
the most part. The testcases are only about the parts that already work
correctly.
|
|
16:54:56 - r204841 (4 days 9 hours ago) by hrs |
| Affects:
|
/user/hrs/ipv6/usr.sbin/route6d/Makefile
/user/hrs/ipv6/usr.sbin/route6d/route6d.c
|
- Use !(rtm->rtm_flags & RTF_GATEWAY) as the condition for
connected routes.
- WARN=6.
|
|
16:45:18 - r204840 (4 days 9 hours ago) by bz |
As statfs.f_flags are uint64_t the local variables should be as well.
We'll start noticing this with the next flag introduced as the lower
32bit are all used.
As this is old code we might need to do a full tree sweep one day, unless
changing our strategy to use a different `API' for getting/setting flags
along with the rest of the statfs data.
While here compare to 0 explicitly [1].
Suggested by: kib [1]
Reviewed by: kib
MFC after: 5 days
|
|
16:24:33 - r204839 (4 days 10 hours ago) by luigi |
Affects:
(6 files)
|
/stable/8/release/picobsd/qemu/*
|
|
15:58:44 - r204838 (4 days 10 hours ago) by bz |
Destroy TCP UMA zones (empty or not) upon network stack teardown
to not leak them, otherwise making UMA/vmstat unhappy with every stoped vnet.
We will still leak pages (especially for zones marked NOFREE).
Reshuffle cleanup order in tcp_destroy() to get rid of what we can
easily free first.
Sponsored by: ISPsystem
Reviewed by: rwatson
MFC after: 5 days
|
|
15:37:58 - r204837 (4 days 10 hours ago) by bz |
Affects:
(5 files)
|
/head/sys/net/radix.c
/head/sys/net/radix.h
/head/sys/netinet/ipfw/*
|
Not only flush the ipfw tables when unloading ipfw or tearing
down a virtual netowrk stack, but also free the Radix Node Head.
Sponsored by: ISPsystem
Reviewed by: julian
MFC after: 5 days
|
|
15:08:42 - r204836 (4 days 11 hours ago) by jilles |
| Affects:
|
/head/tools/regression/bin/sh/parser/heredoc1.0
|
sh: Add various testcases for here documents.
They are mainly about expansions in here documents but because all the
testcases are in $() command substitution, we also test that $() command
substitution is recursively parsed (or very close to it).
|
|
15:07:24 - r204835 (4 days 11 hours ago) by luigi |
Affects:
(4 files)
|
/stable/8/release/picobsd/bridge/*
/stable/8/release/picobsd/build/mfs.mtree
/stable/8/release/picobsd/floppy.tree/etc/master.passwd
|
|
14:58:25 - r204834 (4 days 11 hours ago) by luigi |
all important pieces in this branch are now in HEAD, so we don't
need it anymore.
|
|
14:55:43 - r204833 (4 days 11 hours ago) by antoine |
Remove old documents when they are not compressed.
(NO_INFOCOMPRESS, NO_DOCCOMPRESS or NO_MANCOMPRESS)
MFC after: 1 month
|
|
14:31:57 - r204832 (4 days 11 hours ago) by luigi |
working area to merge recent ipfw and dummynet work to RELENG_8
|
|
14:29:12 - r204831 (4 days 11 hours ago) by luigi |
| Affects:
|
/stable/8/sys/kern/kern_timeout.c
|
MFC r197137 and r200510, which fixes a problem in 8.0
with callouts firing one tick too late. See the logs for
the original patch for details.
RELENG_7 is not affected by the problem.
|
|
14:23:44 - r204830 (4 days 12 hours ago) by rwatson |
Locking the tcbinfo structure should not be necessary in tcp_timer_delack(),
so don't.
MFC after: 1 week
Reviewed by: bz
Sponsored by: Juniper Networks
|
|
14:13:59 - r204829 (4 days 12 hours ago) by rwatson |
Add comment in tcp_discardcb() talking about how we don't, but should,
address TCP races relating to not calling tcp_drain() on stopped callouts.
Discussed with: bz
|
|
12:41:42 - r204828 (4 days 13 hours ago) by hrs |
| Affects:
|
/user/hrs/ipv6/usr.sbin/route6d/route6d.c
|
- Use RTF_PROTO2 for routes handled by RIPng and ignore the other
routes.
The route6d depends on RTF_WASCLONED to prevent connected
network routes (normally configured automatically when ifconfig
assigns an address with a prefix) from being removed. However,
that flag is no longer used on 8.0 and later due to lltable
rework. The route6d now sees routes with RTF_PROTO2 only.
The flag can be changed by the -Q <num> flag. The default is
2.
- -Q and -P now allow the value "0". It clears the flag itself.
|
|
12:29:50 - r204827 (4 days 13 hours ago) by ivoras |
MFC r204611, r204633: Comment and better sysctl documentation string for
VM guest detection variable and sysctl.
|
|
10:47:47 - r204826 (4 days 15 hours ago) by rwatson |
Make udp_set_kernel_tunneling() less forgiving when its invariants are
violated: so_pcb can never be NULL for a valid UDP socket, and it is
always SOCK_DGRAM. Use sotoinpcb() as the rest of the UDP code does.
MFC after: 1 week
Reviewed by: bz
Sponsored by: Juniper Networks
|
|
10:43:45 - r204825 (4 days 15 hours ago) by ed |
| Affects:
|
/head/sys/compat/linprocfs/linprocfs.c
|
Make /proc/self/fd `work'.
On Linux, /proc/<pid>/fd is comparable to fdescfs, where it allows you
to inspect the file descriptors used by each process. Glibc's ttyname()
works by performing a readlink() on these nodes, since all nodes in this
directory are symlinks.
It is a bit hard to implement this in linprocfs right now, so I am not
going to bother. Add a way to make ttyname(3) work, by adding a
/proc/<pid>/fd symlink, which points to /dev/fd only if the calling
process matches. When fdescfs is mounted, this will cause the
readlink() in ttyname() to fail, causing it to fall back on manually
finding a matching node in /dev.
Discussed on: emulation@
|
|
10:08:00 - r204824 (4 days 16 hours ago) by obrien |
Look for "compile" to decide if this is run as part of the kernel build.
The assumption of "${ARCH}/compile/FOO" is much harder to change in our
build (so assume one hasn't), then assuming every kernel is rooted at "sys/".
|
|
09:52:35 - r204823 (4 days 16 hours ago) by kib |
MFC r204464:
Several fixes for miscellaneous clone handlers in if_tun and if_tap.
|
|
09:02:52 - r204822 (4 days 17 hours ago) by hrs |
| Affects:
|
/user/hrs/ipv6/usr.sbin/route6d/route6d.8
/user/hrs/ipv6/usr.sbin/route6d/route6d.c
|
* Support RTM_IFANNOUNCE message. route6d now works even when an
interface is added or removed dynamically.
* Improve data structures for the prefix filter:
- struct ifc (for interfaces) and struct iff (for filters) are now
separated from each other; struct iff is now a separated
singly-linked list which contains if_name in each entry. Linear
search is used for the prefix matching.
- interface specifier in filtering rule now accepts non-existent
interfaces at boot time and glob characters like gif* or fxp[012].
(this is based on fnmatch(3))
* Add a new flags:
- -P num: ignore routes marked as RTF_PROTO<num>.
- -Q num: set RTF_PROTO<num> for routes added by route6d.
- -p pidfile: specify the PID file.
* Increase retry count for NET_RT_DUMP to 15.
* Usage:
These fix a typical issue when using route6d + other routing daemon.
For example, net/openbgpd which uses RTF_PROTO1 for its routing
entries. However, route6d adds/removes routing entries regardless
of the RTF_PROTO* flags, it happens that routes added by openbgpd is
removed by route6d, and vice versa. Adding "-P 1" solves this
situation. This is applied to net/quagga, too.
Also, the glob character support greatly simplifies your command
line options like this:
[before]
route6d_flags="\
-N bge0,bge1,re0,gif0,gif1,gif4,gre0,gre1,gre2,gre3,gre4,gre5,gre6,\
gre7,gre8,gre9,gre10,gre11,gre12,gre13,gre14,bridge0 \
-T gif2 \
-O 2001:db8:705:ef00::/56,gif3 \
-A 2001:db8:705:ef00::/56,gif3 \
-L 2001:db8:19:ff::/64,gif3 \
"
[after]
route6d_flags="\
-P 1 \
-N bge*,re0,gif[014],gre*,bridge* \
-T gif2 \
-O 2001:db8:705:ef00::/56,gif3 \
-A 2001:db8:705:ef00::/56,gif3 \
-L 2001:db8:19:ff::/64,gif3 \
"
|
|
08:54:06 - r204821 (4 days 17 hours ago) by ed |
Improve the contents of termcap.small.
- Remove dosansi, pc and pc3. I suspect nobody ever needs these.
- Add vt100, screen and xterm-color.
This file is now probably more than sufficient in most cases, even for
common use outside single user mode, where people just use the console
driver, a graphical terminal emulator and a terminal multiplexer.
|
|
08:30:21 - r204820 (4 days 17 hours ago) by ed |
Install termcap.small.
Right now we have a termcap.small in the tree, but we don't install it.
If we do install this file by default, it is more likely for
applications to work in single user mode.
I am not entirely happy with the contents of this file. In my opinion we
should remove the `dosansi', `pc' and `pc3' entries and replace them
with `vt100' in case someone uses a serial console.
The file does already have entries for `cons25' and `xterm', which is
used most often.
Requested by: brucec
|
|
07:59:05 - r204819 (4 days 18 hours ago) by joel |
Affects:
(9 files)
|
/head/bin/setfacl/*
/head/lib/libc/posix1e/acl_strip.c
|
Switch to our preferred license text.
Approved by: jedgar
|
|
04:26:21 - r204818 (4 days 21 hours ago) by dougb |
Implement the idea of parallel-only-at-start-time in a cleaner, more
rc.d'ish way.
Not objected to by: netchild
|
|
02:04:59 - r204817 (5 days ago) by gshapiro |
Affects:
(2 files)
|
/stable/6/lib/libsm/Makefile
|
MFC: Enable the use of nanosleep() instead of using pause() and signals.
This Makefile change can be removed when the next version of sendmail
is imported as it will have this built in to the FreeBSD conf.h section.
|
|
02:03:25 - r204816 (5 days ago) by gshapiro |
Affects:
(2 files)
|
/stable/7/lib/libsm/Makefile
|
MFC: Enable the use of nanosleep() instead of using pause() and signals.
This Makefile change can be removed when the next version of sendmail
is imported as it will have this built in to the FreeBSD conf.h section.
|
|
02:02:07 - r204815 (5 days ago) by gshapiro |
Affects:
(2 files)
|
/stable/8/lib/libsm/Makefile
|
MFC: Enable the use of nanosleep() instead of using pause() and signals.
This Makefile change can be removed when the next version of sendmail
is imported as it will have this built in to the FreeBSD conf.h section.
|
|
00:07:00 - r204814 (5 days 2 hours ago) by marcel |
Affects:
(3 files)
|
/stable/8/lib/libc/stdtime
/stable/8/lib/libc/sys/ptrace.2
|
MFC revs 203696, 203783:
Add PT_VM_TIMESTAMP and PT_VM_ENTRY so that the tracing process can
obtain the memory map of the traced process.
Requested by: kib@
|
|
00:05:44 - r204813 (5 days 2 hours ago) by marcel |
MFC revs 203696, 203708, 203783 and 203788:
Add PT_VM_TIMESTAMP and PT_VM_ENTRY so that the tracing process can
obtain the memory map of the traced process.
Requested by: kib@
|
|
| 2010 - 03 - 06 (6 days ago) |
23:01:10 - r204812 (5 days 3 hours ago) by edwin |
Affects:
(3 files)
|
/user/edwin/ncal/ncal.1
/user/edwin/ncal/ncal.c
|
Fix the -y option
In the Julian day format, properly highlight the current day
Update the manpage with -3, -A and -B
|
|
22:38:38 - r204811 (5 days 3 hours ago) by ache |
Remove vestiges of old %-format which prevents build on amd64
|
|
22:04:45 - r204810 (5 days 4 hours ago) by rwatson |
Remove unnecessary locking of divcbinfo lock from div_output(): this has not
been required since FreeBSD 7.0 when the so_pcb pointer leading to inp was
guaranteed to be stable when a valid socket reference is held (as it is in
the output path).
MFC after: 1 week
Reviewed by: bz
Sponsored by: Juniper Networks
|
|
21:38:31 - r204809 (5 days 4 hours ago) by rwatson |
Add a comment to tcp_usr_accept() to indicate why it is we acquire the
tcbinfo lock there: r175612, which re-added it, masked a race between
sonewconn(2) and accept(2) that could allow an incompletely initialized
address on a newly-created socket on a listen queue to be exposed. Full
details can be found in that commit message.
MFC after: 1 week
Sponsored by: Juniper Networks
|
|
21:27:26 - r204808 (5 days 4 hours ago) by bz |
| Affects:
|
/head/sys/net/radix.c
/head/sys/net/radix.h
|
Introduce a function rn_detachhead() that will free the
radix table root nodes. This is only needed (and available)
in the virtualization case to free the resources when tearing
down a virtual network stack.
Sponsored by: ISPsystem
Reviewed by: julian, zec
MFC after: 5 days
|
|
21:24:32 - r204807 (5 days 5 hours ago) by bz |
Destroy UDP UMA zones (empty or not) upon network stack teardown
to not leak them making the VM subsystem unhappy with every stoped vnet(*).
We will still leak pages (especially as zones are marked NOFREE).
(*) This will also keep vmstat -z more usable.
Sponsored by: ISPsystem
MFC after: 5 days
|
|
21:24:11 - r204806 (5 days 5 hours ago) by rwatson |
| Affects:
|
/head/sys/netinet/in_pcb.h
/head/sys/netinet/tcp_input.c
|
Wrap use of rw_try_upgrade() on pcbinfo with macro INP_INFO_TRY_UPGRADE()
to match other pcbinfo locking macros.
MFC after: 1 week
|
|
21:22:28 - r204805 (5 days 5 hours ago) by bz |
Rework reference counting in case we queue into the netisr,
or overflow the netisr queue and fall back to the interface
queue so that we can garuantee that the ifnet pointer stays
valid. Formerly we ended up with reference counts <= 0 in
case the netisr had returned ENOBUFS. The idea is to track
any packet in the netisr queue and only change the refount
on edge operations for the fallback interface queue. This
also avoids problems in case the if_snd.ifq_len lies to us.
Also rework refount assertions to make sure they trigger if
we go below 1. Formerly a negative refence count did not
trigger the assert as the refcount variable is u_int.
Sponsored by: ISPsystem
MFC after: 5 days
|
|
20:03:26 - r204804 (5 days 6 hours ago) by pjd |
| Affects:
|
/head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
|
Remove racy assertion.
Reported by: Attila Nagy <bra@fsn.hu>
Obtained from: OpenSolaris, Bug ID 6827260
MFC after: 1 week
|
|
19:21:57 - r204803 (5 days 7 hours ago) by ache |
1) Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary equal" check instead.
POSIX says: "The input file shall be a text file", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.
2) Speedup input processing a bit in complex cases like skipping fields,
chars or ignore case.
3) Enforce the implied LINE_MAX limit (from POSIX definition of "text file"
and POSIX uniq(1) description).
|
|
17:31:09 - r204802 (5 days 8 hours ago) by jilles |
| Affects:
|
/head/bin/sh/eval.c
/head/tools/regression/bin/sh/builtins/command10.0
|
sh: Make sure to popredir() even if a function caused an error.
|
|
17:09:22 - r204801 (5 days 9 hours ago) by jilles |
| Affects:
|
/head/bin/sh/eval.c
/head/tools/regression/bin/sh/builtins/command9.0
|
sh: Make sure to popredir() even if a special builtin caused an error.
|
|
16:57:53 - r204800 (5 days 9 hours ago) by jilles |
Affects:
(7 files)
|
/head/bin/sh/*
/head/tools/regression/bin/sh/*
|
sh: Improve the command builtin:
* avoid unnecessary fork
* allow executing builtins via command
* executing a special builtin via command removes its special properties
Obtained from: NetBSD (parts)
|
|
16:45:55 - r204799 (5 days 9 hours ago) by ivoras |
MFC virtual machine guest detection code and r204420 - code to disable
superpages on buggy AMD CPUs.
Reviewed by: alc
|
|
16:27:43 - r204798 (5 days 9 hours ago) by hrs |
Affects:
(10 files)
|
/user/hrs/ipv6/sbin/ifconfig/*
/user/hrs/ipv6/sys/netinet6/*
|
Summary:
- Accept Router Advertisement messages even when
net.inet6.ip6.forwarding=1.
- A new per-interface knob: IPV6CTL_DEFROUTE_RTADV. This controls
if accepting a route in an RA message as the default route.
- A new sysctl: net.inet6.ip6.disable_isrouter_rtadvif. This
controls if setting R-bit in NA on RA accepting interfaces. The
default is 0 (R-bit is set based on net.inet6.ip6.forwarding).
Background:
IPv6 host/router model suggests a router sends an RA and a host
accepts it for router discovery. Because of that, KAME
implementation does not allow accepting RAs when
net.inet6.ip6.forwarding=1. Accepting RAs on a router can make the
routing table confused since it can change the default router
unintentionally.
However, in practice there are cases where we cannot distinguish a
host from a router clearly. For example, a customer edge router
often works as a host against the ISP, and as a router against the
LAN at the same time. Another example is a complex network
configurations like an L2TP tunnel for IPv6 connection to Internet
over an Ethernet link with another native IPv6 subnet. In this case,
the physical interface for the native IPv6 subnet works as a host,
and the pseudo-interface for L2TP works as the default IP forwarding
route.
Problems:
When processing RA messages is limited when
net.inet6.ip6.forwarding=1, the following issues are typical:
- A router cannot perform SLAAC. It becomes a problem if a box has
multiple interfaces and you want to use SLAAC on some of them, for
example. A customer edge router for IPv6 Internet access service
using an IPv6-over-IPv6 tunnel sometimes needs SLAAC on the
physical interface for administration purpose; updating firmware
and so on (link-local addresses can be used there, but GUAs by
SLAAC are often used for scalability).
- When a box has multiple IPv6 interfaces and it receives multiple
RAs on them, controlling the default route is difficult. Router
preferences defined in RFC 4191 works only when the routers are
under your control.
Details of Implementation Changes:
Router Advertisement messages will be accepted even when
net.inet6.ip6.forwarding=1. More precisely, the conditions are as
follow:
(ACCEPT_RTADV && DEFROUTE_RTADV)
=> Normal RA processing (as IPv6 host)
(ACCEPT_RTADV && !DEFROUTE_RTADV)
=> Accept RA but add the router to the defroute list with
rtlifetime=0 unconditionally. This effectively prevents
from setting the received router address as the box's
default route.
(!ACCEPT_RTADV && DEFROUTE_RTADV)
=> No RA processing
ACCEPT_RTADV and DEFROUTE_RTADV are per-interface knob.
R-bit in NA on the RA accepting interfaces is set based on
net.inet6.ip6.forwarding. While an on-going discussion on
draft-ietf-v6ops-ipv6-cpe-router suggests R-bit can be disabled
completely even when net.inet6.ip6.forwarding=1, I believe there is
no technical reason with disabling it. This behavior can be set by a
new sysctl net.inet6.ip6.disable_isrouter_rtadvif (the default is 0).
Usage:
# ifconfig fxp0 inet6 accept_rtadv
=> accept RA on fxp0
# ifconfig fxp0 inet6 accept_rtadv -defroute_rtadv
=> accept RA but ignore default route information on fxp0.
The default value of defroute_rtadv flag can be set by
net.inet6.ip6.defroute_rtadv (the default is 1).
# sysctl net.inet6.ip6.disable_isrouter_rtadvif=1
=> R-bit in NAs on RA accepting interfaces will always be set as 0.
Reviewed by: bz
|
|
12:47:50 - r204797 (5 days 13 hours ago) by hrs |
Create playground for IPv6-related work.
|
|
12:35:33 - r204796 (5 days 13 hours ago) by kib |
MFC r204413:
For kinfo_proc in kp->ki_siglist, return the set of the signals pending
in the process queue when gathering information for the process, and set
of signals pending for the thread, when gathering information for the
thread.
|
|
11:07:17 - r204795 (5 days 15 hours ago) by rdivacky |
| Affects:
|
/projects/clangbsd/usr.bin/clang/lib/libllvmtransformutils/Makefile
|
|
11:06:53 - r204794 (5 days 15 hours ago) by rdivacky |
Affects:
(252 files)
|
/projects/clangbsd/contrib/llvm/*
|
|
09:23:02 - r204793 (5 days 17 hours ago) by rdivacky |
Affects:
(84 files)
|
/vendor/clang/dist/*
|
|
09:22:29 - r204792 (5 days 17 hours ago) by rdivacky |
Affects:
(166 files)
|
/vendor/llvm/dist/*
|
|
09:09:54 - r204791 (5 days 17 hours ago) by rdivacky |
| Affects:
|
/projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
|
Dont define the program path to be inherited from the binary
location but set it to /usr/bin
|
|
05:57:24 - r204790 (5 days 20 hours ago) by joel |
Switch to our preferred license text.
Approved by: imp
|
|
05:49:15 - r204789 (5 days 20 hours ago) by jmallett |
| Affects:
|
/head/sys/mips/cavium/octeon_ebt3000_cf.c
|
Check for device faults and for failures to set DRQ when expected, rather
than spinning forever. This fixes booting with CF ejected.
NB: I've made the driver pretty chatty about errors in case there's hardware
that operates differently to mine, so we can easily track down any issues.
Reviewed by: imp
Sponsored by: Packet Forensics
|
|
05:45:49 - r204788 (5 days 20 hours ago) by jmallett |
Affects:
(4 files)
|
/head/sys/mips/include/*
/head/sys/mips/mips/*
|
o) Consistently use MIPS_KSEGn_TO_PHYS instead of MIPS_{,UN}CACHED_TO_PHYS etc.
Get rid of the macros that spell KSEG0 CACHED and KSEG1 UNCACHED.
o) Get rid of some nearby duplicated and unused macros.
Reviewed by: imp
|
|
01:00:11 - r204787 (6 days 1 hour ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/lib/libc/mips/SYS.h
|
|
00:54:58 - r204786 (6 days 1 hour ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
|
Remove some chattiness from the rgmx driver.
|
|
00:45:36 - r204785 (6 days 1 hour ago) by jmallett |
| Affects:
|
/user/jmallett/octeon/sys/mips/cavium/octeon_ebt3000_cf.c
|
Check for device faults and for failures to set DRQ when expected, rather
than spinning forever. This fixes booting with CF ejected.
|
|
|