From vova at fbsd.ru Tue Jul 1 04:55:36 2008 From: vova at fbsd.ru (Vladimir Grebenschikov) Date: Tue Jul 1 04:55:39 2008 Subject: [fwd] cvs commit: src/lib/libthr/thread thr_mutex.c thr_umtx.c thr_umtx.h src/sys/kern kern_umtx.c src/sys/sys umtx.h In-Reply-To: <200806240737.m5O7bhc5018813@repoman.freebsd.org> References: <200806240737.m5O7bhc5018813@repoman.freebsd.org> Message-ID: <1214850524.42354.9.camel@localhost> On Tue, 2008-06-24 at 07:32 +0000, David Xu wrote: This commit makes threaded application almost unusable on 8-CURRENT. Applications eat 100% CPU all the time and works _very_ slowly. (top shows several threads for every constantly applications eating CPU) Following applications are affected for me: firefox, evolution, eclipse (probably more). Reverting user-land part of commit fixes problem, reverting kernel changes nothing regarding the problem. I have: FreeBSD 8.0-CURRENT #0: Fri Jun 20 17:14:23 MSD 2008 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 > davidxu 2008-06-24 07:32:12 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/thread thr_mutex.c thr_umtx.c thr_umtx.h > sys/kern kern_umtx.c > sys/sys umtx.h > Log: > SVN rev 179970 on 2008-06-24 07:32:12Z by davidxu > > Add two commands to _umtx_op system call to allow a simple mutex to be > locked and unlocked completely in userland. by locking and unlocking mutex > in userland, it reduces the total time a mutex is locked by a thread, > in some application code, a mutex only protects a small piece of code, the > code's execution time is less than a simple system call, if a lock contention > happens, however in current implemenation, the lock holder has to extend its > locking time and enter kernel to unlock it, the change avoids this disadvantage, > it first sets mutex to free state and then enters kernel and wake one waiter > up. This improves performance dramatically in some sysbench mutex tests. > > Tested by: kris > Sounds great: jeff > > Revision Changes Path > 1.75 +33 -35 src/lib/libthr/thread/thr_mutex.c > 1.17 +60 -10 src/lib/libthr/thread/thr_umtx.c > 1.14 +13 -9 src/lib/libthr/thread/thr_umtx.h > 1.71 +142 -35 src/sys/kern/kern_umtx.c > 1.33 +3 -1 src/sys/sys/umtx.h > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" -- Vladimir B. Grebenschikov vova@fbsd.ru From kientzle at FreeBSD.org Tue Jul 1 05:45:09 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Tue Jul 1 05:45:12 2008 Subject: cvs commit: src/usr.bin/cpio cpio.c Message-ID: <200807010545.m615j9oP029696@repoman.freebsd.org> kientzle 2008-07-01 05:45:03 UTC FreeBSD src repository Modified files: usr.bin/cpio cpio.c Log: SVN rev 180138 on 2008-07-01 05:45:03Z by kientzle Don't try to hardlink directories. While I'm here, expand some comments to make this section of code a little clearer. Revision Changes Path 1.6 +10 -3 src/usr.bin/cpio/cpio.c From rwatson at FreeBSD.org Tue Jul 1 07:51:27 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 1 07:51:31 2008 Subject: cvs commit: src/sys/fs/smbfs smbfs_node.c Message-ID: <200807010751.m617pQsc042705@repoman.freebsd.org> rwatson 2008-07-01 07:51:16 UTC FreeBSD src repository Modified files: sys/fs/smbfs smbfs_node.c Log: SVN rev 180139 on 2008-07-01 07:51:16Z by rwatson Remove unused 'td' arguments from smbfs_hash_lock() and smbfs_hash_unlock(). MFC after: 3 days Revision Changes Path 1.39 +9 -9 src/sys/fs/smbfs/smbfs_node.c From philip at FreeBSD.org Tue Jul 1 08:15:13 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Tue Jul 1 08:15:16 2008 Subject: cvs commit: src/sys/net if_bridge.c Message-ID: <200807010815.m618FCFY045624@repoman.freebsd.org> philip 2008-07-01 08:14:58 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: SVN rev 180140 on 2008-07-01 08:14:58Z by philip Set bridge MAC addresses to the MAC address of their first interface unless locally configured. This is more in line with the behaviour of other popular bridging implementations and makes bridges more predictable after reboots for example. Reviewed by: thompsa MFC after: 1 week Revision Changes Path 1.113 +33 -6 src/sys/net/if_bridge.c From rwatson at FreeBSD.org Tue Jul 1 08:41:31 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 1 08:41:34 2008 Subject: cvs commit: src/sys/fs/smbfs smbfs.h smbfs_node.c smbfs_vfsops.c Message-ID: <200807010841.m618fUHt049201@repoman.freebsd.org> rwatson 2008-07-01 08:41:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/smbfs smbfs.h smbfs_node.c smbfs_vfsops.c Log: SVN rev 180141 on 2008-07-01 08:41:02Z by rwatson Merge smbfs.h:1.13, smbfs_node.c:1.38, smbfs_vfsops.c:1.44 (r176744) from head to stable/7: Replace lockmgr lock protecting smbfs node hash table with sx lock. Revision Changes Path 1.12.10.1 +3 -1 src/sys/fs/smbfs/smbfs.h 1.34.2.1 +3 -4 src/sys/fs/smbfs/smbfs_node.c 1.41.2.1 +4 -3 src/sys/fs/smbfs/smbfs_vfsops.c From gary.jennejohn at freenet.de Tue Jul 1 08:49:16 2008 From: gary.jennejohn at freenet.de (Gary Jennejohn) Date: Tue Jul 1 08:49:21 2008 Subject: [fwd] cvs commit: src/lib/libthr/thread thr_mutex.c thr_umtx.c thr_umtx.h src/sys/kern kern_umtx.c src/sys/sys umtx.h In-Reply-To: <1214850524.42354.9.camel@localhost> References: <200806240737.m5O7bhc5018813@repoman.freebsd.org> <1214850524.42354.9.camel@localhost> Message-ID: <20080701104912.5e9e16e0@peedub.jennejohn.org> On Mon, 30 Jun 2008 22:28:44 +0400 Vladimir Grebenschikov wrote: > On Tue, 2008-06-24 at 07:32 +0000, David Xu wrote: > > This commit makes threaded application almost unusable on 8-CURRENT. > > Applications eat 100% CPU all the time and works _very_ slowly. > (top shows several threads for every constantly applications eating CPU) > > Following applications are affected for me: firefox, evolution, eclipse > (probably more). > > Reverting user-land part of commit fixes problem, reverting kernel > changes nothing regarding the problem. > > I have: > FreeBSD 8.0-CURRENT #0: Fri Jun 20 17:14:23 MSD 2008 > root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.01-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 > Features=0xbfebfbff > Features2=0xe3bd > AMD Features=0x20100000 > AMD Features2=0x1 > Cores per package: 2 > [snip commit message] Did you recompile these misbehaving applications? I ask because I installed a fresh world yesterday, without recompiling any ports, and I'm _not_ seeing any misbehavior with firefox. --- Gary Jennejohn From vova at fbsd.ru Tue Jul 1 08:58:03 2008 From: vova at fbsd.ru (Vladimir Grebenschikov) Date: Tue Jul 1 08:58:06 2008 Subject: [fwd] cvs commit: src/lib/libthr/thread thr_mutex.c thr_umtx.c thr_umtx.h src/sys/kern kern_umtx.c src/sys/sys umtx.h In-Reply-To: <20080701104912.5e9e16e0@peedub.jennejohn.org> References: <200806240737.m5O7bhc5018813@repoman.freebsd.org> <1214850524.42354.9.camel@localhost> <20080701104912.5e9e16e0@peedub.jennejohn.org> Message-ID: <1214902678.1947.23.camel@localhost> On Tue, 2008-07-01 at 10:49 +0200, Gary Jennejohn wrote: > On Mon, 30 Jun 2008 22:28:44 +0400 > Vladimir Grebenschikov wrote: > > > On Tue, 2008-06-24 at 07:32 +0000, David Xu wrote: > > > > This commit makes threaded application almost unusable on 8-CURRENT. > > > > Applications eat 100% CPU all the time and works _very_ slowly. > > (top shows several threads for every constantly applications eating CPU) > > > > Following applications are affected for me: firefox, evolution, eclipse > > (probably more). > > > > Reverting user-land part of commit fixes problem, reverting kernel > > changes nothing regarding the problem. > > > > I have: > > FreeBSD 8.0-CURRENT #0: Fri Jun 20 17:14:23 MSD 2008 > > root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.01-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 > > Features=0xbfebfbff > > Features2=0xe3bd > > AMD Features=0x20100000 > > AMD Features2=0x1 > > Cores per package: 2 > > > [snip commit message] > > Did you recompile these misbehaving applications? > > I ask because I installed a fresh world yesterday, without recompiling > any ports, and I'm _not_ seeing any misbehavior with firefox. Yes, I've tried to rebuild firefox - nothing changed. Probably need to rebuild something else (glib or what ?). In that case one need to bump lib version or/and announcer that problem. > --- > Gary Jennejohn -- Vladimir B. Grebenschikov vova@fbsd.ru From rafan at FreeBSD.org Tue Jul 1 09:33:32 2008 From: rafan at FreeBSD.org (Rong-En Fan) Date: Tue Jul 1 09:33:36 2008 Subject: cvs commit: src/contrib/ncurses INSTALL MANIFEST NEWS TO-DO aclocal.m4 config.guess config.sub configure configure.in dist.mk install-sh mk-1st.awk mk-hdr.awk mkdirs.sh mkinstalldirs src/contrib/ncurses/doc hackguide.doc ncurses-intro.doc ... Message-ID: <200807010933.m619XWBA065547@repoman.freebsd.org> rafan 2008-07-01 09:28:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) contrib/ncurses INSTALL MANIFEST NEWS TO-DO aclocal.m4 config.guess config.sub configure configure.in dist.mk install-sh mk-1st.awk mkinstalldirs contrib/ncurses/doc hackguide.doc ncurses-intro.doc contrib/ncurses/doc/html ncurses-intro.html contrib/ncurses/form Makefile.in fld_def.c fld_dup.c fld_ftlink.c fld_link.c fld_newftyp.c frm_def.c frm_driver.c fty_alnum.c fty_alpha.c fty_enum.c fty_int.c fty_num.c fty_regex.c headers modules contrib/ncurses/include MKterm.h.awk.in curses.h.in curses.tail curses.wide headers nc_alloc.h ncurses_defs ncurses_dll.h tic.h contrib/ncurses/man Makefile.in captoinfo.1m clear.1 curs_add_wch.3x curs_addch.3x curs_attr.3x curs_border.3x curs_clear.3x curs_deleteln.3x curs_extend.3x curs_getcchar.3x curs_getyx.3x curs_insstr.3x curs_mouse.3x curs_outopts.3x curs_printw.3x curs_scanw.3x curs_scr_dump.3x curs_slk.3x curs_termattrs.3x curs_termcap.3x curs_terminfo.3x curs_trace.3x curs_util.3x default_colors.3x form.3x form_driver.3x form_field_new.3x form_field_opts.3x form_field_validation.3x form_hook.3x form_opts.3x infocmp.1m infotocap.1m legacy_coding.3x man_db.renames manlinks.sed menu_driver.3x menu_hook.3x menu_opts.3x mitem_opts.3x ncurses.3x panel.3x term.5 term.7 terminfo.head terminfo.tail tic.1m toe.1m tput.1 tset.1 contrib/ncurses/menu Makefile.in headers menu.h modules contrib/ncurses/misc Makefile.in ncurses-config.in shlib terminfo.src contrib/ncurses/ncurses Makefile.in curses.priv.h fifo_defs.h llib-lncurses llib-lncursesw modules contrib/ncurses/ncurses/base MKkeyname.awk MKlib_gen.sh MKunctrl.awk define_key.c key_defined.c keyok.c lib_addch.c lib_addstr.c lib_bkgd.c lib_color.c lib_delwin.c lib_freeall.c lib_getch.c lib_initscr.c lib_insch.c lib_instr.c lib_mouse.c lib_newterm.c lib_newwin.c lib_overlay.c lib_redrawln.c lib_refresh.c lib_restart.c lib_screen.c lib_set_term.c lib_slk.c lib_slkclear.c lib_slkinit.c lib_slkset.c lib_ungetch.c lib_window.c memmove.c resizeterm.c safe_sprintf.c tries.c wresize.c contrib/ncurses/ncurses/tinfo MKcaptab.awk MKnames.awk access.c add_tries.c comp_error.c comp_hash.c comp_parse.c db_iterator.c home_terminfo.c init_keytry.c lib_acs.c lib_baudrate.c lib_data.c lib_napms.c lib_options.c lib_raw.c lib_setup.c lib_termcap.c lib_tparm.c lib_tputs.c lib_ttyflags.c make_keys.c name_match.c parse_entry.c read_entry.c setbuf.c strings.c trim_sgr0.c write_entry.c contrib/ncurses/ncurses/trace lib_trace.c lib_traceatr.c lib_tracebits.c lib_tracechr.c lib_tracedmp.c lib_tracemse.c trace_buf.c trace_tries.c varargs.c visbuf.c contrib/ncurses/ncurses/tty hardscroll.c hashmap.c lib_mvcur.c lib_tstp.c lib_twait.c lib_vidattr.c tty_update.c contrib/ncurses/ncurses/widechar lib_cchar.c lib_get_wch.c lib_in_wchnstr.c lib_unget_wch.c lib_vid_attr.c lib_wunctrl.c contrib/ncurses/panel Makefile.in headers modules contrib/ncurses/progs Makefile.in clear.c dump_entry.c infocmp.c modules progs.priv.h tic.c toe.c tput.c tset.c contrib/ncurses/tack COPYING HISTORY Makefile.in README ansi.c charset.c color.c control.c crum.c edit.c fun.c init.c menu.c modes.c modules output.c pad.c scan.c sync.c sysdep.c tack.1 tack.c tack.h lib/ncurses/ncurses Makefile ncurses_cfg.h Added files: (Branch: RELENG_6) contrib/ncurses mk-hdr.awk mkdirs.sh contrib/ncurses/man curs_legacy.3x curs_opaque.3x curs_threads.3x contrib/ncurses/ncurses llib-lncursest contrib/ncurses/ncurses/base use_window.c contrib/ncurses/ncurses/tinfo MKcaptab.sh MKcodes.awk entries.c use_screen.c contrib/ncurses/ncurses/widechar lib_key_name.c Log: SVN rev 180142 on 2008-07-01 09:28:27Z by rafan MFC ncurses 5.6-20080503 rev 174993, 176187, 178866 Revision Changes Path 1.1.1.6.14.2 +67 -2 src/contrib/ncurses/INSTALL 1.1.1.6.14.2 +25 -25 src/contrib/ncurses/MANIFEST 1.1.1.7.14.2 +644 -9 src/contrib/ncurses/NEWS 1.1.1.1.34.2 +10 -13 src/contrib/ncurses/TO-DO 1.1.1.6.14.2 +518 -197 src/contrib/ncurses/aclocal.m4 1.1.1.5.14.2 +113 -85 src/contrib/ncurses/config.guess 1.1.1.5.14.2 +77 -27 src/contrib/ncurses/config.sub 1.1.1.7.14.2 +2720 -1923 src/contrib/ncurses/configure 1.1.1.7.14.2 +255 -35 src/contrib/ncurses/configure.in 1.1.1.7.14.2 +4 -3 src/contrib/ncurses/dist.mk 1.1.1.1.14.2 +1 -1 src/contrib/ncurses/doc/hackguide.doc 1.1.1.2.14.2 +23 -15 src/contrib/ncurses/doc/html/ncurses-intro.html 1.1.1.1.14.2 +16 -17 src/contrib/ncurses/doc/ncurses-intro.doc 1.1.1.5.14.2 +5 -7 src/contrib/ncurses/form/Makefile.in 1.1.1.2.14.2 +7 -6 src/contrib/ncurses/form/fld_def.c 1.1.1.2.14.2 +4 -3 src/contrib/ncurses/form/fld_dup.c 1.1.1.2.14.2 +4 -3 src/contrib/ncurses/form/fld_ftlink.c 1.1.1.2.14.2 +4 -3 src/contrib/ncurses/form/fld_link.c 1.1.1.2.14.2 +4 -3 src/contrib/ncurses/form/fld_newftyp.c 1.1.1.2.14.2 +6 -4 src/contrib/ncurses/form/frm_def.c 1.1.1.2.14.2 +124 -9 src/contrib/ncurses/form/frm_driver.c 1.1.1.2.14.2 +12 -6 src/contrib/ncurses/form/fty_alnum.c 1.1.1.2.14.2 +12 -6 src/contrib/ncurses/form/fty_alpha.c 1.1.1.4.14.2 +9 -5 src/contrib/ncurses/form/fty_enum.c 1.1.1.2.14.2 +9 -5 src/contrib/ncurses/form/fty_int.c 1.1.1.2.14.2 +9 -5 src/contrib/ncurses/form/fty_num.c 1.1.1.2.14.2 +11 -8 src/contrib/ncurses/form/fty_regex.c 1.1.1.1.34.1 +2 -1 src/contrib/ncurses/form/headers 1.1.1.1.34.2 +5 -3 src/contrib/ncurses/form/modules 1.1.1.5.14.2 +26 -25 src/contrib/ncurses/include/MKterm.h.awk.in 1.1.1.8.14.2 +180 -71 src/contrib/ncurses/include/curses.h.in 1.1.1.1.14.2 +2 -1 src/contrib/ncurses/include/curses.tail 1.1.1.1.14.2 +6 -3 src/contrib/ncurses/include/curses.wide 1.1.1.2.14.1 +9 -2 src/contrib/ncurses/include/headers 1.1.1.3.14.2 +8 -2 src/contrib/ncurses/include/nc_alloc.h 1.1.1.3.14.2 +8 -7 src/contrib/ncurses/include/ncurses_defs 1.1.1.2.14.2 +9 -2 src/contrib/ncurses/include/ncurses_dll.h 1.1.1.7.14.2 +7 -22 src/contrib/ncurses/include/tic.h 1.1.1.2.14.2 +91 -48 src/contrib/ncurses/install-sh 1.1.1.4.14.2 +4 -4 src/contrib/ncurses/man/Makefile.in 1.1.1.3.14.2 +14 -14 src/contrib/ncurses/man/captoinfo.1m 1.1.1.2.14.2 +6 -6 src/contrib/ncurses/man/clear.1 1.1.1.1.14.2 +3 -3 src/contrib/ncurses/man/curs_add_wch.3x 1.1.1.2.14.2 +4 -4 src/contrib/ncurses/man/curs_addch.3x 1.1.1.4.14.2 +5 -2 src/contrib/ncurses/man/curs_attr.3x 1.1.1.3.14.2 +4 -4 src/contrib/ncurses/man/curs_border.3x 1.1.1.1.34.2 +8 -2 src/contrib/ncurses/man/curs_clear.3x 1.1.1.3.14.2 +3 -3 src/contrib/ncurses/man/curs_deleteln.3x 1.1.1.3.14.2 +3 -3 src/contrib/ncurses/man/curs_extend.3x 1.1.1.1.14.2 +4 -4 src/contrib/ncurses/man/curs_getcchar.3x 1.1.1.1.34.2 +21 -6 src/contrib/ncurses/man/curs_getyx.3x 1.1.1.3.14.2 +2 -2 src/contrib/ncurses/man/curs_insstr.3x 1.1.1.1.4.1 +93 -0 src/contrib/ncurses/man/curs_legacy.3x (new) 1.1.1.4.14.2 +26 -16 src/contrib/ncurses/man/curs_mouse.3x 1.1.1.1.4.1 +133 -0 src/contrib/ncurses/man/curs_opaque.3x (new) 1.1.1.4.14.2 +3 -3 src/contrib/ncurses/man/curs_outopts.3x 1.1.1.2.14.2 +4 -4 src/contrib/ncurses/man/curs_printw.3x 1.1.1.3.14.2 +3 -3 src/contrib/ncurses/man/curs_scanw.3x 1.1.1.2.14.2 +2 -2 src/contrib/ncurses/man/curs_scr_dump.3x 1.1.1.3.14.2 +3 -3 src/contrib/ncurses/man/curs_slk.3x 1.1.1.3.14.2 +3 -3 src/contrib/ncurses/man/curs_termattrs.3x 1.1.1.5.14.2 +4 -4 src/contrib/ncurses/man/curs_termcap.3x 1.1.1.5.14.2 +18 -8 src/contrib/ncurses/man/curs_terminfo.3x 1.1.1.2.4.1 +603 -0 src/contrib/ncurses/man/curs_threads.3x (new) 1.1.1.2.14.2 +3 -3 src/contrib/ncurses/man/curs_trace.3x 1.1.1.2.14.2 +41 -6 src/contrib/ncurses/man/curs_util.3x 1.1.1.2.14.2 +3 -4 src/contrib/ncurses/man/default_colors.3x 1.1.1.2.14.2 +3 -3 src/contrib/ncurses/man/form.3x 1.1.1.2.14.2 +54 -3 src/contrib/ncurses/man/form_driver.3x 1.1.1.2.14.2 +4 -4 src/contrib/ncurses/man/form_field_new.3x 1.1.1.1.34.2 +6 -6 src/contrib/ncurses/man/form_field_opts.3x 1.1.1.2.14.2 +2 -2 src/contrib/ncurses/man/form_field_validation.3x 1.1.1.1.34.2 +10 -10 src/contrib/ncurses/man/form_hook.3x 1.1.1.1.34.2 +6 -6 src/contrib/ncurses/man/form_opts.3x 1.1.1.4.14.2 +15 -15 src/contrib/ncurses/man/infocmp.1m 1.1.1.2.14.2 +9 -9 src/contrib/ncurses/man/infotocap.1m 1.1.1.1.2.2 +2 -2 src/contrib/ncurses/man/legacy_coding.3x 1.1.1.5.14.2 +16 -10 src/contrib/ncurses/man/man_db.renames 1.1.1.2.14.2 +3 -2 src/contrib/ncurses/man/manlinks.sed 1.1.1.2.14.2 +46 -15 src/contrib/ncurses/man/menu_driver.3x 1.1.1.1.34.2 +10 -10 src/contrib/ncurses/man/menu_hook.3x 1.1.1.1.34.2 +6 -6 src/contrib/ncurses/man/menu_opts.3x 1.1.1.1.34.2 +6 -6 src/contrib/ncurses/man/mitem_opts.3x 1.1.1.6.14.2 +192 -77 src/contrib/ncurses/man/ncurses.3x 1.1.1.2.14.2 +21 -16 src/contrib/ncurses/man/panel.3x 1.1.1.3.14.2 +3 -3 src/contrib/ncurses/man/term.5 1.1.1.3.14.2 +8 -8 src/contrib/ncurses/man/term.7 1.1.1.2.14.2 +7 -7 src/contrib/ncurses/man/terminfo.head 1.1.1.4.14.2 +14 -12 src/contrib/ncurses/man/terminfo.tail 1.1.1.3.14.2 +3 -3 src/contrib/ncurses/man/tic.1m 1.1.1.2.14.2 +30 -16 src/contrib/ncurses/man/toe.1m 1.1.1.2.14.2 +38 -38 src/contrib/ncurses/man/tput.1 1.1.1.2.14.2 +2 -2 src/contrib/ncurses/man/tset.1 1.1.1.5.14.2 +5 -7 src/contrib/ncurses/menu/Makefile.in 1.1.1.1.34.1 +2 -1 src/contrib/ncurses/menu/headers 1.1.1.3.14.2 +6 -6 src/contrib/ncurses/menu/menu.h 1.1.1.1.34.2 +5 -3 src/contrib/ncurses/menu/modules 1.1.1.3.14.2 +9 -8 src/contrib/ncurses/misc/Makefile.in 1.1.1.1.2.2 +7 -2 src/contrib/ncurses/misc/ncurses-config.in 1.1.1.2.14.2 +2 -1 src/contrib/ncurses/misc/shlib 1.1.1.7.14.2 +460 -90 src/contrib/ncurses/misc/terminfo.src 1.1.1.5.14.2 +131 -52 src/contrib/ncurses/mk-1st.awk 1.1.1.1.4.1 +107 -0 src/contrib/ncurses/mk-hdr.awk (new) 1.1.1.1.4.1 +51 -0 src/contrib/ncurses/mkdirs.sh (new) 1.1.1.2.14.2 +0 -38 src/contrib/ncurses/mkinstalldirs 1.1.1.6.14.2 +22 -29 src/contrib/ncurses/ncurses/Makefile.in 1.1.1.4.14.2 +52 -31 src/contrib/ncurses/ncurses/base/MKkeyname.awk 1.1.1.4.14.2 +9 -4 src/contrib/ncurses/ncurses/base/MKlib_gen.sh 1.1.1.4.14.2 +119 -41 src/contrib/ncurses/ncurses/base/MKunctrl.awk 1.1.1.2.14.2 +9 -4 src/contrib/ncurses/ncurses/base/define_key.c 1.1.1.1.2.2 +12 -10 src/contrib/ncurses/ncurses/base/key_defined.c 1.1.1.2.14.2 +8 -6 src/contrib/ncurses/ncurses/base/keyok.c 1.1.1.4.14.2 +18 -14 src/contrib/ncurses/ncurses/base/lib_addch.c 1.1.1.5.14.2 +9 -6 src/contrib/ncurses/ncurses/base/lib_addstr.c 1.1.1.3.14.2 +3 -3 src/contrib/ncurses/ncurses/base/lib_bkgd.c 1.1.1.6.14.2 +35 -13 src/contrib/ncurses/ncurses/base/lib_color.c 1.1.1.3.14.1 +23 -12 src/contrib/ncurses/ncurses/base/lib_delwin.c 1.1.1.5.14.2 +31 -28 src/contrib/ncurses/ncurses/base/lib_freeall.c 1.1.1.6.14.2 +123 -89 src/contrib/ncurses/ncurses/base/lib_getch.c 1.1.1.3.14.2 +12 -6 src/contrib/ncurses/ncurses/base/lib_initscr.c 1.1.1.3.14.2 +20 -4 src/contrib/ncurses/ncurses/base/lib_insch.c 1.1.1.3.14.2 +4 -6 src/contrib/ncurses/ncurses/base/lib_instr.c 1.1.1.6.14.2 +14 -10 src/contrib/ncurses/ncurses/base/lib_mouse.c 1.1.1.5.14.2 +20 -19 src/contrib/ncurses/ncurses/base/lib_newterm.c 1.1.1.5.14.2 +63 -48 src/contrib/ncurses/ncurses/base/lib_newwin.c 1.1.1.3.14.2 +92 -71 src/contrib/ncurses/ncurses/base/lib_overlay.c 1.1.1.3.14.2 +7 -3 src/contrib/ncurses/ncurses/base/lib_redrawln.c 1.1.1.4.14.2 +121 -23 src/contrib/ncurses/ncurses/base/lib_refresh.c 1.1.1.3.14.2 +10 -10 src/contrib/ncurses/ncurses/base/lib_restart.c 1.1.1.3.14.2 +14 -5 src/contrib/ncurses/ncurses/base/lib_screen.c 1.1.1.6.14.2 +188 -129 src/contrib/ncurses/ncurses/base/lib_set_term.c 1.1.1.3.14.2 +11 -12 src/contrib/ncurses/ncurses/base/lib_slk.c 1.1.1.3.14.2 +19 -14 src/contrib/ncurses/ncurses/base/lib_slkclear.c 1.1.1.2.14.1 +10 -6 src/contrib/ncurses/ncurses/base/lib_slkinit.c 1.1.1.3.14.2 +9 -4 src/contrib/ncurses/ncurses/base/lib_slkset.c 1.1.1.3.14.2 +29 -18 src/contrib/ncurses/ncurses/base/lib_ungetch.c 1.1.1.3.14.2 +5 -3 src/contrib/ncurses/ncurses/base/lib_window.c 1.1.1.2.14.1 +3 -3 src/contrib/ncurses/ncurses/base/memmove.c 1.1.1.3.14.2 +176 -51 src/contrib/ncurses/ncurses/base/resizeterm.c 1.1.1.4.14.2 +29 -27 src/contrib/ncurses/ncurses/base/safe_sprintf.c 1.1.1.3.14.2 +12 -10 src/contrib/ncurses/ncurses/base/tries.c 1.1.1.3.4.1 +78 -0 src/contrib/ncurses/ncurses/base/use_window.c (new) 1.1.1.4.14.2 +13 -6 src/contrib/ncurses/ncurses/base/wresize.c 1.1.1.8.14.2 +389 -48 src/contrib/ncurses/ncurses/curses.priv.h 1.1.1.2.14.1 +5 -5 src/contrib/ncurses/ncurses/fifo_defs.h 1.1.1.6.14.2 +306 -243 src/contrib/ncurses/ncurses/llib-lncurses 1.1.1.1.4.1 +3493 -0 src/contrib/ncurses/ncurses/llib-lncursest (new) 1.1.1.1.14.2 +319 -254 src/contrib/ncurses/ncurses/llib-lncursesw 1.1.1.5.14.2 +20 -11 src/contrib/ncurses/ncurses/modules 1.1.1.2.14.2 +65 -69 src/contrib/ncurses/ncurses/tinfo/MKcaptab.awk 1.1.1.1.4.1 +149 -0 src/contrib/ncurses/ncurses/tinfo/MKcaptab.sh (new) 1.1.1.1.4.1 +161 -0 src/contrib/ncurses/ncurses/tinfo/MKcodes.awk (new) 1.1.1.2.14.2 +142 -84 src/contrib/ncurses/ncurses/tinfo/MKnames.awk 1.1.1.4.14.2 +5 -5 src/contrib/ncurses/ncurses/tinfo/access.c 1.1.1.3.14.2 +17 -22 src/contrib/ncurses/ncurses/tinfo/add_tries.c 1.1.1.4.14.2 +17 -17 src/contrib/ncurses/ncurses/tinfo/comp_error.c 1.1.1.3.14.2 +73 -38 src/contrib/ncurses/ncurses/tinfo/comp_hash.c 1.1.1.6.14.2 +25 -71 src/contrib/ncurses/ncurses/tinfo/comp_parse.c 1.1.1.1.2.2 +25 -27 src/contrib/ncurses/ncurses/tinfo/db_iterator.c 1.1.1.1.4.1 +144 -0 src/contrib/ncurses/ncurses/tinfo/entries.c (new) 1.1.1.3.14.2 +11 -10 src/contrib/ncurses/ncurses/tinfo/home_terminfo.c 1.1.1.4.14.2 +14 -14 src/contrib/ncurses/ncurses/tinfo/init_keytry.c 1.1.1.4.14.2 +10 -18 src/contrib/ncurses/ncurses/tinfo/lib_acs.c 1.1.1.5.14.1 +20 -7 src/contrib/ncurses/ncurses/tinfo/lib_baudrate.c 1.1.1.2.14.2 +207 -2 src/contrib/ncurses/ncurses/tinfo/lib_data.c 1.1.1.5.14.2 +3 -3 src/contrib/ncurses/ncurses/tinfo/lib_napms.c 1.1.1.6.14.2 +10 -10 src/contrib/ncurses/ncurses/tinfo/lib_options.c 1.6.14.2 +5 -5 src/contrib/ncurses/ncurses/tinfo/lib_raw.c 1.1.1.5.14.2 +88 -56 src/contrib/ncurses/ncurses/tinfo/lib_setup.c 1.11.14.2 +32 -32 src/contrib/ncurses/ncurses/tinfo/lib_termcap.c 1.1.1.4.14.2 +65 -88 src/contrib/ncurses/ncurses/tinfo/lib_tparm.c 1.1.1.6.14.2 +9 -8 src/contrib/ncurses/ncurses/tinfo/lib_tputs.c 1.1.1.5.14.2 +53 -31 src/contrib/ncurses/ncurses/tinfo/lib_ttyflags.c 1.1.1.4.14.2 +3 -3 src/contrib/ncurses/ncurses/tinfo/make_keys.c 1.1.1.3.14.2 +12 -12 src/contrib/ncurses/ncurses/tinfo/name_match.c 1.1.1.6.14.2 +11 -9 src/contrib/ncurses/ncurses/tinfo/parse_entry.c 1.1.1.4.14.2 +3 -3 src/contrib/ncurses/ncurses/tinfo/read_entry.c 1.1.1.2.14.2 +3 -3 src/contrib/ncurses/ncurses/tinfo/setbuf.c 1.1.1.2.14.2 +3 -3 src/contrib/ncurses/ncurses/tinfo/strings.c 1.1.1.1.2.2 +4 -6 src/contrib/ncurses/ncurses/tinfo/trim_sgr0.c 1.1.1.2.4.1 +60 -0 src/contrib/ncurses/ncurses/tinfo/use_screen.c (new) 1.1.1.5.14.2 +11 -11 src/contrib/ncurses/ncurses/tinfo/write_entry.c 1.1.1.5.14.2 +137 -36 src/contrib/ncurses/ncurses/trace/lib_trace.c 1.1.1.5.14.2 +28 -22 src/contrib/ncurses/ncurses/trace/lib_traceatr.c 1.1.1.6.14.2 +24 -3 src/contrib/ncurses/ncurses/trace/lib_tracebits.c 1.1.1.5.14.2 +8 -7 src/contrib/ncurses/ncurses/trace/lib_tracechr.c 1.1.1.3.14.2 +41 -16 src/contrib/ncurses/ncurses/trace/lib_tracedmp.c 1.1.1.3.14.2 +10 -17 src/contrib/ncurses/ncurses/trace/lib_tracemse.c 1.1.1.2.14.2 +19 -23 src/contrib/ncurses/ncurses/trace/trace_buf.c 1.1.1.3.14.1 +16 -14 src/contrib/ncurses/ncurses/trace/trace_tries.c 1.1.1.2.14.2 +14 -12 src/contrib/ncurses/ncurses/trace/varargs.c 1.1.1.1.14.2 +21 -11 src/contrib/ncurses/ncurses/trace/visbuf.c 1.1.1.2.14.1 +17 -17 src/contrib/ncurses/ncurses/tty/hardscroll.c 1.1.1.4.14.2 +26 -17 src/contrib/ncurses/ncurses/tty/hashmap.c 1.1.1.6.14.2 +6 -5 src/contrib/ncurses/ncurses/tty/lib_mvcur.c 1.1.1.6.14.2 +23 -29 src/contrib/ncurses/ncurses/tty/lib_tstp.c 1.1.1.6.14.2 +28 -29 src/contrib/ncurses/ncurses/tty/lib_twait.c 1.1.1.5.14.2 +22 -20 src/contrib/ncurses/ncurses/tty/lib_vidattr.c 1.1.1.6.14.2 +17 -10 src/contrib/ncurses/ncurses/tty/tty_update.c 1.1.1.1.14.2 +5 -4 src/contrib/ncurses/ncurses/widechar/lib_cchar.c 1.1.1.1.14.2 +3 -3 src/contrib/ncurses/ncurses/widechar/lib_get_wch.c 1.1.1.1.14.2 +17 -9 src/contrib/ncurses/ncurses/widechar/lib_in_wchnstr.c 1.1.1.1.4.1 +62 -0 src/contrib/ncurses/ncurses/widechar/lib_key_name.c (new) 1.1.1.1.14.2 +12 -8 src/contrib/ncurses/ncurses/widechar/lib_unget_wch.c 1.1.1.1.14.2 +3 -2 src/contrib/ncurses/ncurses/widechar/lib_vid_attr.c 1.1.1.1.14.2 +7 -9 src/contrib/ncurses/ncurses/widechar/lib_wunctrl.c 1.1.1.5.14.2 +5 -7 src/contrib/ncurses/panel/Makefile.in 1.1.1.1.34.1 +2 -1 src/contrib/ncurses/panel/headers 1.1.1.1.34.1 +4 -2 src/contrib/ncurses/panel/modules 1.1.1.5.14.2 +19 -16 src/contrib/ncurses/progs/Makefile.in 1.1.1.1.34.2 +3 -2 src/contrib/ncurses/progs/clear.c 1.1.1.6.14.2 +16 -9 src/contrib/ncurses/progs/dump_entry.c 1.1.1.5.14.2 +101 -62 src/contrib/ncurses/progs/infocmp.c 1.1.1.2.14.2 +5 -3 src/contrib/ncurses/progs/modules 1.1.1.5.14.2 +11 -2 src/contrib/ncurses/progs/progs.priv.h 1.1.1.7.14.2 +28 -10 src/contrib/ncurses/progs/tic.c 1.1.1.4.14.2 +11 -11 src/contrib/ncurses/progs/toe.c 1.1.1.5.14.2 +5 -3 src/contrib/ncurses/progs/tput.c 1.1.1.5.14.2 +20 -4 src/contrib/ncurses/progs/tset.c 1.1.1.1.34.2 +0 -340 src/contrib/ncurses/tack/COPYING 1.1.1.2.14.2 +0 -49 src/contrib/ncurses/tack/HISTORY 1.1.1.6.14.2 +0 -211 src/contrib/ncurses/tack/Makefile.in 1.1.1.2.14.1 +0 -14 src/contrib/ncurses/tack/README 1.1.1.4.14.2 +0 -854 src/contrib/ncurses/tack/ansi.c 1.1.1.4.14.2 +0 -711 src/contrib/ncurses/tack/charset.c 1.1.1.2.14.2 +0 -769 src/contrib/ncurses/tack/color.c 1.1.1.2.14.2 +0 -664 src/contrib/ncurses/tack/control.c 1.1.1.2.14.2 +0 -426 src/contrib/ncurses/tack/crum.c 1.1.1.4.14.2 +0 -992 src/contrib/ncurses/tack/edit.c 1.1.1.2.14.2 +0 -925 src/contrib/ncurses/tack/fun.c 1.1.1.3.14.2 +0 -316 src/contrib/ncurses/tack/init.c 1.1.1.2.14.2 +0 -421 src/contrib/ncurses/tack/menu.c 1.1.1.1.34.2 +0 -913 src/contrib/ncurses/tack/modes.c 1.1.1.1.34.2 +0 -45 src/contrib/ncurses/tack/modules 1.1.1.4.14.2 +0 -818 src/contrib/ncurses/tack/output.c 1.1.1.2.14.2 +0 -1958 src/contrib/ncurses/tack/pad.c 1.1.1.1.34.2 +0 -264 src/contrib/ncurses/tack/scan.c 1.1.1.3.14.2 +0 -436 src/contrib/ncurses/tack/sync.c 1.1.1.5.14.2 +0 -504 src/contrib/ncurses/tack/sysdep.c 1.1.1.1.34.2 +0 -340 src/contrib/ncurses/tack/tack.1 1.1.1.2.14.2 +0 -603 src/contrib/ncurses/tack/tack.c 1.1.1.4.14.2 +0 -428 src/contrib/ncurses/tack/tack.h 1.87.2.6 +56 -19 src/lib/ncurses/ncurses/Makefile 1.8.2.2 +8 -9 src/lib/ncurses/ncurses/ncurses_cfg.h From vova at fbsd.ru Tue Jul 1 10:29:39 2008 From: vova at fbsd.ru (Vladimir Grebenschikov) Date: Tue Jul 1 10:29:47 2008 Subject: [fwd] cvs commit: src/lib/libthr/thread thr_mutex.c thr_umtx.c thr_umtx.h src/sys/kern kern_umtx.c src/sys/sys umtx.h In-Reply-To: <20080701104912.5e9e16e0@peedub.jennejohn.org> References: <200806240737.m5O7bhc5018813@repoman.freebsd.org> <1214850524.42354.9.camel@localhost> <20080701104912.5e9e16e0@peedub.jennejohn.org> Message-ID: <1214908172.1947.29.camel@localhost> On Tue, 2008-07-01 at 10:49 +0200, Gary Jennejohn wrote: > On Mon, 30 Jun 2008 22:28:44 +0400 > Vladimir Grebenschikov wrote: > > > On Tue, 2008-06-24 at 07:32 +0000, David Xu wrote: > > > > This commit makes threaded application almost unusable on 8-CURRENT. > > > > Applications eat 100% CPU all the time and works _very_ slowly. > > (top shows several threads for every constantly applications eating CPU) > > > > Following applications are affected for me: firefox, evolution, eclipse > > (probably more). > > > > Reverting user-land part of commit fixes problem, reverting kernel > > changes nothing regarding the problem. ... > Did you recompile these misbehaving applications? > > I ask because I installed a fresh world yesterday, without recompiling > any ports, and I'm _not_ seeing any misbehavior with firefox. Do you have SMP system ? > Gary Jennejohn -- Vladimir B. Grebenschikov vova@fbsd.ru From rwatson at FreeBSD.org Tue Jul 1 10:41:02 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 1 10:41:08 2008 Subject: cvs commit: src/sys/fs/nwfs nwfs_node.c Message-ID: <200807011041.m61Af22U076362@repoman.freebsd.org> rwatson 2008-07-01 10:40:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/nwfs nwfs_node.c Log: SVN rev 180143 on 2008-07-01 10:40:49Z by rwatson Merge nwfs_node.c:1.43 (r176745) from head to stable/7: Replace lockmgr lock protecting nwfs vnode hash table with an sx lock. Revision Changes Path 1.39.2.1 +15 -12 src/sys/fs/nwfs/nwfs_node.c From luigi at FreeBSD.org Tue Jul 1 10:52:19 2008 From: luigi at FreeBSD.org (Luigi Rizzo) Date: Tue Jul 1 10:52:20 2008 Subject: cvs commit: src/sys/dev/usb usbdevs uscanner.c Message-ID: <200807011052.m61AqJRW077304@repoman.freebsd.org> luigi 2008-07-01 10:52:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb usbdevs uscanner.c Log: SVN rev 180144 on 2008-07-01 10:52:15Z by luigi MFC of SVN rev 180061 on 2008-06-27 10:30:08Z by luigi Add USB ids for the Epson DX7400 / CX7300 multifunction scanner printer card reader. On passing, also MFC similar entries for other epson MFP devices. MFC after: 3 days Revision Changes Path 1.328.2.13 +3 -0 src/sys/dev/usb/usbdevs 1.89.2.2 +3 -0 src/sys/dev/usb/uscanner.c From nyan at FreeBSD.org Tue Jul 1 11:19:05 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Tue Jul 1 11:19:07 2008 Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c Message-ID: <200807011119.m61BJ43b080530@repoman.freebsd.org> nyan 2008-07-01 11:18:51 UTC FreeBSD src repository Modified files: sys/boot/i386/boot2 boot2.c Log: SVN rev 180145 on 2008-07-01 11:18:51Z by nyan Fix off-by-one error. MFC after: 1 week Revision Changes Path 1.87 +1 -1 src/sys/boot/i386/boot2/boot2.c From rwatson at FreeBSD.org Tue Jul 1 12:16:07 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 1 12:16:10 2008 Subject: cvs commit: src/sys/ddb db_capture.c Message-ID: <200807011216.m61CG72E093159@repoman.freebsd.org> rwatson 2008-07-01 12:15:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ddb db_capture.c Log: SVN rev 180146 on 2008-07-01 12:15:55Z by rwatson Merge db_capture.c:1.6 (178492) from head to stable/7: Rename debug.ddb.capture.bytes sysctl to debug.ddb.capture.bufoff in order to match the internal variable name. Add a new sysctl debug.ddb.capture.inprogress to export the inprogress variable. Revision Changes Path 1.5.2.6 +4 -1 src/sys/ddb/db_capture.c From dds at FreeBSD.org Tue Jul 1 14:41:10 2008 From: dds at FreeBSD.org (Diomidis Spinellis) Date: Tue Jul 1 14:41:12 2008 Subject: cvs commit: src/sys/dev/ce if_ce.c Message-ID: <200807011441.m61Ef9uE021460@repoman.freebsd.org> dds 2008-07-01 14:41:03 UTC FreeBSD src repository Modified files: sys/dev/ce if_ce.c Log: SVN rev 180147 on 2008-07-01 14:41:03Z by dds Fix instances of bogus #elsif directive. Found by: CScout MFC after: 2 weeks Revision Changes Path 1.11 +21 -21 src/sys/dev/ce/if_ce.c From jkoshy at FreeBSD.org Tue Jul 1 15:20:26 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Tue Jul 1 15:20:29 2008 Subject: cvs commit: src/usr.sbin/pmcstat pmcstat.c Message-ID: <200807011520.m61FKQMM026099@repoman.freebsd.org> jkoshy 2008-07-01 15:20:15 UTC FreeBSD src repository Modified files: usr.sbin/pmcstat pmcstat.c Log: SVN rev 180148 on 2008-07-01 15:20:15Z by jkoshy Fix a regression: attach process PMCs to the process created when a command line is specified. Revision Changes Path 1.20 +2 -2 src/usr.sbin/pmcstat/pmcstat.c From deischen at freebsd.org Tue Jul 1 15:21:51 2008 From: deischen at freebsd.org (Daniel Eischen) Date: Tue Jul 1 15:22:03 2008 Subject: [fwd] cvs commit: src/lib/libthr/thread thr_mutex.c thr_umtx.c thr_umtx.h src/sys/kern kern_umtx.c src/sys/sys umtx.h In-Reply-To: <20080701104912.5e9e16e0@peedub.jennejohn.org> References: <200806240737.m5O7bhc5018813@repoman.freebsd.org> <1214850524.42354.9.camel@localhost> <20080701104912.5e9e16e0@peedub.jennejohn.org> Message-ID: On Tue, 1 Jul 2008, Gary Jennejohn wrote: > On Mon, 30 Jun 2008 22:28:44 +0400 > Vladimir Grebenschikov wrote: > >> On Tue, 2008-06-24 at 07:32 +0000, David Xu wrote: >> >> This commit makes threaded application almost unusable on 8-CURRENT. >> >> Applications eat 100% CPU all the time and works _very_ slowly. >> (top shows several threads for every constantly applications eating CPU) >> >> Following applications are affected for me: firefox, evolution, eclipse >> (probably more). >> >> Reverting user-land part of commit fixes problem, reverting kernel >> changes nothing regarding the problem. >> >> I have: >> FreeBSD 8.0-CURRENT #0: Fri Jun 20 17:14:23 MSD 2008 >> root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.01-MHz 686-class CPU) >> Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 >> Features=0xbfebfbff >> Features2=0xe3bd >> AMD Features=0x20100000 >> AMD Features2=0x1 >> Cores per package: 2 >> > [snip commit message] > > Did you recompile these misbehaving applications? If that is necessary, then something is certainly borken. One shouldn't have to rebuild the applications. -- DE From obrien at FreeBSD.org Tue Jul 1 16:43:02 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Tue Jul 1 16:43:03 2008 Subject: cvs commit: src/sys/amd64/include vmparam.h Message-ID: <200807011642.m61Ggw07035676@repoman.freebsd.org> obrien 2008-07-01 16:42:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/include vmparam.h Log: SVN rev 180149 on 2008-07-01 16:42:51Z by obrien MFC: r180109 / rev 1.53 Document the layout of the address space. Revision Changes Path 1.49.2.1 +11 -2 src/sys/amd64/include/vmparam.h From marius at FreeBSD.org Tue Jul 1 16:58:44 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Tue Jul 1 16:58:46 2008 Subject: cvs commit: src/sys/sparc64/pci ofw_pcib_subr.c Message-ID: <200807011658.m61GwhlC046212@repoman.freebsd.org> marius 2008-07-01 16:58:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sparc64/pci ofw_pcib_subr.c Log: SVN rev 180150 on 2008-07-01 16:58:35Z by marius MFC: r153342 Fix a bug introduced in r1.5/153057 (MFC'ed in r1.4.8.1/172460); for retrieving the device_t of the parent bridge of a PCI-PCI bridge we need two device_get_parent(). Revision Changes Path 1.4.8.2 +2 -2 src/sys/sparc64/pci/ofw_pcib_subr.c From marius at alchemy.franken.de Tue Jul 1 17:58:15 2008 From: marius at alchemy.franken.de (Marius Strobl) Date: Tue Jul 1 17:58:21 2008 Subject: cvs commit: src/sys/sparc64/include in_cksum.h In-Reply-To: <48664210.80204@gmx.de> References: <200806252105.m5PL5AUp064418@repoman.freebsd.org> <48654667.1040401@gmx.de> <20080627222404.GJ1215@alchemy.franken.de> <48657058.6020102@gmx.de> <20080628114417.GL1215@alchemy.franken.de> <486629AA.1050409@gmx.de> <20080628132241.GO1215@alchemy.franken.de> <48664210.80204@gmx.de> Message-ID: <20080701175813.GR1215@alchemy.franken.de> On Sat, Jun 28, 2008 at 03:52:16PM +0200, Christoph Mallon wrote: > Marius Strobl wrote: > >On Sat, Jun 28, 2008 at 02:08:10PM +0200, Christoph Mallon wrote: > >>Marius Strobl wrote: > >>>>On a related note: Is inline assembler really necessary here? For > >>>>example couldn't in_addword() be written as > >>>>static __inline u_short > >>>>in_addword(u_short const sum, u_short const b) > >>>>{ > >>>> u_int const t = sum + b; > >>>> return t + (t >> 16); > >>>>} ? > >>>>This should at least produce equally good code and because the compiler > >>>>has more knowledge about it than an assembler block, it potentially > >>>>leads to better code. I have no SPARC compiler at hand, though. > >>>With GCC 4.2.1 at -O2 the code generated for the above C version > >>>takes on more instruction than the inline assembler so if one > >>On SPARC? What code does it produce? I have not SPARC compiler at hand. > >>Even if it is one more instruction, I think the reduced register > >>pressure makes more than up for it. > > > >Correct, it only uses two registers: > > > >0000000000000000 : > > 0: 92 02 00 09 add %o0, %o1, %o1 > > 4: 91 32 60 10 srl %o1, 0x10, %o0 > > 8: 90 02 00 09 add %o0, %o1, %o0 > > c: 91 2a 20 10 sll %o0, 0x10, %o0 > > 10: 91 32 20 10 srl %o0, 0x10, %o0 > > 14: 81 c3 e0 08 retl > > 18: 91 3a 20 00 sra %o0, 0, %o0 > > 1c: 01 00 00 00 nop > > One more instruction? That's five instructions for the actual > calculation afaict, just like the inline assembler version. The sra in > the delay slot should be present in the inline assembler version, too. Yes, when compiled as a stand-alone function. Actually, in that case GCC adds two additional shifts, which it also does for your mixed version below in that case. It doesn't do this when using it inline in sk(4) for example, though in case of the mixed version the two 'sra , 0, ' (see below) are still present. This probably means that comparing the code generated for the different versions when compiled as stand-alone functions isn't a good approach for comparing the different versions. > > >>This should work fine and only use two registers (though the compiler > >>can choose to use three, if it deems it beneficial): > >> > >>static __inline u_short > >>in_addword(u_short const sum, u_short const b) > >>{ > >> u_long const sum16 = sum << 16; > >> u_long const b16 = b << 16; > >> u_long ret; > >> > >> __asm( > >> "addcc %1, %2, %0\n\t" > >> "srl %0, 16, %0\n\t" > >> "addc %0, 0, %0\n" > >> : "=r" (ret) : "r" (sum16), "r" (b16) : "cc"); > >> > >> return (ret); > >>} > > > >This is ten instructions with two registers. Where is the > >break even regarding instructions vs. registers for sparc64? :) > > I still have no SPARC compiler. Ten instructions? All I did was write > the two shifts in C and adjust the register constraints. It should > produce identical code. Nine if you don't count the shift in the delay slot, seven when used inline as noted above. 0000000000000000 : 0: 91 2a 20 10 sll %o0, 0x10, %o0 4: 93 2a 60 10 sll %o1, 0x10, %o1 8: 93 3a 60 00 sra %o1, 0, %o1 c: 91 3a 20 00 sra %o0, 0, %o0 10: 90 82 00 09 addcc %o0, %o1, %o0 14: 91 32 20 10 srl %o0, 0x10, %o0 18: 90 42 20 00 addc %o0, 0, %o0 1c: 91 2a 20 10 sll %o0, 0x10, %o0 20: 91 32 20 10 srl %o0, 0x10, %o0 24: 81 c3 e0 08 retl 28: 91 3a 20 00 sra %o0, 0, %o0 2c: 30 68 00 05 b,a %xcc, 40 30: 01 00 00 00 nop 34: 01 00 00 00 nop 38: 01 00 00 00 nop 3c: 01 00 00 00 nop > > >>But I still prefer the C version. > >> > > > >And I prefer to not re-write otherwise working code for > >micro-optimizations, there are enough unfixed real bugs > > Obviously the inline assembler magic did not work and is/was a real bug. > > >to deal with. Similarly we should not waste time discussing > >how to possibly optimize MD versions even more but rather > >spend the time improving the MI version so it's good enough > >that using MD versions isn't worth the effort. > > The C alternative is MI and in length on par with the inline assembler > version, isn't it? As long as it's not in a MI location it's not. Besides, I was talking about the in_cksum stuff as a whole, not just in_addword(). Also, with new non-GPL alternatives on the horizon, GPL isn't necessarily the only compiler we should care about, which in turn might justify having MD inline assembler versions though. Marius From rwatson at FreeBSD.org Tue Jul 1 18:58:18 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 1 18:58:20 2008 Subject: cvs commit: src/sys/security/audit audit.h Message-ID: <200807011858.m61IwHia061847@repoman.freebsd.org> rwatson 2008-07-01 18:58:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit.h Log: SVN rev 180151 on 2008-07-01 18:58:07Z by rwatson Merge audit.h:1.18 (sys:r178802) from head to stable/7: When testing whether to enter the audit argument gathering code, rather than checking whether audit is enabled globally, instead check whether the current thread has an audit record. This avoids entering the audit code to collect argument data if auditing is enabled but the current system call is not of interest to audit. Sponsored by: Apple, Inc. Revision Changes Path 1.14.2.2 +1 -1 src/sys/security/audit/audit.h From jhb at FreeBSD.org Tue Jul 1 19:44:49 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Jul 1 19:44:52 2008 Subject: cvs commit: src/sys/dev/mpt mpt_pci.c Message-ID: <200807011944.m61JinOJ070044@repoman.freebsd.org> jhb 2008-07-01 19:44:38 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt_pci.c Log: SVN rev 180152 on 2008-07-01 19:44:38Z by jhb During shutdown, deregister the shutdown hook from the correct event handler. MFC after: 2 weeks Revision Changes Path 1.53 +1 -1 src/sys/dev/mpt/mpt_pci.c From jhb at FreeBSD.org Tue Jul 1 19:48:35 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Jul 1 19:48:38 2008 Subject: cvs commit: src/sys/dev/mpt mpt_user.c Message-ID: <200807011948.m61JmZU9070376@repoman.freebsd.org> jhb 2008-07-01 19:48:15 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt_user.c Log: SVN rev 180153 on 2008-07-01 19:48:15Z by jhb Rework how the mpt_user personality handles buffers for config pages. Previously we reused the space in the request buffer after the request header to hold config pages during a transaction. This does not work when reading large pages however. Also, we were already malloc'ing a buffer to do a copyin/copyout w/o holding locks that was then copied into/out of the request buffer. Instead, go ahead and use bus dma to alloc a buffer for each config page request (and RAID actions that have an associated ActionSGE). This results in fewer data copies and allows for larger sized requests. For now the maximum size of a request is arbitrarily limited to 16 MB. MFC after: 2 weeks Revision Changes Path 1.2 +105 -67 src/sys/dev/mpt/mpt_user.c From danger at FreeBSD.org Tue Jul 1 19:54:21 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Tue Jul 1 19:54:24 2008 Subject: cvs commit: src/usr.sbin/mountd exports.5 Message-ID: <200807011954.m61JsL7L070832@repoman.freebsd.org> danger 2008-07-01 19:54:02 UTC FreeBSD src repository Modified files: usr.sbin/mountd exports.5 Log: SVN rev 180154 on 2008-07-01 19:54:02Z by danger - more mark-up fixes Submitted by: ru Revision Changes Path 1.31 +6 -8 src/usr.sbin/mountd/exports.5 From danger at FreeBSD.org Tue Jul 1 20:56:38 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Tue Jul 1 20:56:41 2008 Subject: cvs commit: src/usr.bin/su su.1 Message-ID: <200807012056.m61KubYq086207@repoman.freebsd.org> danger 2008-07-01 20:56:23 UTC FreeBSD src repository Modified files: usr.bin/su su.1 Log: SVN rev 180155 on 2008-07-01 20:56:23Z by danger - add the -m option to the example commands because they would fail w/o it as the ``man'' user does not have a valid shell by default. PR: docs/121713 Approved by: trhodes MFC after: 3 days Revision Changes Path 1.41 +9 -4 src/usr.bin/su/su.1 From obrien at FreeBSD.org Tue Jul 1 21:10:57 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Tue Jul 1 21:11:00 2008 Subject: cvs commit: src/sys/amd64/include vmparam.h Message-ID: <200807012110.m61LAvQb088456@repoman.freebsd.org> obrien 2008-07-01 21:10:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/include vmparam.h Log: SVN rev 180156 on 2008-07-01 21:10:38Z by obrien MFC: 180149 / 1.49.2.1 (which was MFC of r180109 / rev 1.53) Document the layout of the address space. Revision Changes Path 1.45.2.1 +11 -2 src/sys/amd64/include/vmparam.h From rpaulo at FreeBSD.org Tue Jul 1 21:40:36 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Tue Jul 1 21:40:40 2008 Subject: cvs commit: src/etc devd.conf src/sys/dev/acpi_support acpi_asus.c Message-ID: <200807012140.m61LeaGe090966@repoman.freebsd.org> rpaulo 2008-07-01 21:36:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc devd.conf sys/dev/acpi_support acpi_asus.c Log: SVN rev 180157 on 2008-07-01 21:36:03Z by rpaulo MFC r180062: Add the missing support for Asus Eee PC in acpi_asus(4). This includes hotkeys support and sysctl variables to control camera and card reader. These new sysctls don't have CTFLAG_ANYBODY set. While there add entries to devd.conf related to the Eee volume keys. Reviewed by: phillip Also tested by: lme (previous version) Revision Changes Path 1.38.2.1 +22 -0 src/etc/devd.conf 1.30.2.3 +109 -6 src/sys/dev/acpi_support/acpi_asus.c From danger at FreeBSD.org Tue Jul 1 21:53:02 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Tue Jul 1 21:53:05 2008 Subject: cvs commit: src/usr.sbin/wpa/wpa_supplicant Makefile wpa_supplicant.conf.5 Message-ID: <200807012153.m61Lr1V1091935@repoman.freebsd.org> danger 2008-07-01 21:52:49 UTC FreeBSD src repository Modified files: usr.sbin/wpa/wpa_supplicant Makefile wpa_supplicant.conf.5 Log: SVN rev 180158 on 2008-07-01 21:52:49Z by danger - install the example wpa_supplicant.conf file to the share/examples/etc directory [1] - add the FILES section to the wpa_supplicant.conf.5 file, so that people will be able to detect the example configuration file easier. [2] PR: docs/121821 [2] Approved by: brooks [1] MFC after: 3 days Revision Changes Path 1.16 +1 -1 src/usr.sbin/wpa/wpa_supplicant/Makefile 1.10 +5 -0 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 From danger at FreeBSD.org Tue Jul 1 22:46:02 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Tue Jul 1 22:46:04 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200807012246.m61Mk1L8097238@repoman.freebsd.org> danger 2008-07-01 21:54:08 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: SVN rev 180159 on 2008-07-01 21:54:08Z by danger The example wpa_supplicant.conf file has been moved to share/examples/etc/, see r180158 for references Approved by: brooks MFC after: 3 days Revision Changes Path 1.144 +3 -0 src/ObsoleteFiles.inc From emaste at FreeBSD.org Tue Jul 1 22:47:20 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Tue Jul 1 22:47:22 2008 Subject: cvs commit: src/sys/dev/aac aac.c Message-ID: <200807012247.m61MlK8O097337@repoman.freebsd.org> emaste 2008-07-01 22:16:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/aac aac.c Log: SVN rev 180160 on 2008-07-01 22:16:33Z by emaste MFC r179969: Fix test for waiting AIFs in aac_poll(). This seems to solve the problem where Adaptec's arcconf monitoring tool hangs after producing its expected output. Revision Changes Path 1.120.2.12 +7 -2 src/sys/dev/aac/aac.c From jhb at FreeBSD.org Tue Jul 1 22:47:22 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Jul 1 22:47:25 2008 Subject: cvs commit: src/lib/libutil Makefile hexdump.3 hexdump.c libutil.h Message-ID: <200807012247.m61MlLwq097377@repoman.freebsd.org> jhb 2008-07-01 22:30:57 UTC FreeBSD src repository Modified files: lib/libutil Makefile libutil.h Added files: lib/libutil hexdump.3 hexdump.c Log: SVN rev 180161 on 2008-07-01 22:30:57Z by jhb Merge hexdump(9) to userland as hexdump(3) in libutil. I'm tired of doing this by hand in userland utilities. MFC after: 1 month Revision Changes Path 1.68 +3 -3 src/lib/libutil/Makefile 1.1 +94 -0 src/lib/libutil/hexdump.3 (new) 1.1 +96 -0 src/lib/libutil/hexdump.c (new) 1.48 +8 -0 src/lib/libutil/libutil.h From danger at FreeBSD.org Tue Jul 1 22:59:26 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Tue Jul 1 22:59:28 2008 Subject: cvs commit: src/lib/libc/net getaddrinfo.3 Message-ID: <200807012259.m61MxMZx098279@repoman.freebsd.org> danger 2008-07-01 22:59:20 UTC FreeBSD src repository Modified files: lib/libc/net getaddrinfo.3 Log: SVN rev 180162 on 2008-07-01 22:59:20Z by danger - AI_ALL and AI_V4MAPPED flags are currently not supported PR: docs/120248 Submitted by: Heiko Wundram Revision Changes Path 1.34 +18 -1 src/lib/libc/net/getaddrinfo.3 From jhb at freebsd.org Wed Jul 2 00:58:27 2008 From: jhb at freebsd.org (John Baldwin) Date: Wed Jul 2 00:58:30 2008 Subject: cvs commit: src/sys/dev/mpt mpt_pci.c In-Reply-To: <200807011944.m61JinOJ070044@repoman.freebsd.org> References: <200807011944.m61JinOJ070044@repoman.freebsd.org> Message-ID: <200807011746.33319.jhb@freebsd.org> On Tuesday 01 July 2008 03:44:38 pm John Baldwin wrote: > jhb 2008-07-01 19:44:38 UTC > > FreeBSD src repository > > Modified files: > sys/dev/mpt mpt_pci.c > Log: > SVN rev 180152 on 2008-07-01 19:44:38Z by jhb > > During shutdown, deregister the shutdown hook from the correct event > handler. > > MFC after: 2 weeks Even having an eventhandler here is dubious as the shutdown routine is already called by new-bus. At one point there was a comment suggesting that new-bus called it too late? If that is still the case, then we should probably move it to shutdown_final() and remove the 'device_shutdown' hook so new-bus doesn't call it. However, if it is fine the way it is, we should remove the explicit eventhandler so it only gets invoked once. -- John Baldwin From peter at FreeBSD.org Wed Jul 2 02:04:40 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Wed Jul 2 02:04:42 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807020204.m6224eWY028590@repoman.freebsd.org> peter 2008-07-02 02:04:40 UTC FreeBSD src repository Added files: . mentors Log: Placeholder for svn exporter to export to. Revision Changes Path 1.1 +0 -0 CVSROOT/mentors (new) From peter at FreeBSD.org Wed Jul 2 02:04:59 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Wed Jul 2 02:05:01 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807020204.m6224xvl028635@repoman.freebsd.org> peter 2008-07-02 02:00:18 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180163 on 2008-07-02 02:00:18Z by peter Add a placeholder list for current mentors/mentees. svn cannot do forced commits, so this should serve as a convenient place to announce that somebody has been "released". We used to do a forced commit with cvs... Revision Changes Path 1.2 +13 -0 CVSROOT/mentors From yongari at FreeBSD.org Wed Jul 2 04:27:47 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 04:27:49 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807020427.m624RkJA043244@repoman.freebsd.org> yongari 2008-07-02 04:27:36 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 180166 on 2008-07-02 04:27:36Z by yongari Remove duplicated H/W revision check. Revision Changes Path 1.115 +0 -5 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Wed Jul 2 04:55:48 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 04:55:50 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807020455.m624tlFB054844@repoman.freebsd.org> yongari 2008-07-02 04:55:39 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 180167 on 2008-07-02 04:55:39Z by yongari After the change of r176757 re(4) no longer relys on reading RL_TXCFG register to identify a device in device probe. Reflect the fact by modifing device description with general ethernet controller family. Note, rl_basetype in struct rl_type is not used and the more detailed information is provided with rl_hwrev structure. Revision Changes Path 1.116 +18 -32 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Wed Jul 2 05:01:33 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 05:01:36 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807020501.m6251XWN055318@repoman.freebsd.org> yongari 2008-07-02 05:01:19 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 180168 on 2008-07-02 05:01:19Z by yongari While accessing EEPROM command register use pre-defined constant instead of hardcoded value. Revision Changes Path 1.117 +3 -3 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Wed Jul 2 05:22:23 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 05:22:25 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807020522.m625MMO0058307@repoman.freebsd.org> yongari 2008-07-02 05:21:09 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180169 on 2008-07-02 05:21:09Z by yongari Switch to memory space register mapping over IO space. If that mapping fails fall back to traditional IO space access. Revision Changes Path 1.118 +21 -21 src/sys/dev/re/if_re.c 1.76 +2 -0 src/sys/pci/if_rlreg.h From alc at FreeBSD.org Wed Jul 2 05:41:47 2008 From: alc at FreeBSD.org (Alan Cox) Date: Wed Jul 2 05:41:49 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807020541.m625flUF059983@repoman.freebsd.org> alc 2008-07-02 05:41:23 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180170 on 2008-07-02 05:41:23Z by alc Eliminate an unnecessary static variable: nkpt. Revision Changes Path 1.624 +2 -9 src/sys/amd64/amd64/pmap.c From yongari at FreeBSD.org Wed Jul 2 06:31:03 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 06:31:07 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807020631.m626V27V066563@repoman.freebsd.org> yongari 2008-07-02 06:29:43 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180171 on 2008-07-02 06:29:43Z by yongari Instead of allocating variables for each events/hardware flags, use a dedicated flag that represents controller capabilities/events. This will simplify many part of code that requires different workaround for each controller revisions and will enhance readability. While I'm here move PHY wakeup code up before mii_phy_probe() which seems to help to wake PHY in some cases. Revision Changes Path 1.119 +41 -47 src/sys/dev/re/if_re.c 1.77 +6 -2 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Wed Jul 2 06:34:12 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 06:34:14 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807020634.m626YCow066844@repoman.freebsd.org> yongari 2008-07-02 06:34:02 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 180172 on 2008-07-02 06:34:02Z by yongari Toggling IFF_ALLMULTI flag does not require full interface reintialization. Revision Changes Path 1.120 +1 -1 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Wed Jul 2 06:41:58 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 06:42:01 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807020641.m626fv3E067735@repoman.freebsd.org> yongari 2008-07-02 06:41:46 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 180173 on 2008-07-02 06:41:46Z by yongari In device detach don't access ifnet structure unless device is attached. This fixes NULL pointer dereference when polling(9) is active and unsupported hardware is detected in device attach. Revision Changes Path 1.121 +4 -4 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Wed Jul 2 06:46:13 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 06:46:15 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807020646.m626kD9q068124@repoman.freebsd.org> yongari 2008-07-02 06:45:59 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 180174 on 2008-07-02 06:45:59Z by yongari If MSI is not active make sure to disable MSI in EEPROM. Revision Changes Path 1.122 +11 -0 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Wed Jul 2 06:55:14 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 06:55:16 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807020655.m626tEdR070142@repoman.freebsd.org> yongari 2008-07-02 06:55:03 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 180175 on 2008-07-02 06:55:03Z by yongari Display detected chip revision in device attach. This will help to diagnose revision specific issues in future. Also add 0x to notify that the revision number is in hex form. Revision Changes Path 1.123 +5 -2 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Wed Jul 2 07:55:39 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 07:55:43 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807020755.m627tc8U083437@repoman.freebsd.org> yongari 2008-07-02 07:54:53 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180176 on 2008-07-02 07:54:53Z by yongari Add basic support for RTL8168C, RTL8168CP, RTL8111C and RTL8111CP. ATM Tx/Rx checksum offload is supported but TSO and jumbo frame is not yet supported. Because these newer controllers use different descriptor formats, a flag RL_FLAG_DESCV2 flag was introduced to handle that case in Tx/Rx handler. Also newer controllers seems to require to not touch 'enable Tx/Rx bit' in RL_CPLUS_CMD register so don't blindly try to set that bits. Note, it seems that there is still power-saving related issue where driver fails to attach PHY. Rebooting seems to fix that issue but number of required reboots varys. Many thanks to users that helped during developement. I really appreciate their patient and test/feedbacks. Revision Changes Path 1.124 +134 -43 src/sys/dev/re/if_re.c 1.78 +24 -0 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Wed Jul 2 08:01:05 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 08:01:06 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807020801.m628152J083936@repoman.freebsd.org> yongari 2008-07-02 08:00:14 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180177 on 2008-07-02 08:00:14Z by yongari Add a new RTL8169 variant, 8169SB(L)/8110SB(L). Reported by: nork Tested by: nork Revision Changes Path 1.125 +3 -1 src/sys/dev/re/if_re.c 1.79 +1 -0 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Wed Jul 2 08:10:35 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 2 08:10:39 2008 Subject: cvs commit: src/sys/dev/mii rgephy.c rgephyreg.h Message-ID: <200807020810.m628AZIL085986@repoman.freebsd.org> yongari 2008-07-02 08:10:18 UTC FreeBSD src repository Modified files: sys/dev/mii rgephy.c rgephyreg.h Log: SVN rev 180178 on 2008-07-02 08:10:18Z by yongari Add RTL8211C(L) support. Disable advanced link-down power saving in phy reset. Reported by: nork Tested by: nork Revision Changes Path 1.20 +13 -1 src/sys/dev/mii/rgephy.c 1.4 +2 -1 src/sys/dev/mii/rgephyreg.h From mtm at FreeBSD.org Wed Jul 2 13:00:24 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Wed Jul 2 13:00:32 2008 Subject: cvs commit: src/sbin/devfs devfs.8 Message-ID: <200807021300.m62D0Osg034820@repoman.freebsd.org> mtm 2008-07-02 13:00:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/devfs devfs.8 Log: SVN rev 180179 on 2008-07-02 13:00:07Z by mtm MFC r180060: Support for filtering on major device number was removed in rev. 1.7 or rule.c. Update man page example accordingly. Submitted by: Mateusz Guzik PR: docs/124892 Revision Changes Path 1.15.2.2 +2 -2 src/sbin/devfs/devfs.8 From mtm at FreeBSD.org Wed Jul 2 13:03:25 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Wed Jul 2 13:03:36 2008 Subject: cvs commit: src/sbin/devfs devfs.8 Message-ID: <200807021303.m62D3PWc036180@repoman.freebsd.org> mtm 2008-07-02 13:03:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/devfs devfs.8 Log: SVN rev 180180 on 2008-07-02 13:03:08Z by mtm MFC r180060: Support for filtering on major device number was removed in rev. 1.7 or rule.c. Update man page example accordingly. Submitted by: Mateusz Guzik PR: docs/124892 Revision Changes Path 1.18.2.1 +2 -2 src/sbin/devfs/devfs.8 From gabor at FreeBSD.org Wed Jul 2 13:20:09 2008 From: gabor at FreeBSD.org (=?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?=) Date: Wed Jul 2 13:20:40 2008 Subject: cvs commit: CVSROOT mentors In-Reply-To: <200807020204.m6224xvl028635@repoman.freebsd.org> References: <200807020204.m6224xvl028635@repoman.freebsd.org> Message-ID: <486B7CDB.2060907@FreeBSD.org> Peter Wemm escribi?: > peter 2008-07-02 02:00:18 UTC > > FreeBSD src repository > > Modified files: > . mentors > Log: > SVN rev 180163 on 2008-07-02 02:00:18Z by peter > > Add a placeholder list for current mentors/mentees. svn cannot do forced > commits, so this should serve as a convenient place to announce that > somebody has been "released". We used to do a forced commit with cvs... > And what about the forgotten details? We also used to do (and we still do in dcvs and pcvs) a forced commit to note if we have forgotten something, e.g. the PR number. What is our new way to do that with SVN? Regards, -- Gabor Kovesdan EMAIL: gabor@FreeBSD.org WWW: http://www.kovesdan.org From danfe at FreeBSD.org Wed Jul 2 14:12:30 2008 From: danfe at FreeBSD.org (Alexey Dokuchaev) Date: Wed Jul 2 14:12:35 2008 Subject: cvs commit: CVSROOT mentors In-Reply-To: <486B7CDB.2060907@FreeBSD.org> References: <200807020204.m6224xvl028635@repoman.freebsd.org> <486B7CDB.2060907@FreeBSD.org> Message-ID: <20080702141230.GA52551@FreeBSD.org> On Wed, Jul 02, 2008 at 03:04:27PM +0200, G?bor K?vesd?n wrote: > Peter Wemm escribi?: > >peter 2008-07-02 02:00:18 UTC > > > > FreeBSD src repository > > > > Modified files: > > . mentors > > Log: > > SVN rev 180163 on 2008-07-02 02:00:18Z by peter > > > > Add a placeholder list for current mentors/mentees. svn cannot do forced > > commits, so this should serve as a convenient place to announce that > > somebody has been "released". We used to do a forced commit with cvs... > > > And what about the forgotten details? We also used to do (and we still > do in dcvs and pcvs) a forced commit to note if we have forgotten > something, e.g. the PR number. What is our new way to do that with SVN? I recall I was using "svn admin" or something like this for that purpose. I'm afraid this might not the possible with a project of our size, so the question still stands. ./danfe From emaste at FreeBSD.org Wed Jul 2 14:18:00 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Wed Jul 2 14:18:06 2008 Subject: cvs commit: src/sys/dev/aac aac_disk.c Message-ID: <200807021417.m62EHvcQ043262@repoman.freebsd.org> emaste 2008-07-02 14:17:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/aac aac_disk.c Log: SVN rev 180181 on 2008-07-02 14:17:49Z by emaste MFC r177899: Allow crashdumps on machines with >4GB of RAM as long as the adapter can do 64-bit S/G. Revision Changes Path 1.43.10.3 +54 -13 src/sys/dev/aac/aac_disk.c From ache at nagual.pp.ru Wed Jul 2 14:30:06 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Wed Jul 2 14:30:14 2008 Subject: cvs commit: src/usr.bin/unzip unzip.c In-Reply-To: <200806301711.m5UHBXRP005159@repoman.freebsd.org> References: <200806301711.m5UHBXRP005159@repoman.freebsd.org> Message-ID: <20080702141025.GA45518@nagual.pp.ru> On Mon, Jun 30, 2008 at 05:11:27PM +0000, Dag-Erling Smorgrav wrote: > des 2008-06-30 17:11:27 UTC > > FreeBSD src repository > > Modified files: > usr.bin/unzip unzip.c > Log: > SVN rev 180124 on 2008-06-30 17:11:27Z by des > > Quick shot at implementing -t (test). Thanks! Could you also please improve diagnostic about not supported compression methods too? Right now it looks a bit confusing: > unzip -t hal.zip debug.c ZIP decompression failed (-3) debug.h ZIP decompression failed (-3) ... unzip: 9 checksum error(s) found. -- http://ache.pp.ru/ From rwatson at FreeBSD.org Wed Jul 2 14:31:59 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 14:32:01 2008 Subject: cvs commit: src/sys/security/audit audit_worker.c Message-ID: <200807021431.m62EVxo8044487@repoman.freebsd.org> rwatson 2008-07-02 14:31:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit_worker.c Log: SVN rev 180182 on 2008-07-02 14:31:51Z by rwatson Merge audit_worker.c:1.24 (179178) from head to stable/7: Don't use LK_DRAIN before calling VOP_FSYNC() in the panic case for audit trail failure -- this doesn't contribute anything, and might arguably be wrong. Requested by: attilio Revision Changes Path 1.16.2.5 +2 -2 src/sys/security/audit/audit_worker.c From rwatson at FreeBSD.org Wed Jul 2 14:43:11 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 14:43:18 2008 Subject: cvs commit: src/sys/security/audit audit_worker.c In-Reply-To: <200807021431.m62EVxo8044487@repoman.freebsd.org> References: <200807021431.m62EVxo8044487@repoman.freebsd.org> Message-ID: <20080702154228.B7366@fledge.watson.org> On Wed, 2 Jul 2008, Robert Watson wrote: > rwatson 2008-07-02 14:31:51 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/security/audit audit_worker.c > Log: > SVN rev 180182 on 2008-07-02 14:31:51Z by rwatson > > Merge audit_worker.c:1.24 (179178) from head to stable/7: > > Don't use LK_DRAIN before calling VOP_FSYNC() in the panic case for > audit trail failure -- this doesn't contribute anything, and might > arguably be wrong. > > Requested by: attilio Too much meta-data floating around: this was, in fact, audit_worker.c:1.25 rather than audit_worker.c:1.24. I'll now merge audit_worker.c:1.24 and include an explanatory note. Robert N M Watson Computer Laboratory University of Cambridge From emaste at FreeBSD.org Wed Jul 2 14:44:15 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Wed Jul 2 14:44:17 2008 Subject: cvs commit: src/sys/dev/aac aac_disk.c Message-ID: <200807021444.m62EiF5Q045739@repoman.freebsd.org> emaste 2008-07-02 14:44:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/aac aac_disk.c Log: SVN rev 180183 on 2008-07-02 14:44:09Z by emaste MFC r177899: Allow crashdumps on machines with >4GB of RAM as long as the adapter can do 64-bit S/G. Revision Changes Path 1.43.2.2 +54 -13 src/sys/dev/aac/aac_disk.c From rwatson at FreeBSD.org Wed Jul 2 14:50:45 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 14:50:52 2008 Subject: cvs commit: src/sys/security/audit audit_worker.c Message-ID: <200807021450.m62EojQp046303@repoman.freebsd.org> rwatson 2008-07-02 14:50:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit_worker.c Log: SVN rev 180184 on 2008-07-02 14:50:30Z by rwatson Merge audit_worker.c:1.24 (sys:r179176) from head to stable/7: Don't use LK_DRAIN before calling VOP_FSYNC() in the panic case for audit trail failure -- this doesn't contribute anything, and might arguably be wrong. MFC after: 1 week Requested by: attilio Notice that the previous commit merging r179178 was in fact for audit_worker.c:1.25, but the same description applies. Revision Changes Path 1.16.2.6 +1 -1 src/sys/security/audit/audit_worker.c From rwatson at FreeBSD.org Wed Jul 2 15:23:19 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 15:23:25 2008 Subject: cvs commit: src/sys/netipx spx_usrreq.c Message-ID: <200807021523.m62FNJ8g050143@repoman.freebsd.org> rwatson 2008-07-02 15:23:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netipx spx_usrreq.c Log: SVN rev 180185 on 2008-07-02 15:23:08Z by rwatson Merge spx_usrreq.c:1.87 (r179332) from head to stable/7: Avoid unnecessary one use of dtom(9) in spx_input(). Revision Changes Path 1.86.2.1 +1 -1 src/sys/netipx/spx_usrreq.c From rwatson at FreeBSD.org Wed Jul 2 15:38:36 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 15:38:38 2008 Subject: cvs commit: src/sys/netipx spx_usrreq.c Message-ID: <200807021538.m62FcZuG051578@repoman.freebsd.org> rwatson 2008-07-02 15:38:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netipx spx_usrreq.c Log: SVN rev 180186 on 2008-07-02 15:38:20Z by rwatson Merge spx_usrreq.c:1.88 (r179408) from head to stable/7: Correct minor comment typos, make white space use before block comments more consistent. Revision Changes Path 1.86.2.2 +19 -6 src/sys/netipx/spx_usrreq.c From des at FreeBSD.org Wed Jul 2 15:56:59 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Jul 2 15:57:02 2008 Subject: cvs commit: src/sbin/quotacheck preen.c quotacheck.c src/usr.sbin/edquota edquota.c src/usr.sbin/quot quot.c src/usr.sbin/quotaon quotaon.c src/usr.sbin/repquota repquota.c Message-ID: <200807021556.m62FuxpV053229@repoman.freebsd.org> des 2008-07-02 15:51:59 UTC FreeBSD src repository Modified files: sbin/quotacheck preen.c quotacheck.c usr.sbin/edquota edquota.c usr.sbin/quot quot.c usr.sbin/quotaon quotaon.c usr.sbin/repquota repquota.c Log: SVN rev 180187 on 2008-07-02 15:51:59Z by des Drag this code kicking and screaming into the twenty-first century. Revision Changes Path 1.28 +8 -8 src/sbin/quotacheck/preen.c 1.36 +21 -46 src/sbin/quotacheck/quotacheck.c 1.27 +30 -59 src/usr.sbin/edquota/edquota.c 1.26 +51 -75 src/usr.sbin/quot/quot.c 1.13 +6 -12 src/usr.sbin/quotaon/quotaon.c 1.22 +14 -28 src/usr.sbin/repquota/repquota.c From rwatson at FreeBSD.org Wed Jul 2 16:08:59 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 16:09:03 2008 Subject: cvs commit: src/sys/netipx spx_usrreq.c Message-ID: <200807021608.m62G8xCW055266@repoman.freebsd.org> rwatson 2008-07-02 16:08:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netipx spx_usrreq.c Log: SVN rev 180188 on 2008-07-02 16:08:42Z by rwatson Merge spx_usrreq.c:1.89 (r179410) from head to stable/7: Rather than m_free(dtom(si)) in spx_reass(), return (1) which causes the caller to free the mbuf without using dtom(). Revision Changes Path 1.86.2.3 +3 -6 src/sys/netipx/spx_usrreq.c From rwatson at FreeBSD.org Wed Jul 2 16:22:21 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 16:22:23 2008 Subject: cvs commit: src/sys/kern uipc_syscalls.c Message-ID: <200807021622.m62GMFvh056383@repoman.freebsd.org> rwatson 2008-07-02 16:22:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_syscalls.c Log: SVN rev 180189 on 2008-07-02 16:22:00Z by rwatson Merge uipc_syscalls.c:1.272 (r179196) from head to stable/7: When sendto(2) is called with an explicit destination address argument, call mac_socket_check_connect() on that address before proceeding with the send. Otherwise policies instrumenting the connect entry point for the purposes of checking destination addresses will not have the opportunity to check implicit connect requests. Sponsored by: nCircle Network Security, Inc. Revision Changes Path 1.259.2.5 +5 -1 src/sys/kern/uipc_syscalls.c From mlaier at FreeBSD.org Wed Jul 2 16:23:03 2008 From: mlaier at FreeBSD.org (Max Laier) Date: Wed Jul 2 16:23:04 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807021623.m62GN2W1056517@repoman.freebsd.org> mlaier 2008-07-02 16:22:52 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180190 on 2008-07-02 16:22:52Z by mlaier Record eri@ as current mentee of thompsa@ and myself. Revision Changes Path 1.3 +1 -0 CVSROOT/mentors From max at love2party.net Wed Jul 2 16:25:45 2008 From: max at love2party.net (Max Laier) Date: Wed Jul 2 16:25:48 2008 Subject: cvs commit: CVSROOT mentors In-Reply-To: <20080702141230.GA52551@FreeBSD.org> References: <200807020204.m6224xvl028635@repoman.freebsd.org> <486B7CDB.2060907@FreeBSD.org> <20080702141230.GA52551@FreeBSD.org> Message-ID: <200807021811.01695.max@love2party.net> On Wednesday 02 July 2008 16:12:30 Alexey Dokuchaev wrote: > On Wed, Jul 02, 2008 at 03:04:27PM +0200, G?bor K?vesd?n wrote: > > Peter Wemm escribi?: > > >peter 2008-07-02 02:00:18 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > . mentors > > > Log: > > > SVN rev 180163 on 2008-07-02 02:00:18Z by peter > > > > > > Add a placeholder list for current mentors/mentees. svn cannot do > > > forced commits, so this should serve as a convenient place to > > > announce that somebody has been "released". We used to do a forced > > > commit with cvs... > > > > And what about the forgotten details? We also used to do (and we > > still do in dcvs and pcvs) a forced commit to note if we have > > forgotten something, e.g. the PR number. What is our new way to do > > that with SVN? > > I recall I was using "svn admin" or something like this for that > purpose. I'm afraid this might not the possible with a project of our > size, so the question still stands. One should be able to "svn pe --revprop -r svn:log" in a working copy in order to modify the log for a certain revision. I'm not sure what the CVS-exporter will make of it, but for SVN it seems possible right now. See http://svn.freebsd.org/viewvc/base/svnadmin/hooks/pre-revprop-change -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From rwatson at FreeBSD.org Wed Jul 2 17:28:50 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 17:28:56 2008 Subject: cvs commit: src/sys/netinet ip_dummynet.c raw_ip.c Message-ID: <200807021728.m62HSo3u073630@repoman.freebsd.org> rwatson 2008-07-02 17:28:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet ip_dummynet.c raw_ip.c Log: SVN rev 180191 on 2008-07-02 17:28:41Z by rwatson Merge ip_dummynet.c:1.116, raw_ip.c:1.185 (r179201) from head to stable/7: Consistently check IPFW and DUMMYNET privileges in the configuration routines for those modules, rather than in the raw socket code. This each privilege check to occur in exactly once place and avoids duplicate checks across layers. Sponsored by: nCircle Network Security, Inc. Revision Changes Path 1.110.2.3 +5 -0 src/sys/netinet/ip_dummynet.c 1.180.2.1 +0 -19 src/sys/netinet/raw_ip.c From rwatson at FreeBSD.org Wed Jul 2 17:40:40 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 17:40:43 2008 Subject: cvs commit: src/sys/conf files Message-ID: <200807021740.m62HedKY074666@repoman.freebsd.org> rwatson 2008-07-02 17:40:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files Log: SVN rev 180192 on 2008-07-02 17:40:34Z by rwatson Merge files:1.1309 (r179787) from head to stable/7: When NETATALK is compiled into the kernel, at_rmx.c is required regardless of whether NETATALKDEBUG is enabled, so make building it conditional on NETATALK instead. This problem appears to have been present from the time that the netatalk implementation was imported. PR: 124456 Submitted by: Nathan Whitehorn Revision Changes Path 1.1243.2.25 +1 -1 src/sys/conf/files From remko at FreeBSD.org Wed Jul 2 20:03:58 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Jul 2 20:04:00 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807022003.m62K3vFC090007@repoman.freebsd.org> remko 2008-07-02 20:03:35 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180195 on 2008-07-02 20:03:35Z by remko Add myself as mentee. Approved by: imp (mentor, implicit) Revision Changes Path 1.4 +1 -0 CVSROOT/mentors From pgollucci at p6m7g8.com Wed Jul 2 20:23:36 2008 From: pgollucci at p6m7g8.com (Philip M. Gollucci) Date: Wed Jul 2 20:23:41 2008 Subject: cvs commit: CVSROOT mentors In-Reply-To: <20080702141230.GA52551@FreeBSD.org> References: <200807020204.m6224xvl028635@repoman.freebsd.org> <486B7CDB.2060907@FreeBSD.org> <20080702141230.GA52551@FreeBSD.org> Message-ID: <486BE3C5.90602@p6m7g8.com> Alexey Dokuchaev wrote: > I recall I was using "svn admin" or something like this for that > purpose. I'm afraid this might not the possible with a project of our > size, so the question still stands. Typically, you can edit the log message revision property post commit in SVN. Its a FAQ. peter@ will have to had added the pre-revprop-change hook to allow this though. http://subversion.tigris.org/faq.html#change-log-msg From gabor at FreeBSD.org Wed Jul 2 20:25:33 2008 From: gabor at FreeBSD.org (=?ISO-8859-2?Q?G=E1bor_K=F6vesd=E1n?=) Date: Wed Jul 2 20:25:37 2008 Subject: cvs commit: CVSROOT mentors In-Reply-To: <486BE3C5.90602@p6m7g8.com> References: <200807020204.m6224xvl028635@repoman.freebsd.org> <486B7CDB.2060907@FreeBSD.org> <20080702141230.GA52551@FreeBSD.org> <486BE3C5.90602@p6m7g8.com> Message-ID: <486BE438.1010109@FreeBSD.org> Philip M. Gollucci escribi?: > Alexey Dokuchaev wrote: >> I recall I was using "svn admin" or something like this for that >> purpose. I'm afraid this might not the possible with a project of our >> size, so the question still stands. > Typically, you can edit the log message revision property post commit > in SVN. Its a FAQ. peter@ will have to had added the > pre-revprop-change hook to allow this though. And will it be seen on the list like a normal commit? It is an important consideration that the others notice the correction, I think. -- Gabor Kovesdan EMAIL: gabor@FreeBSD.org WWW: http://www.kovesdan.org From rdivacky at FreeBSD.org Wed Jul 2 20:44:44 2008 From: rdivacky at FreeBSD.org (Roman Divacky) Date: Wed Jul 2 20:44:47 2008 Subject: cvs commit: src/sys/kern kern_alq.c Message-ID: <200807022044.m62KiifK093164@repoman.freebsd.org> rdivacky 2008-07-02 20:44:33 UTC FreeBSD src repository Modified files: sys/kern kern_alq.c Log: SVN rev 180196 on 2008-07-02 20:44:33Z by rdivacky Use msleep_spin() instead of unlock/tsleep/lock. This was already commited but with a wrong msleep variant and then backed out. Note that this changes the semantic a little as msleep_spin does not let us to specify priority after wakeup. Approved by: wkoszek, cognet Approved by: kib (mentor) Revision Changes Path 1.24 +2 -6 src/sys/kern/kern_alq.c From pgollucci at p6m7g8.com Wed Jul 2 20:56:38 2008 From: pgollucci at p6m7g8.com (Philip M. Gollucci) Date: Wed Jul 2 20:56:43 2008 Subject: cvs commit: CVSROOT mentors In-Reply-To: <486BE438.1010109@FreeBSD.org> References: <200807020204.m6224xvl028635@repoman.freebsd.org> <486B7CDB.2060907@FreeBSD.org> <20080702141230.GA52551@FreeBSD.org> <486BE3C5.90602@p6m7g8.com> <486BE438.1010109@FreeBSD.org> Message-ID: <486BEB83.40807@p6m7g8.com> G?bor K?vesd?n wrote: > Philip M. Gollucci escribi?: >> Alexey Dokuchaev wrote: >>> I recall I was using "svn admin" or something like this for that >>> purpose. I'm afraid this might not the possible with a project of our >>> size, so the question still stands. >> Typically, you can edit the log message revision property post commit >> in SVN. Its a FAQ. peter@ will have to had added the >> pre-revprop-change hook to allow this though. > And will it be seen on the list like a normal commit? It is an important > consideration that the others notice the correction, I think. > IF the post-revprop-change hook invokes svn-mailer or whatever you use it will be. I can provider configs/examples for all of them if you want. From rwatson at FreeBSD.org Wed Jul 2 23:13:02 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 23:13:03 2008 Subject: cvs commit: src/sys/netinet6 ip6_input.c Message-ID: <200807022313.m62ND1Wt018320@repoman.freebsd.org> rwatson 2008-07-02 23:12:40 UTC FreeBSD src repository Modified files: sys/netinet6 ip6_input.c Log: SVN rev 180197 on 2008-07-02 23:12:40Z by rwatson Set the IPv6 netisr handler as NETISR_MPSAFE on the basis that, despite there still being some well-known races in mld6 and nd6, running with Giant over the netisr handler provides little or not additional synchronization that might cause mld6 and nd6 to behave better. Revision Changes Path 1.99 +1 -1 src/sys/netinet6/ip6_input.c From rwatson at FreeBSD.org Wed Jul 2 23:14:36 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 23:14:40 2008 Subject: cvs commit: src/sys/netinet6 ip6_input.c In-Reply-To: <200807022313.m62ND1Wt018320@repoman.freebsd.org> References: <200807022313.m62ND1Wt018320@repoman.freebsd.org> Message-ID: <20080703001317.Q47773@fledge.watson.org> On Wed, 2 Jul 2008, Robert Watson wrote: > SVN rev 180197 on 2008-07-02 23:12:40Z by rwatson > > Set the IPv6 netisr handler as NETISR_MPSAFE on the basis that, despite > there still being some well-known races in mld6 and nd6, running with > Giant over the netisr handler provides little or not additional > synchronization that might cause mld6 and nd6 to behave better. It would be *really* nice if someone with some IPv6 background and a real-world IPv6 deployment could spend some time locking down the loose ends in the IPv6 code. It's only because these races are relatively rare that we don't see more bug reports here. The above change can be backed out if it turns out to expose races more than anticipated, but the much better fix would be for someone to simply add the missing locking. Robert N M Watson Computer Laboratory University of Cambridge From rwatson at FreeBSD.org Wed Jul 2 23:24:53 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 2 23:24:56 2008 Subject: cvs commit: src/sys/kern uipc_socket.c src/sys/netinet udp_usrreq.c src/sys/sys socketvar.h Message-ID: <200807022324.m62NOr92019713@repoman.freebsd.org> rwatson 2008-07-02 23:23:27 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c sys/netinet udp_usrreq.c sys/sys socketvar.h Log: SVN rev 180198 on 2008-07-02 23:23:27Z by rwatson Add soreceive_dgram(9), an optimized socket receive function for use by datagram-only protocols, such as UDP. This version removes use of sblock(), which is not required due to an inability to interlace data improperly with datagrams, as well as avoiding some of the larger loops and state management that don't apply on datagram sockets. This is experimental code, so hook it up only for UDPv4 for testing; if there are problems we may need to revise it or turn it off by default, but it offers *significant* performance improvements for threaded UDP applications such as BIND9, nsd, and memcached using UDP. Tested by: kris, ps Revision Changes Path 1.311 +234 -0 src/sys/kern/uipc_socket.c 1.224 +1 -0 src/sys/netinet/udp_usrreq.c 1.165 +3 -0 src/sys/sys/socketvar.h From jb at FreeBSD.org Wed Jul 2 23:41:05 2008 From: jb at FreeBSD.org (John Birrell) Date: Wed Jul 2 23:41:07 2008 Subject: cvs commit: CVSROOT access mentors Message-ID: <200807022341.m62Nf5vI022080@repoman.freebsd.org> jb 2008-07-02 23:40:46 UTC FreeBSD src repository Modified files: . access mentors Log: SVN rev 180200 on 2008-07-02 23:40:46Z by jb Add Stacey Son to the ranks of src committers. He will be working on DTrace. Approved by: core Revision Changes Path 1.885 +1 -0 CVSROOT/access 1.5 +1 -0 CVSROOT/mentors From peter at FreeBSD.org Thu Jul 3 03:26:41 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Thu Jul 3 03:26:44 2008 Subject: cvs commit: src/lib/libarchive/test test_compat_gtar_1.tgz.uu test_pax_filename_encoding.tar.gz.uu test_read_format_gtar_sparse_1_13.tgz.uu test_read_format_gtar_sparse_1_17.tgz.uu test_read_format_gtar_sparse_1_17_posix00.tgz.uu test_read_format_gtar_sparse_1_17_posix01.tgz.uu test_read_format_gtar_sparse_1_17_posix10.tgz.uu test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu test_read_format_tar_empty_filename.tar.uu Message-ID: <200807030326.m633QfxZ055087@repoman.freebsd.org> peter 2008-07-03 03:26:30 UTC FreeBSD src repository Modified files: lib/libarchive/test test_compat_gtar_1.tgz.uu test_pax_filename_encoding.tar.gz.uu test_read_format_gtar_sparse_1_13.tgz.uu test_read_format_gtar_sparse_1_17.tgz.uu test_read_format_gtar_sparse_1_17_posix00.tgz.uu test_read_format_gtar_sparse_1_17_posix01.tgz.uu test_read_format_gtar_sparse_1_17_posix10.tgz.uu test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu test_read_format_tar_empty_filename.tar.uu Log: SVN rev 180204 on 2008-07-03 03:26:30Z by peter Add $FreeBSD$ to the uuencoded test files that didn't have them already. Revision Changes Path 1.2 +1 -0 src/lib/libarchive/test/test_compat_gtar_1.tgz.uu 1.2 +1 -0 src/lib/libarchive/test/test_pax_filename_encoding.tar.gz.uu 1.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_13.tgz.uu 1.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17.tgz.uu 1.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix00.tgz.uu 1.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix01.tgz.uu 1.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10.tgz.uu 1.2 +1 -0 src/lib/libarchive/test/test_read_format_gtar_sparse_1_17_posix10_modified.tar.uu 1.2 +1 -0 src/lib/libarchive/test/test_read_format_tar_empty_filename.tar.uu From peter at FreeBSD.org Thu Jul 3 03:37:13 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Thu Jul 3 03:37:16 2008 Subject: cvs commit: src/secure/usr.bin/bdes bdes.ps Message-ID: <200807030337.m633bCGU056020@repoman.freebsd.org> peter 2008-07-03 03:36:58 UTC FreeBSD src repository Modified files: secure/usr.bin/bdes bdes.ps Log: SVN rev 180206 on 2008-07-03 03:36:58Z by peter Add $FreeBSD$ Revision Changes Path 1.3 +1 -0 src/secure/usr.bin/bdes/bdes.ps From alc at FreeBSD.org Thu Jul 3 04:53:32 2008 From: alc at FreeBSD.org (Alan Cox) Date: Thu Jul 3 04:53:34 2008 Subject: cvs commit: src/sys/amd64/include vmparam.h Message-ID: <200807030453.m634rVFn074016@repoman.freebsd.org> alc 2008-07-03 04:53:14 UTC FreeBSD src repository Modified files: sys/amd64/include vmparam.h Log: SVN rev 180210 on 2008-07-03 04:53:14Z by alc Increase the ceiling on the kmem map's size to 3.6GB. Also, define the ceiling as a fraction of the kernel map's size rather than an absolute quantity. Thus, scaling of the kmem map's size will be automatic with changes to the kernel map's size. Revision Changes Path 1.54 +2 -1 src/sys/amd64/include/vmparam.h From rwatson at FreeBSD.org Thu Jul 3 06:47:50 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 3 06:47:53 2008 Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200807030647.m636lnec086199@repoman.freebsd.org> rwatson 2008-07-03 06:47:45 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: SVN rev 180211 on 2008-07-03 06:47:45Z by rwatson Update copyright date in light of soreceive_dgram(9). Revision Changes Path 1.312 +1 -1 src/sys/kern/uipc_socket.c From bz at FreeBSD.org Thu Jul 3 07:50:07 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Thu Jul 3 07:50:13 2008 Subject: cvs commit: src/sys/netinet6 ip6_input.c In-Reply-To: <200807022313.m62ND1Wt018320@repoman.freebsd.org> References: <200807022313.m62ND1Wt018320@repoman.freebsd.org> Message-ID: <20080703074800.C57089@maildrop.int.zabbadoz.net> On Wed, 2 Jul 2008, Robert Watson wrote: > rwatson 2008-07-02 23:12:40 UTC > > FreeBSD src repository > > Modified files: > sys/netinet6 ip6_input.c > Log: > SVN rev 180197 on 2008-07-02 23:12:40Z by rwatson > > Set the IPv6 netisr handler as NETISR_MPSAFE on the basis that, despite > there still being some well-known races in mld6 and nd6, running with > Giant over the netisr handler provides little or not additional > synchronization that might cause mld6 and nd6 to behave better. set fire on... oh wait... I wonder if anyone is up for locking those parts or invest in this? > Revision Changes Path > 1.99 +1 -1 src/sys/netinet6/ip6_input.c > -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From bz at FreeBSD.org Thu Jul 3 07:55:07 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Thu Jul 3 07:55:11 2008 Subject: cvs commit: src/sys/kern uipc_socket.c src/sys/netinet udp_usrreq.c src/sys/sys socketvar.h In-Reply-To: <200807022324.m62NOr92019713@repoman.freebsd.org> References: <200807022324.m62NOr92019713@repoman.freebsd.org> Message-ID: <20080703074940.M57089@maildrop.int.zabbadoz.net> On Wed, 2 Jul 2008, Robert Watson wrote: > rwatson 2008-07-02 23:23:27 UTC > > FreeBSD src repository > > Modified files: > sys/kern uipc_socket.c > sys/netinet udp_usrreq.c > sys/sys socketvar.h > Log: > SVN rev 180198 on 2008-07-02 23:23:27Z by rwatson > > Add soreceive_dgram(9), an optimized socket receive function for use by > datagram-only protocols, such as UDP. This version removes use of > sblock(), which is not required due to an inability to interlace data > improperly with datagrams, as well as avoiding some of the larger loops > and state management that don't apply on datagram sockets. > > This is experimental code, so hook it up only for UDPv4 for testing; if Out of curiosity could one hook it up for v6 as well or is there code missing (haven't read the diff yet). There might be people who would want to test experimental v6 paths as well if possible... > there are problems we may need to revise it or turn it off by default, > but it offers *significant* performance improvements for threaded UDP > applications such as BIND9, nsd, and memcached using UDP. > > Tested by: kris, ps > > Revision Changes Path > 1.311 +234 -0 src/sys/kern/uipc_socket.c > 1.224 +1 -0 src/sys/netinet/udp_usrreq.c > 1.165 +3 -0 src/sys/sys/socketvar.h > -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From rwatson at FreeBSD.org Thu Jul 3 08:09:43 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 3 08:09:51 2008 Subject: cvs commit: src/sys/kern uipc_socket.c src/sys/netinet udp_usrreq.c src/sys/sys socketvar.h In-Reply-To: <20080703074940.M57089@maildrop.int.zabbadoz.net> References: <200807022324.m62NOr92019713@repoman.freebsd.org> <20080703074940.M57089@maildrop.int.zabbadoz.net> Message-ID: <20080703090831.H69986@fledge.watson.org> On Thu, 3 Jul 2008, Bjoern A. Zeeb wrote: >> Add soreceive_dgram(9), an optimized socket receive function for use by >> datagram-only protocols, such as UDP. This version removes use of >> sblock(), which is not required due to an inability to interlace data >> improperly with datagrams, as well as avoiding some of the larger loops >> and state management that don't apply on datagram sockets. >> >> This is experimental code, so hook it up only for UDPv4 for testing; if > > Out of curiosity could one hook it up for v6 as well or is there code > missing (haven't read the diff yet). There might be people who would want to > test experimental v6 paths as well if possible... I've hooked up soreceive_dgram() only for UDPv4, but Paul Saab has volunteered to do UDPv6 testing. Asuming that goes well, I'll hook up UDPv6 sometime soon also. As far as I know, no code is missing -- in principle, soreceive_dgram() could also be used for IP raw sockets, Appletalk, IPX, etc, as well. Robert N M Watson Computer Laboratory University of Cambridge From julian at FreeBSD.org Thu Jul 3 08:36:07 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 3 08:36:09 2008 Subject: cvs commit: src/sys/kern uipc_debug.c Message-ID: <200807030836.m638a7le000278@repoman.freebsd.org> julian 2008-07-03 08:35:59 UTC FreeBSD src repository Modified files: sys/kern uipc_debug.c Log: SVN rev 180213 on 2008-07-03 08:35:59Z by julian Change a variable name to not shadow a global Obtained from: vimage Revision Changes Path 1.4 +2 -2 src/sys/kern/uipc_debug.c From rwatson at FreeBSD.org Thu Jul 3 10:55:24 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 3 10:55:27 2008 Subject: cvs commit: src/sys/netinet6 frag6.c ip6_forward.c ip6_input.c Message-ID: <200807031055.m63AtNC9037577@repoman.freebsd.org> rwatson 2008-07-03 10:55:13 UTC FreeBSD src repository Modified files: sys/netinet6 frag6.c ip6_forward.c ip6_input.c Log: SVN rev 180214 on 2008-07-03 10:55:13Z by rwatson Remove GIANT_REQUIRED from IPv6 input, forward, and frag6 code. The frag6 code is believed to be MPSAFE, and leaving aside the IPv6 route cache in forwarding, Giant appears not to adequately synchronize the data structures in the input or forwarding paths. Revision Changes Path 1.36 +0 -4 src/sys/netinet6/frag6.c 1.42 +1 -1 src/sys/netinet6/ip6_forward.c 1.100 +0 -2 src/sys/netinet6/ip6_input.c From bz at FreeBSD.org Thu Jul 3 12:44:56 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Thu Jul 3 12:44:59 2008 Subject: cvs commit: src/sys/netinet ip_input.c Message-ID: <200807031244.m63Ciu4s049280@repoman.freebsd.org> bz 2008-07-03 12:44:36 UTC FreeBSD src repository Modified files: sys/netinet ip_input.c Log: SVN rev 180215 on 2008-07-03 12:44:36Z by bz Remove a bogusly introduced rtalloc_ign() in rev. 1.335/SVN 178029, generating an RTM_MISS for every IP packet forwarded making user space routing daemons unhappy. PR: kern/123621, kern/124540, kern/122338 Reported by: Paul , Mike Tancsa on net@ Tested by: Paul and Mike Reviewed by: andre MFC after: 3 days Revision Changes Path 1.337 +0 -1 src/sys/netinet/ip_input.c From blackend at FreeBSD.org Thu Jul 3 12:48:28 2008 From: blackend at FreeBSD.org (Marc Fonvieille) Date: Thu Jul 3 12:48:30 2008 Subject: cvs commit: src/share/man/man4 uftdi.4 Message-ID: <200807031248.m63CmRnD058896@repoman.freebsd.org> blackend 2008-07-03 12:48:13 UTC FreeBSD src repository Modified files: share/man/man4 uftdi.4 Log: SVN rev 180216 on 2008-07-03 12:48:13Z by blackend Elexol USB MOD3 is also supported. Revision Changes Path 1.12 +1 -1 src/share/man/man4/uftdi.4 From dfr at FreeBSD.org Thu Jul 3 14:09:15 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Thu Jul 3 14:09:22 2008 Subject: cvs commit: src/sys/nlm nlm_prot_impl.c Message-ID: <200807031409.m63E9Eok067790@repoman.freebsd.org> dfr 2008-07-03 14:09:00 UTC FreeBSD src repository Modified files: sys/nlm nlm_prot_impl.c Log: SVN rev 180217 on 2008-07-03 14:09:00Z by dfr Add module dependancy on nfs. Revision Changes Path 1.12 +1 -0 src/sys/nlm/nlm_prot_impl.c From marcel at FreeBSD.org Thu Jul 3 14:38:49 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 3 14:38:51 2008 Subject: cvs commit: CVSROOT access mentors Message-ID: <200807031438.m63EclYt070147@repoman.freebsd.org> marcel 2008-07-03 14:38:42 UTC FreeBSD src repository Modified files: . access mentors Log: SVN rev 180218 on 2008-07-03 14:38:42Z by marcel Add Nathan Whitehorn. Approved by: core Revision Changes Path 1.886 +1 -0 CVSROOT/access 1.6 +1 -0 CVSROOT/mentors From kib at FreeBSD.org Thu Jul 3 14:51:34 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Thu Jul 3 14:51:36 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807031451.m63EpX8U071211@repoman.freebsd.org> kib 2008-07-03 14:51:23 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180219 on 2008-07-03 14:51:23Z by kib List my mentees Revision Changes Path 1.7 +2 -0 CVSROOT/mentors From thompsa at FreeBSD.org Thu Jul 3 15:58:35 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Thu Jul 3 15:58:37 2008 Subject: cvs commit: src/sys/net if_bridge.c Message-ID: <200807031558.m63FwY5U078731@repoman.freebsd.org> thompsa 2008-07-03 15:58:30 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: SVN rev 180220 on 2008-07-03 15:58:30Z by thompsa Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will only be disabled if one (or more) of the member interfaces does not support it. Always turn off LRO since we can not bridge a combined frame. Tested by: Stefan Lambrev Revision Changes Path 1.114 +51 -23 src/sys/net/if_bridge.c From danger at FreeBSD.org Thu Jul 3 16:48:51 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Thu Jul 3 16:48:53 2008 Subject: cvs commit: src/share/man/man4 snd_emu10kx.4 Message-ID: <200807031648.m63GmplM093446@repoman.freebsd.org> danger 2008-07-03 16:48:35 UTC FreeBSD src repository Modified files: share/man/man4 snd_emu10kx.4 Log: SVN rev 180221 on 2008-07-03 16:48:35Z by danger - fix typos PR: docs/125223 Submitted by: Fabian Keil MFC after: 3 days Revision Changes Path 1.7 +2 -2 src/share/man/man4/snd_emu10kx.4 From marcel at FreeBSD.org Thu Jul 3 16:49:52 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 3 16:49:54 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200807031649.m63GnqbZ093540@repoman.freebsd.org> marcel 2008-07-03 16:49:33 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: SVN rev 180222 on 2008-07-03 16:49:33Z by marcel Belatedly add myself to the active committer section. Revision Changes Path 1.76 +1 -0 src/share/misc/committers-src.dot From marcel at FreeBSD.org Thu Jul 3 16:53:23 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 3 16:53:25 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200807031653.m63GrNg4093841@repoman.freebsd.org> marcel 2008-07-03 16:53:19 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: SVN rev 180223 on 2008-07-03 16:53:19Z by marcel Soren was my mentor. I have mentored arun and marius. Revision Changes Path 1.77 +5 -0 src/share/misc/committers-src.dot From danger at FreeBSD.org Thu Jul 3 17:02:24 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Thu Jul 3 17:02:26 2008 Subject: cvs commit: src/usr.sbin/mountd exports.5 Message-ID: <200807031702.m63H2OKU094547@repoman.freebsd.org> danger 2008-07-03 17:02:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/mountd exports.5 Log: SVN rev 180224 on 2008-07-03 17:02:04Z by danger MFC r180071, r180112, r180154: - markup fixes - advise to use rc script to SIGHUP mountd - add some missing words - add information about possiblity of using /prefix network notation [1] PR: docs/124373 [1] Obtained from: NetBSD [1] Revision Changes Path 1.28.2.1 +97 -27 src/usr.sbin/mountd/exports.5 From marcel at FreeBSD.org Thu Jul 3 17:02:55 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 3 17:02:57 2008 Subject: cvs commit: src/share/misc committers-ports.dot Message-ID: <200807031702.m63H2tS3094602@repoman.freebsd.org> marcel 2008-07-03 17:02:43 UTC FreeBSD src repository Modified files: share/misc committers-ports.dot Log: SVN rev 180225 on 2008-07-03 17:02:43Z by marcel Belatedly add myself to the alumni section. Revision Changes Path 1.70 +1 -0 src/share/misc/committers-ports.dot From marcel at FreeBSD.org Thu Jul 3 17:10:50 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 3 17:10:53 2008 Subject: cvs commit: src/share/misc committers-doc.dot Message-ID: <200807031710.m63HAi2b096474@repoman.freebsd.org> marcel 2008-07-03 17:10:18 UTC FreeBSD src repository Modified files: share/misc committers-doc.dot Log: SVN rev 180226 on 2008-07-03 17:10:18Z by marcel Belatedly add myself to the active *cough* doc committers. Revision Changes Path 1.25 +1 -0 src/share/misc/committers-doc.dot From nwhitehorn at FreeBSD.org Thu Jul 3 18:57:07 2008 From: nwhitehorn at FreeBSD.org (Nathan Whitehorn) Date: Thu Jul 3 18:57:09 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200807031857.m63Iv65V006270@repoman.freebsd.org> nwhitehorn 2008-07-03 18:57:00 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: SVN rev 180227 on 2008-07-03 18:57:00Z by nwhitehorn Add myself to src committers graph. Approved by: marcel (mentor) Revision Changes Path 1.78 +2 -0 src/share/misc/committers-src.dot From marcel at FreeBSD.org Thu Jul 3 19:41:14 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 3 19:41:16 2008 Subject: cvs commit: src/sbin/geom Makefile Message-ID: <200807031941.m63JfEtT011160@repoman.freebsd.org> marcel 2008-07-03 19:40:59 UTC FreeBSD src repository Modified files: sbin/geom Makefile Log: SVN rev 180228 on 2008-07-03 19:40:59Z by marcel Add NO_MAN for the static variant of geom(8). Both the RESCUE and the RELEASE_CRUNCH builds use NO_MAN anyway, so this change is primarily to avoid that developers have to set NO_MAN manually when they build the static variant. Revision Changes Path 1.6 +1 -0 src/sbin/geom/Makefile From marcel at FreeBSD.org Thu Jul 3 20:53:49 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 3 20:53:52 2008 Subject: cvs commit: src/sbin Makefile Message-ID: <200807032053.m63Krmas027905@repoman.freebsd.org> marcel 2008-07-03 20:53:15 UTC FreeBSD src repository Modified files: sbin Makefile Log: SVN rev 180229 on 2008-07-03 20:53:15Z by marcel Stop building bsdlabel(8) and fdisk(8) on ia64. Both tools are obsoleted by gpart(8). This avoids the following bugs in fdisk: - initializing a disk without MBR bogusly emits the error: fdisk: invalid fdisk partition table found - initializing a disk with or without MBR bogusly emits either: fdisk: Class not found or fdisk: Geom not found: "XXX" - the default geometry for non-ATA and non-SCSI disks is either invalid or sub-optimizal. Revision Changes Path 1.171 +5 -2 src/sbin/Makefile From marcel at FreeBSD.org Thu Jul 3 21:04:57 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 3 21:05:00 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200807032104.m63L4vVc029872@repoman.freebsd.org> marcel 2008-07-03 21:00:16 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: SVN rev 180230 on 2008-07-03 21:00:16Z by marcel bsdlabel and fdisk are obsoleted on ia64. While here, make sure to remove any remnants of the disklabel manpage. Revision Changes Path 1.145 +8 -0 src/ObsoleteFiles.inc From julian at FreeBSD.org Thu Jul 3 21:27:49 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 3 21:27:51 2008 Subject: cvs commit: CVSROOT access mentors Message-ID: <200807032127.m63LRmCP031766@repoman.freebsd.org> julian 2008-07-03 21:27:40 UTC FreeBSD src repository Modified files: . access mentors Log: SVN rev 180231 on 2008-07-03 21:27:40Z by julian Add Marko Zec. Marko has had a perforce account for some time and has been active in the virtualised network side of things for a long time. He is going to be doing more vimage stuff as we prepare to get it into the tree. I am co-mentoring with Silby Approved by: core Revision Changes Path 1.887 +1 -0 CVSROOT/access 1.8 +1 -0 CVSROOT/mentors From cokane at FreeBSD.org Thu Jul 3 21:45:34 2008 From: cokane at FreeBSD.org (Coleman Kane) Date: Thu Jul 3 21:45:36 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200807032145.m63LjYdn033334@repoman.freebsd.org> cokane 2008-07-03 21:45:25 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: SVN rev 180232 on 2008-07-03 21:45:25Z by cokane Belatedly add myself to the committers graph Revision Changes Path 1.79 +2 -0 src/share/misc/committers-src.dot From nwhitehorn at FreeBSD.org Thu Jul 3 21:51:50 2008 From: nwhitehorn at FreeBSD.org (Nathan Whitehorn) Date: Thu Jul 3 21:51:53 2008 Subject: cvs commit: src/sys/dev/bm if_bm.c if_bmreg.h if_bmvar.h Message-ID: <200807032151.m63Lpori033821@repoman.freebsd.org> nwhitehorn 2008-07-03 21:51:30 UTC FreeBSD src repository Modified files: sys/dev/bm if_bm.c if_bmreg.h if_bmvar.h Log: SVN rev 180233 on 2008-07-03 21:51:30Z by nwhitehorn Fix some locking and logic bugs pointed out by jhb. These fix driver detach and speed up data transfer by nearly a factor of 2. Approved by: marcel (mentor) Revision Changes Path 1.2 +20 -32 src/sys/dev/bm/if_bm.c 1.2 +6 -6 src/sys/dev/bm/if_bmreg.h 1.2 +0 -2 src/sys/dev/bm/if_bmvar.h From edwin at FreeBSD.org Thu Jul 3 22:27:07 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Jul 3 22:27:10 2008 Subject: cvs commit: src/usr.bin/ldd ldd.c Message-ID: <200807032227.m63MR6OS038338@repoman.freebsd.org> edwin 2008-07-03 22:26:43 UTC FreeBSD src repository Modified files: usr.bin/ldd ldd.c Log: SVN rev 180234 on 2008-07-03 22:26:43Z by edwin stylify ldd.c, no functional changes. Approved by: bde (mentor) MFC after: 1 week Revision Changes Path 1.34 +34 -37 src/usr.bin/ldd/ldd.c From edwin at FreeBSD.org Thu Jul 3 22:30:22 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Jul 3 22:30:24 2008 Subject: cvs commit: src/usr.bin/ldd ldd.c Message-ID: <200807032230.m63MUMa7038699@repoman.freebsd.org> edwin 2008-07-03 22:30:18 UTC FreeBSD src repository Modified files: usr.bin/ldd ldd.c Log: SVN rev 180235 on 2008-07-03 22:30:18Z by edwin Extract the determination of the kind of (dynamic) executable from the main-loop into a seperate function. Instead of using hardcoded environment variables, define them in a lookup table. For the rest, no functionality changes. Approved by: bde (mentor) MFC after: 1 week Revision Changes Path 1.35 +121 -82 src/usr.bin/ldd/ldd.c From edwin at FreeBSD.org Thu Jul 3 22:38:08 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Jul 3 22:38:11 2008 Subject: cvs commit: src/usr.bin/ldd ldd.1 ldd.c Message-ID: <200807032238.m63Mc8cZ039421@repoman.freebsd.org> edwin 2008-07-03 22:37:51 UTC FreeBSD src repository Modified files: usr.bin/ldd ldd.1 ldd.c Log: SVN rev 180236 on 2008-07-03 22:37:51Z by edwin On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them: [/] root@ed-exigent>ldd `which httpd` ldd: /usr/local/sbin/httpd: can't read program header ldd: /usr/local/sbin/httpd: not a dynamic executable But... [/] root@ed-exigent>LD_32_TRACE_LOADED_OBJECTS==1 `which httpd` libm.so.4 => /lib32//libm.so.4 (0x280c8000) libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x280de000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x280f2000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28110000) libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x281fd000) libcrypt.so.3 => /lib32//libcrypt.so.3 (0x2821d000) libpthread.so.2 => not found (0x0) libc.so.6 => /lib32//libc.so.6 (0x28235000) libpthread.so.2 => /usr/lib32/libpthread.so.2 (0x2830d000) Added support in ldd(1) for the LD_32_xxx environment variables if the architecture of the machine is >32 bits. If we ever go to 128 bit architectures this excercise will have to be repeated but thanks to earlier commits today it will be relative simple. PR: bin/124906 Submitted by: edwin Approved by: bde (mentor) MFC after: 1 week Revision Changes Path 1.27 +6 -0 src/usr.bin/ldd/ldd.1 1.36 +76 -2 src/usr.bin/ldd/ldd.c From das at FreeBSD.org Thu Jul 3 23:06:12 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Jul 3 23:06:14 2008 Subject: cvs commit: src/tools/regression/lib/msun Makefile test-fmaxmin.c test-fmaxmin.t Message-ID: <200807032306.m63N6BSv042959@repoman.freebsd.org> das 2008-07-03 23:06:06 UTC FreeBSD src repository Modified files: tools/regression/lib/msun Makefile Added files: tools/regression/lib/msun test-fmaxmin.c test-fmaxmin.t Log: SVN rev 180237 on 2008-07-03 23:06:06Z by das Add regression tests for fmin{,f,l} and fmax{,f,l}. I wrote these to test amd64 asm functions that used maxss, maxsd, minss, and minsd, but it turns out that those instructions don't handle NaNs and signed zero in the same way as fmin() and fmax() are required to, so we're stuck with the C versions for now. Revision Changes Path 1.13 +2 -1 src/tools/regression/lib/msun/Makefile 1.1 +149 -0 src/tools/regression/lib/msun/test-fmaxmin.c (new) 1.1 +10 -0 src/tools/regression/lib/msun/test-fmaxmin.t (new) From emaste at FreeBSD.org Thu Jul 3 23:26:15 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Thu Jul 3 23:26:18 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c Message-ID: <200807032326.m63NQCdW044654@repoman.freebsd.org> emaste 2008-07-03 23:26:10 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c Log: SVN rev 180238 on 2008-07-03 23:26:10Z by emaste Use bcopy instead of strlcpy in uipc_bind and unp_connect, since soun->sun_path isn't a null-terminated string. As UNIX(4) states, "the terminating NUL is not part of the address." Since strlcpy has to return "the total length of the string [it] tried to create," it walks off the end of soun->sun_path looking for a \0. This reverts r105332. Reported by: Ryan Stone Revision Changes Path 1.215 +4 -2 src/sys/kern/uipc_usrreq.c From rwatson at FreeBSD.org Fri Jul 4 00:24:03 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Jul 4 00:24:05 2008 Subject: cvs commit: src/sys/dev/usb usb_ethersubr.c src/sys/kern kern_poll.c src/sys/net if_ppp.c netisr.c netisr.h rtsock.c src/sys/netatalk ddp_usrreq.c src/sys/netgraph ng_base.c src/sys/netinet if_ether.c ip_input.c src/sys/netinet6 ip6_input.c ... Message-ID: <200807040024.m640O3xh050781@repoman.freebsd.org> rwatson 2008-07-04 00:21:38 UTC FreeBSD src repository Modified files: sys/dev/usb usb_ethersubr.c sys/kern kern_poll.c sys/net if_ppp.c netisr.c netisr.h rtsock.c sys/netatalk ddp_usrreq.c sys/netgraph ng_base.c sys/netinet if_ether.c ip_input.c sys/netinet6 ip6_input.c sys/netipx ipx_input.c sys/netnatm natm_proto.c Log: SVN rev 180239 on 2008-07-04 00:21:38Z by rwatson Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly dispatched without Giant, and add NETISR_FORCEQUEUE, which allows specific netisr handlers to always be dispatched via a queue (deferred). Mark the usb and if_ppp netisr handlers as NETISR_FORCEQUEUE, and explicitly acquire Giant in those handlers. Previously, any netisr handler not marked NETISR_MPSAFE would necessarily run deferred and with Giant acquired. This change removes Giant scaffolding from the netisr infrastructure, but NETISR_FORCEQUEUE allows non-MPSAFE handlers to continue to force deferred dispatch so as to avoid lock order reversals between their acqusition of Giant and any calling context. It is likely we will be able to remove NETISR_FORCEQUEUE once IFF_NEEDSGIANT is removed, as non-MPSAFE usb and if_ppp drivers will no longer be supported. Reviewed by: bz MFC after: 1 month X-MFC note: We can't remove NETISR_MPSAFE from stable/7 for KPI reasons, but the rest can go back. Revision Changes Path 1.24 +6 -1 src/sys/dev/usb/usb_ethersubr.c 1.33 +2 -4 src/sys/kern/kern_poll.c 1.123 +4 -3 src/sys/net/if_ppp.c 1.22 +15 -31 src/sys/net/netisr.c 1.35 +1 -1 src/sys/net/netisr.h 1.147 +1 -1 src/sys/net/rtsock.c 1.56 +3 -3 src/sys/netatalk/ddp_usrreq.c 1.160 +1 -2 src/sys/netgraph/ng_base.c 1.172 +1 -1 src/sys/netinet/if_ether.c 1.338 +1 -1 src/sys/netinet/ip_input.c 1.101 +1 -1 src/sys/netinet6/ip6_input.c 1.58 +1 -1 src/sys/netipx/ipx_input.c 1.21 +1 -1 src/sys/netnatm/natm_proto.c From delphij at FreeBSD.org Fri Jul 4 01:31:14 2008 From: delphij at FreeBSD.org (Xin LI) Date: Fri Jul 4 01:31:15 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC src/sys/conf NOTES files src/sys/dev/et if_et.c if_etreg.h if_etvar.h src/sys/dev/mii miidevs truephy.c truephyreg.h src/sys/i386/conf GENERIC src/sys/modules Makefile src/sys/modules/et Makefile ... Message-ID: <200807040131.m641VDUM044567@repoman.freebsd.org> delphij 2008-07-04 01:29:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/conf GENERIC sys/conf NOTES files sys/dev/mii miidevs sys/i386/conf GENERIC sys/modules Makefile sys/modules/mii Makefile Added files: (Branch: RELENG_7) sys/dev/et if_et.c if_etreg.h if_etvar.h sys/dev/mii truephy.c truephyreg.h sys/modules/et Makefile Log: SVN rev 180240 on 2008-07-04 01:29:12Z by delphij MFC revision 179895 and 179896: Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabit Ethernet device driver, written by sephe@ Obtained from: DragonFly Sponsored by: iXsystems MFC after: 2 weeks Revision Changes Path 1.484.2.8 +1 -0 src/sys/amd64/conf/GENERIC 1.1454.2.11 +1 -0 src/sys/conf/NOTES 1.1243.2.26 +2 -0 src/sys/conf/files 1.1.2.1 +2389 -0 src/sys/dev/et/if_et.c (new) 1.1.2.1 +436 -0 src/sys/dev/et/if_etreg.h (new) 1.1.2.1 +279 -0 src/sys/dev/et/if_etvar.h (new) 1.46.2.7 +4 -0 src/sys/dev/mii/miidevs 1.1.2.1 +355 -0 src/sys/dev/mii/truephy.c (new) 1.1.2.1 +64 -0 src/sys/dev/mii/truephyreg.h (new) 1.474.2.8 +1 -0 src/sys/i386/conf/GENERIC 1.540.2.14 +3 -0 src/sys/modules/Makefile 1.1.2.1 +10 -0 src/sys/modules/et/Makefile (new) 1.30.2.4 +2 -1 src/sys/modules/mii/Makefile From marcel at FreeBSD.org Fri Jul 4 04:34:02 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Fri Jul 4 04:34:13 2008 Subject: cvs commit: src/sbin Makefile Message-ID: <200807040434.m644Y2rX006854@repoman.freebsd.org> marcel 2008-07-04 04:33:33 UTC FreeBSD src repository Modified files: sbin Makefile Log: SVN rev 180247 on 2008-07-04 04:33:33Z by marcel Make sunlabel specific to sparc64. This is mostly for backward compatibility reasons. Sun labels, with VTOC8, are handled by gpart(8). Revision Changes Path 1.172 +5 -1 src/sbin/Makefile From marcel at FreeBSD.org Fri Jul 4 04:49:58 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Fri Jul 4 04:50:09 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200807040449.m644nvpC037092@repoman.freebsd.org> marcel 2008-07-04 04:39:45 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: SVN rev 180248 on 2008-07-04 04:39:45Z by marcel sunlabel(8) is specific to sparc64. Remove from other platforms. use gpart(8) on all platforms. Revision Changes Path 1.146 +5 -0 src/ObsoleteFiles.inc From peter at wemm.org Fri Jul 4 05:01:34 2008 From: peter at wemm.org (Peter Wemm) Date: Fri Jul 4 05:01:47 2008 Subject: cvs commit: CVSROOT mentors In-Reply-To: <486BEB83.40807@p6m7g8.com> References: <200807020204.m6224xvl028635@repoman.freebsd.org> <486B7CDB.2060907@FreeBSD.org> <20080702141230.GA52551@FreeBSD.org> <486BE3C5.90602@p6m7g8.com> <486BE438.1010109@FreeBSD.org> <486BEB83.40807@p6m7g8.com> Message-ID: 2008/7/2 Philip M. Gollucci : > G?bor K?vesd?n wrote: >> >> Philip M. Gollucci escribi?: >>> >>> Alexey Dokuchaev wrote: >>>> >>>> I recall I was using "svn admin" or something like this for that >>>> purpose. I'm afraid this might not the possible with a project of our >>>> size, so the question still stands. >>> >>> Typically, you can edit the log message revision property post commit in >>> SVN. Its a FAQ. peter@ will have to had added the pre-revprop-change hook >>> to allow this though. >> >> And will it be seen on the list like a normal commit? It is an important >> consideration that the others notice the correction, I think. >> > IF the post-revprop-change hook invokes svn-mailer or whatever you use it > will be. > > I can provider configs/examples for all of them if you want. While this is the way it is normally done on a standalone repository, it doesn't work when svnsync is involved. svnsync doesn't know to fetch the changed revprop that holds the log message. If we used svnsync in "push" mode, we can tell it to copy the revprop as part of the post-commit hook. But the bulk of the mirrors are random people copying it in pull mode, so that doesn't work. Also, editing the revprop won't be propagated to the cvs tree as the export is a one-time pass. I'd be more inclined to figure out a way to just force a commit. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From pgollucci at p6m7g8.com Fri Jul 4 05:09:21 2008 From: pgollucci at p6m7g8.com (Philip M. Gollucci) Date: Fri Jul 4 05:09:32 2008 Subject: cvs commit: CVSROOT mentors In-Reply-To: References: <200807020204.m6224xvl028635@repoman.freebsd.org> <486B7CDB.2060907@FreeBSD.org> <20080702141230.GA52551@FreeBSD.org> <486BE3C5.90602@p6m7g8.com> <486BE438.1010109@FreeBSD.org> <486BEB83.40807@p6m7g8.com> Message-ID: <486DB07F.3090809@p6m7g8.com> Peter Wemm wrote: > If we used svnsync in "push" mode, we can tell it to copy the revprop > as part of the post-commit hook. But the bulk of the mirrors are > random people copying it in pull mode, so that doesn't work. Not true, for example svn.apache.org <-> svn.eu.apache.org via SVNMasterURI and svnsync. > Also, editing the revprop won't be propagated to the cvs tree as the > export is a one-time pass. This *is* probably the so show stopper. > > I'd be more inclined to figure out a way to just force a commit. Thats a C level edit in the RA layer IIRC. -- ------------------------------------------------------------------------ Philip M. Gollucci (philip@ridecharge.com) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. From thompsa at FreeBSD.org Fri Jul 4 05:34:18 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Fri Jul 4 05:34:30 2008 Subject: cvs commit: src/sys/net if_lagg.c Message-ID: <200807040534.m645YH4f041698@repoman.freebsd.org> thompsa 2008-07-04 05:33:58 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: SVN rev 180249 on 2008-07-04 05:33:58Z by thompsa port % count will never be greater than LAGG_MAX_PORTS so nuke the test. Revision Changes Path 1.28 +2 -6 src/sys/net/if_lagg.c From ed at FreeBSD.org Fri Jul 4 08:16:20 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Fri Jul 4 08:16:32 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807040816.m648GJXt061592@repoman.freebsd.org> ed 2008-07-04 08:16:10 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180250 on 2008-07-04 08:16:10Z by ed Add myself to the mentors list. Also sort the list by mentee name, as stated in comment at the top. Approved by: philip (mentor, implicit) Revision Changes Path 1.9 +2 -1 CVSROOT/mentors From peter at FreeBSD.org Fri Jul 4 08:23:21 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Fri Jul 4 08:23:32 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807040823.m648NKMp062144@repoman.freebsd.org> peter 2008-07-04 08:23:13 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180251 on 2008-07-04 08:23:13Z by peter Put a tired joke back to bed. Revision Changes Path 1.10 +0 -1 CVSROOT/mentors From tevans.uk at googlemail.com Fri Jul 4 09:16:49 2008 From: tevans.uk at googlemail.com (Tom Evans) Date: Fri Jul 4 09:16:55 2008 Subject: cvs commit: src/usr.bin/ldd ldd.1 ldd.c In-Reply-To: <200807032238.m63Mc8cZ039421@repoman.freebsd.org> References: <200807032238.m63Mc8cZ039421@repoman.freebsd.org> Message-ID: <1215161435.35536.50.camel@localhost> On Thu, 2008-07-03 at 22:37 +0000, Edwin Groothuis wrote: > edwin 2008-07-03 22:37:51 UTC > > FreeBSD src repository > > Modified files: > usr.bin/ldd ldd.1 ldd.c > Log: > SVN rev 180236 on 2008-07-03 22:37:51Z by edwin > > On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them: > > [/] root@ed-exigent>ldd `which httpd` > ldd: /usr/local/sbin/httpd: can't read program header > ldd: /usr/local/sbin/httpd: not a dynamic executable > > But... > > [/] root@ed-exigent>LD_32_TRACE_LOADED_OBJECTS==1 `which httpd` > libm.so.4 => /lib32//libm.so.4 (0x280c8000) > libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x280de000) > libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x280f2000) > libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28110000) > libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x281fd000) > libcrypt.so.3 => /lib32//libcrypt.so.3 (0x2821d000) > libpthread.so.2 => not found (0x0) > libc.so.6 => /lib32//libc.so.6 (0x28235000) > libpthread.so.2 => /usr/lib32/libpthread.so.2 (0x2830d000) > > Added support in ldd(1) for the LD_32_xxx environment variables if > the architecture of the machine is >32 bits. If we ever go to 128 > bit architectures this excercise will have to be repeated but thanks > to earlier commits today it will be relative simple. > > PR: bin/124906 > Submitted by: edwin > Approved by: bde (mentor) > MFC after: 1 week > > Revision Changes Path > 1.27 +6 -0 src/usr.bin/ldd/ldd.1 > 1.36 +76 -2 src/usr.bin/ldd/ldd.c Hi Edwin, this is fantastic. Can it be MFC'ed to RELENG_6? Cheers Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080704/12267e48/attachment.pgp From kib at FreeBSD.org Fri Jul 4 09:41:07 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Jul 4 09:41:13 2008 Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c Message-ID: <200807040941.m649f7w5078996@repoman.freebsd.org> kib 2008-07-04 09:40:52 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vnops.c Log: SVN rev 180252 on 2008-07-04 09:40:52Z by kib The uniqdosname() function takes char[12] as it third argument. Found by: -fstack-protector Reported by: dougb Tested by: dougb, Rainer Hurling MFC after: 3 days Revision Changes Path 1.186 +1 -1 src/sys/fs/msdosfs/msdosfs_vnops.c From nyan at FreeBSD.org Fri Jul 4 12:20:10 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Jul 4 12:20:16 2008 Subject: cvs commit: src/sys/boot/pc98/boot2 README.serial.98 Message-ID: <200807041220.m64CK9wF096625@repoman.freebsd.org> nyan 2008-07-04 12:19:56 UTC FreeBSD src repository Removed files: sys/boot/pc98/boot2 README.serial.98 Log: SVN rev 180253 on 2008-07-04 12:19:56Z by nyan Remove Japanese document. Revision Changes Path 1.3 +0 -65 src/sys/boot/pc98/boot2/README.serial.98 (dead) From nwhitehorn at FreeBSD.org Fri Jul 4 14:51:58 2008 From: nwhitehorn at FreeBSD.org (Nathan Whitehorn) Date: Fri Jul 4 14:52:13 2008 Subject: cvs commit: src/share/man/man4/man4.powerpc Makefile bm.4 Message-ID: <200807041451.m64EpvNf021712@repoman.freebsd.org> nwhitehorn 2008-07-04 14:51:42 UTC FreeBSD src repository Modified files: share/man/man4/man4.powerpc Makefile Added files: share/man/man4/man4.powerpc bm.4 Log: SVN rev 180254 on 2008-07-04 14:51:42Z by nwhitehorn Add manpage for Apple BMAC ethernet driver. Approved by: marcel (mentor) Revision Changes Path 1.2 +2 -1 src/share/man/man4/man4.powerpc/Makefile 1.1 +89 -0 src/share/man/man4/man4.powerpc/bm.4 (new) From jhb at freebsd.org Fri Jul 4 17:20:30 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Jul 4 17:20:35 2008 Subject: cvs commit: src/sys/dev/bm if_bm.c if_bmreg.h if_bmvar.h In-Reply-To: <200807032151.m63Lpori033821@repoman.freebsd.org> References: <200807032151.m63Lpori033821@repoman.freebsd.org> Message-ID: <200807041238.29795.jhb@freebsd.org> On Thursday 03 July 2008 05:51:30 pm Nathan Whitehorn wrote: > nwhitehorn 2008-07-03 21:51:30 UTC > > FreeBSD src repository > > Modified files: > sys/dev/bm if_bm.c if_bmreg.h if_bmvar.h > Log: > SVN rev 180233 on 2008-07-03 21:51:30Z by nwhitehorn > > Fix some locking and logic bugs pointed out by jhb. These fix driver detach and speed up data transfer by nearly a factor of 2. > > Approved by: marcel (mentor) Thanks! -- John Baldwin From alc at FreeBSD.org Fri Jul 4 17:37:46 2008 From: alc at FreeBSD.org (Alan Cox) Date: Fri Jul 4 17:37:52 2008 Subject: cvs commit: src/sys/amd64/amd64 mp_machdep.c src/sys/i386/i386 mp_machdep.c Message-ID: <200807041737.m64Hbkre048306@repoman.freebsd.org> alc 2008-07-04 17:36:12 UTC FreeBSD src repository Modified files: sys/amd64/amd64 mp_machdep.c sys/i386/i386 mp_machdep.c Log: SVN rev 180255 on 2008-07-04 17:36:12Z by alc Eliminate an unused declaration. (In fact, the declaration is bogus because the variable is defined static to pmap.c on i386.) Found by: CScout Revision Changes Path 1.290 +0 -1 src/sys/amd64/amd64/mp_machdep.c 1.287 +0 -1 src/sys/i386/i386/mp_machdep.c From jhb at FreeBSD.org Fri Jul 4 17:48:51 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 17:49:03 2008 Subject: cvs commit: src/sys/dev/arl if_arl.c if_arl_isa.c if_arlreg.h Message-ID: <200807041748.m64Hmp4E049191@repoman.freebsd.org> jhb 2008-07-04 17:48:34 UTC FreeBSD src repository Modified files: sys/dev/arl if_arl.c if_arl_isa.c if_arlreg.h Log: SVN rev 180256 on 2008-07-04 17:48:34Z by jhb Make arl(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after ether_ifattach(). - Use a private timer instead of if_timer/if_watchdog. - Retire arl_unit from the softc and use if_printf() and device_printf() instead. Note that the unpatched driver in 6.x and later does not work with the hardware, so the one person who had volunteered to test the patch wasn't able to test it. Revision Changes Path 1.16 +135 -108 src/sys/dev/arl/if_arl.c 1.9 +7 -21 src/sys/dev/arl/if_arl_isa.c 1.8 +7 -1 src/sys/dev/arl/if_arlreg.h From jhb at FreeBSD.org Fri Jul 4 18:21:39 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 18:21:50 2008 Subject: cvs commit: src ObsoleteFiles.inc src/share/man/man4/man4.i386 Makefile arl.4 src/sys/conf files.i386 src/sys/dev/arl if_arl.c if_arl_isa.c if_arlreg.h src/sys/i386/conf NOTES src/sys/modules Makefile src/sys/modules/arl Makefile src/usr.sbin Makefile ... Message-ID: <200807041821.m64ILdEg053196@repoman.freebsd.org> jhb 2008-07-04 18:15:36 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc share/man/man4/man4.i386 Makefile sys/conf files.i386 sys/i386/conf NOTES sys/modules Makefile usr.sbin Makefile Removed files: share/man/man4/man4.i386 arl.4 sys/dev/arl if_arl.c if_arl_isa.c if_arlreg.h sys/modules/arl Makefile usr.sbin/arlcontrol Makefile arlcontrol.8 arlcontrol.c Log: SVN rev 180257 on 2008-07-04 18:15:36Z by jhb Remove the arl(4) driver. It is reported to not work on 6.x or later even though the driver hasn't changed since 4.x (last known working release). Revision Changes Path 1.147 +6 -0 src/ObsoleteFiles.inc 1.186 +0 -1 src/share/man/man4/man4.i386/Makefile 1.11 +0 -115 src/share/man/man4/man4.i386/arl.4 (dead) 1.598 +0 -2 src/sys/conf/files.i386 1.17 +0 -1307 src/sys/dev/arl/if_arl.c (dead) 1.10 +0 -344 src/sys/dev/arl/if_arl_isa.c (dead) 1.9 +0 -344 src/sys/dev/arl/if_arlreg.h (dead) 1.1256 +0 -5 src/sys/i386/conf/NOTES 1.575 +0 -2 src/sys/modules/Makefile 1.5 +0 -16 src/sys/modules/arl/Makefile (dead) 1.388 +0 -2 src/usr.sbin/Makefile 1.4 +0 -10 src/usr.sbin/arlcontrol/Makefile (dead) 1.12 +0 -166 src/usr.sbin/arlcontrol/arlcontrol.8 (dead) 1.5 +0 -430 src/usr.sbin/arlcontrol/arlcontrol.c (dead) From jhb at FreeBSD.org Fri Jul 4 18:27:28 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 18:27:40 2008 Subject: cvs commit: src/sys/contrib/dev/oltr if_oltr.c if_oltr_isa.c if_oltr_pci.c if_oltrvar.h Message-ID: <200807041827.m64IRSB2053738@repoman.freebsd.org> jhb 2008-07-04 18:27:14 UTC FreeBSD src repository Modified files: sys/contrib/dev/oltr if_oltr.c if_oltr_isa.c if_oltr_pci.c if_oltrvar.h Log: SVN rev 180258 on 2008-07-04 18:27:14Z by jhb Make oltr(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after interface attach. - Retire 'unit' from softc and use if_printf() instead. - Don't frob IFF_UP in the driver. - Use callout_() rather than timeout() and untimeout(). Revision Changes Path 1.44 +128 -119 src/sys/contrib/dev/oltr/if_oltr.c 1.2 +1 -7 src/sys/contrib/dev/oltr/if_oltr_isa.c 1.4 +9 -14 src/sys/contrib/dev/oltr/if_oltr_pci.c 1.3 +8 -5 src/sys/contrib/dev/oltr/if_oltrvar.h From jhb at FreeBSD.org Fri Jul 4 19:04:51 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 19:04:58 2008 Subject: cvs commit: src ObsoleteFiles.inc src/share/man/man4/man4.i386 Makefile oltr.4 src/sys/boot/forth loader.conf src/sys/conf files.i386 files.pc98 src/sys/contrib/dev/oltr COPYRIGHT i386-elf.trlld.o.uu if_oltr.c if_oltr_isa.c if_oltr_pci.c ... Message-ID: <200807041904.m64J4ooI058033@repoman.freebsd.org> jhb 2008-07-04 18:58:53 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc share/man/man4/man4.i386 Makefile sys/boot/forth loader.conf sys/conf files.i386 files.pc98 sys/i386/conf NOTES sys/modules Makefile sys/pc98/conf NOTES Removed files: share/man/man4/man4.i386 oltr.4 sys/contrib/dev/oltr COPYRIGHT i386-elf.trlld.o.uu if_oltr.c if_oltr_isa.c if_oltr_pci.c if_oltrvar.h trlld.h trlldbm.c trlldhm.c trlldmac.c sys/modules/oltr Makefile Log: SVN rev 180259 on 2008-07-04 18:58:53Z by jhb Remove the oltr(4) driver. No one responded to calls for testing on current@ and stable@ for the locking patches. The driver can always be revived if someone tests it. This driver also sleeps in its if_init routine, so it likely doesn't really work at all anyway in modern releases. Revision Changes Path 1.148 +6 -1 src/ObsoleteFiles.inc 1.187 +0 -2 src/share/man/man4/man4.i386/Makefile 1.3 +0 -88 src/share/man/man4/man4.i386/oltr.4 (dead) 1.127 +0 -2 src/sys/boot/forth/loader.conf 1.599 +0 -11 src/sys/conf/files.i386 1.365 +0 -10 src/sys/conf/files.pc98 1.2 +0 -62 src/sys/contrib/dev/oltr/COPYRIGHT (dead) 1.3 +0 -1850 src/sys/contrib/dev/oltr/i386-elf.trlld.o.uu (dead) 1.45 +0 -1103 src/sys/contrib/dev/oltr/if_oltr.c (dead) 1.3 +0 -315 src/sys/contrib/dev/oltr/if_oltr_isa.c (dead) 1.5 +0 -275 src/sys/contrib/dev/oltr/if_oltr_pci.c (dead) 1.4 +0 -125 src/sys/contrib/dev/oltr/if_oltrvar.h (dead) 1.5 +0 -902 src/sys/contrib/dev/oltr/trlld.h (dead) 1.5 +0 -2690 src/sys/contrib/dev/oltr/trlldbm.c (dead) 1.5 +0 -2519 src/sys/contrib/dev/oltr/trlldhm.c (dead) 1.5 +0 -2641 src/sys/contrib/dev/oltr/trlldmac.c (dead) 1.1257 +0 -5 src/sys/i386/conf/NOTES 1.576 +1 -3 src/sys/modules/Makefile 1.6 +0 -14 src/sys/modules/oltr/Makefile (dead) 1.90 +0 -4 src/sys/pc98/conf/NOTES From jhb at FreeBSD.org Fri Jul 4 19:07:01 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 19:07:07 2008 Subject: cvs commit: src/sys/dev/cnw if_cnw.c Message-ID: <200807041907.m64J71nO058289@repoman.freebsd.org> jhb 2008-07-04 19:04:07 UTC FreeBSD src repository Modified files: sys/dev/cnw if_cnw.c Log: SVN rev 180260 on 2008-07-04 19:04:07Z by jhb Make cnw(4) MPSAFE: - Add a mutex to the softc and use it to lock the softc and device hardware. - Use a private timer to replace if_watchdog/if_timer. - Use if_printf() rather than if_xname. - Setup interrupt handler after ether_ifattach(). Revision Changes Path 1.28 +117 -76 src/sys/dev/cnw/if_cnw.c From jhb at FreeBSD.org Fri Jul 4 19:32:26 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 19:32:33 2008 Subject: cvs commit: src/share/man/man4 Makefile cnw.4 src/sys/conf NOTES files src/sys/dev/cnw if_cnw.c if_cnwioctl.h if_cnwreg.h src/sys/modules Makefile src/sys/modules/cnw Makefile Message-ID: <200807041932.m64JWQ34060413@repoman.freebsd.org> jhb 2008-07-04 19:13:15 UTC FreeBSD src repository Modified files: share/man/man4 Makefile sys/conf NOTES files sys/modules Makefile Removed files: share/man/man4 cnw.4 sys/dev/cnw if_cnw.c if_cnwioctl.h if_cnwreg.h sys/modules/cnw Makefile Log: SVN rev 180261 on 2008-07-04 19:13:15Z by jhb Remove the cnw(4) driver. No one responded to calls to test it on current@ and stable@. It also is a driver for an older non-802.11 wireless PC card that is quite slow in comparison to say, wi(4). I know Warner wants this driver axed as well. Revision Changes Path 1.420 +0 -2 src/share/man/man4/Makefile 1.4 +0 -125 src/share/man/man4/cnw.4 (dead) 1.1497 +0 -2 src/sys/conf/NOTES 1.1313 +0 -1 src/sys/conf/files 1.29 +0 -1289 src/sys/dev/cnw/if_cnw.c (dead) 1.3 +0 -114 src/sys/dev/cnw/if_cnwioctl.h (dead) 1.2 +0 -147 src/sys/dev/cnw/if_cnwreg.h (dead) 1.577 +0 -2 src/sys/modules/Makefile 1.2 +0 -8 src/sys/modules/cnw/Makefile (dead) From alc at FreeBSD.org Fri Jul 4 19:37:12 2008 From: alc at FreeBSD.org (Alan Cox) Date: Fri Jul 4 19:37:26 2008 Subject: cvs commit: src/sys/kern kern_malloc.c subr_param.c Message-ID: <200807041937.m64JbB4f060878@repoman.freebsd.org> alc 2008-07-04 19:36:58 UTC FreeBSD src repository Modified files: sys/kern kern_malloc.c subr_param.c Log: SVN rev 180262 on 2008-07-04 19:36:58Z by alc Correct an error in the comments for init_param3(). Discussed with: silby Revision Changes Path 1.166 +1 -1 src/sys/kern/kern_malloc.c 1.76 +2 -2 src/sys/kern/subr_param.c From jhb at FreeBSD.org Fri Jul 4 20:53:59 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 20:54:05 2008 Subject: cvs commit: src/sys/dev/sbni if_sbni.c if_sbni_isa.c if_sbni_pci.c if_sbnivar.h Message-ID: <200807042053.m64Krwuj077486@repoman.freebsd.org> jhb 2008-07-04 20:53:41 UTC FreeBSD src repository Modified files: sys/dev/sbni if_sbni.c if_sbni_isa.c if_sbni_pci.c if_sbnivar.h Log: SVN rev 180263 on 2008-07-04 20:53:41Z by jhb Make sbni(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after attaching device to network stack. - Use device_set_desc() rather than device_quiet() plus a manual printf that simulates the normal probe printf. - Axe next_sbni_unit and instead just leave room for two sbni devices for each bus attachment. - Don't bzero the already-zero'd softc. - Add a detach method to the PCI driver. - Add a lock to protect the list of available devices used to chain interrupt handlers for dual port ISA cards. - Remove unused watchdog routine. - If if_alloc() fails, make sbni_attach() return an error rather than panic'ing. - Consolidate code to free bus resources into sbni_release_resources(). - Clear IFF_DRV_RUNNING|OACTIVE in stop() routine instead of in callers. - Let ether_ioctl() handle SIOCSIFMTU. Revision Changes Path 1.25 +113 -61 src/sys/dev/sbni/if_sbni.c 1.16 +30 -32 src/sys/dev/sbni/if_sbni_isa.c 1.13 +51 -27 src/sys/dev/sbni/if_sbni_pci.c 1.6 +11 -4 src/sys/dev/sbni/if_sbnivar.h From gonzo at FreeBSD.org Fri Jul 4 21:01:44 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Fri Jul 4 21:01:55 2008 Subject: cvs commit: src/sys/netinet ip_gre.c Message-ID: <200807042101.m64L1iHM078176@repoman.freebsd.org> gonzo 2008-07-04 21:01:30 UTC FreeBSD src repository Modified files: sys/netinet ip_gre.c Log: SVN rev 180264 on 2008-07-04 21:01:30Z by gonzo Enqueue de-capsulated packet instead of performing direct dispatch. It's possible to exhaust and garble stack with a packet that contains a couple of hundreds nested encapsulation levels. Submitted by: Ming Fu Reviewed by: rwatson PR: kern/85320 Revision Changes Path 1.26 +2 -2 src/sys/netinet/ip_gre.c From jhb at FreeBSD.org Fri Jul 4 21:14:52 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 21:14:59 2008 Subject: cvs commit: src ObsoleteFiles.inc src/share/man/man4/man4.i386 Makefile sbni.4 src/sys/boot/forth loader.conf src/sys/conf files.i386 files.pc98 src/sys/dev/sbni if_sbni.c if_sbni_isa.c if_sbni_pci.c if_sbnireg.h if_sbnivar.h src/sys/i386/conf NOTES ... Message-ID: <200807042114.m64LEqbU080477@repoman.freebsd.org> jhb 2008-07-04 21:06:57 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc share/man/man4/man4.i386 Makefile sys/boot/forth loader.conf sys/conf files.i386 files.pc98 sys/i386/conf NOTES sys/modules Makefile sys/pc98/conf NOTES Removed files: share/man/man4/man4.i386 sbni.4 sys/dev/sbni if_sbni.c if_sbni_isa.c if_sbni_pci.c if_sbnireg.h if_sbnivar.h sys/modules/sbni Makefile Log: SVN rev 180265 on 2008-07-04 21:06:57Z by jhb Remove the sbni(4) driver. No one responded to calls to test it on current@ and stable@. Revision Changes Path 1.149 +8 -0 src/ObsoleteFiles.inc 1.188 +0 -2 src/share/man/man4/man4.i386/Makefile 1.3 +0 -132 src/share/man/man4/man4.i386/sbni.4 (dead) 1.128 +0 -1 src/sys/boot/forth/loader.conf 1.600 +0 -3 src/sys/conf/files.i386 1.366 +0 -2 src/sys/conf/files.pc98 1.26 +0 -1364 src/sys/dev/sbni/if_sbni.c (dead) 1.17 +0 -167 src/sys/dev/sbni/if_sbni_isa.c (dead) 1.14 +0 -191 src/sys/dev/sbni/if_sbni_pci.c (dead) 1.3 +0 -106 src/sys/dev/sbni/if_sbnireg.h (dead) 1.7 +0 -160 src/sys/dev/sbni/if_sbnivar.h (dead) 1.1258 +0 -6 src/sys/i386/conf/NOTES 1.578 +1 -3 src/sys/modules/Makefile 1.2 +0 -10 src/sys/modules/sbni/Makefile (dead) 1.91 +0 -6 src/sys/pc98/conf/NOTES From jhb at FreeBSD.org Fri Jul 4 21:17:01 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 21:17:13 2008 Subject: cvs commit: src/sys/dev/sbsh if_sbsh.c Message-ID: <200807042117.m64LH1Dp080721@repoman.freebsd.org> jhb 2008-07-04 21:13:18 UTC FreeBSD src repository Modified files: sys/dev/sbsh if_sbsh.c Log: SVN rev 180266 on 2008-07-04 21:13:18Z by jhb Make sbsh(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after ether_ifattach(). - Remove unused sbsh_watchdog() routine. - Protect against concurrent attempts to load firmware. Revision Changes Path 1.20 +109 -90 src/sys/dev/sbsh/if_sbsh.c From jhb at FreeBSD.org Fri Jul 4 21:28:41 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 4 21:28:47 2008 Subject: cvs commit: src ObsoleteFiles.inc src/share/man/man4 Makefile sbsh.4 src/sys/conf NOTES files src/sys/dev/sbsh if_sbsh.c if_sbshreg.h src/sys/modules Makefile src/sys/modules/sbsh Makefile Message-ID: <200807042128.m64LSfKx081829@repoman.freebsd.org> jhb 2008-07-04 21:24:35 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc share/man/man4 Makefile sys/conf NOTES files sys/modules Makefile Removed files: share/man/man4 sbsh.4 sys/dev/sbsh if_sbsh.c if_sbshreg.h sys/modules/sbsh Makefile Log: SVN rev 180267 on 2008-07-04 21:24:35Z by jhb Remove the sbsh(4) driver. No one responded to requests for testing the MPSAFE patches on current@ and stable@. This driver also has a fundamental issue in that it sleeps when sending commands to the card including in the if_init/if_start routines (which can be called from interrupt context). As such, the driver shouldn't be working reliably even on 4.x. Revision Changes Path 1.150 +3 -0 src/ObsoleteFiles.inc 1.421 +0 -2 src/share/man/man4/Makefile 1.5 +0 -82 src/share/man/man4/sbsh.4 (dead) 1.1498 +0 -2 src/sys/conf/NOTES 1.1314 +0 -1 src/sys/conf/files 1.21 +0 -1094 src/sys/dev/sbsh/if_sbsh.c (dead) 1.3 +0 -194 src/sys/dev/sbsh/if_sbshreg.h (dead) 1.579 +0 -1 src/sys/modules/Makefile 1.2 +0 -8 src/sys/modules/sbsh/Makefile (dead) From rpaulo at FreeBSD.org Fri Jul 4 23:41:01 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Fri Jul 4 23:41:13 2008 Subject: cvs commit: src/sys/dev/acpi_support acpi_asus.c Message-ID: <200807042341.m64Nf1iP095056@repoman.freebsd.org> rpaulo 2008-07-04 23:40:53 UTC FreeBSD src repository Modified files: sys/dev/acpi_support acpi_asus.c Log: SVN rev 180268 on 2008-07-04 23:40:53Z by rpaulo Fix my previous commit. We actually should pass evaluation args in AcpiEvaluateObject() calls, otherwise, we are not able to bring devices back up (NULL means 0, hence always off). While there add missing WLAN on/off support. MFC after: 3 days Pointy hat to: rpaulo Revision Changes Path 1.36 +44 -3 src/sys/dev/acpi_support/acpi_asus.c From linimon at lonesome.com Sat Jul 5 00:16:01 2008 From: linimon at lonesome.com (Mark Linimon) Date: Sat Jul 5 00:16:08 2008 Subject: cvs commit: src ObsoleteFiles.inc src/share/man/man4/man4.i386 Makefile sbni.4 src/sys/boot/forth loader.conf src/sys/conf files.i386 files.pc98 src/sys/dev/sbni if_sbni.c if_sbni_isa.c if_sbni_pci.c if_sbnireg.h if_sbnivar.h src/sys/i386/conf NOTES ... In-Reply-To: <200807042114.m64LEqbU080477@repoman.freebsd.org> References: <200807042114.m64LEqbU080477@repoman.freebsd.org> Message-ID: <20080704235124.GA14663@soaustin.net> > Remove the sbni(4) driver. No one responded to calls to test it on > current@ and stable@. With bugmeister hat, I'm going to close a patch against in contained in kern/100425, then. mcl From kientzle at FreeBSD.org Sat Jul 5 01:45:49 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 01:45:55 2008 Subject: cvs commit: src/lib/libarchive archive_write_disk.c Message-ID: <200807050145.m651jm4b017338@repoman.freebsd.org> kientzle 2008-07-05 01:45:31 UTC FreeBSD src repository Modified files: lib/libarchive archive_write_disk.c Log: SVN rev 180269 on 2008-07-05 01:45:31Z by kientzle Don't use the deprecated linux/ext2_fs.h include file. Revision Changes Path 1.27 +0 -3 src/lib/libarchive/archive_write_disk.c From kientzle at FreeBSD.org Sat Jul 5 01:48:49 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 01:49:00 2008 Subject: cvs commit: src/lib/libarchive archive_write_disk.c Message-ID: <200807050148.m651mnEU017553@repoman.freebsd.org> kientzle 2008-07-05 01:48:33 UTC FreeBSD src repository Modified files: lib/libarchive archive_write_disk.c Log: SVN rev 180270 on 2008-07-05 01:48:33Z by kientzle When ARCHIVE_EXTRACT_PERM is requested (e.g., by "tar -p"), always schedule a chmod() fixup for directories. In particular, this fixes sgid handling on systems where the sgid bit is inherited from the parent directory (which means that the actual mode of the dir does not match the mode used in the mkdir() system call. It may be possible to tighten this condition a bit. In working through this, I also found a few other places where it looks like we can avoid a redundant syscall or two. I've commented those here but not yet tried to address them. Revision Changes Path 1.28 +9 -5 src/lib/libarchive/archive_write_disk.c From kientzle at FreeBSD.org Sat Jul 5 01:50:20 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 01:50:32 2008 Subject: cvs commit: src/lib/libarchive config_freebsd.h Message-ID: <200807050150.m651oKvs017816@repoman.freebsd.org> kientzle 2008-07-05 01:50:07 UTC FreeBSD src repository Modified files: lib/libarchive config_freebsd.h Log: SVN rev 180271 on 2008-07-05 01:50:07Z by kientzle Remove a couple of capability definitions that are never used. Revision Changes Path 1.11 +0 -2 src/lib/libarchive/config_freebsd.h From kientzle at FreeBSD.org Sat Jul 5 01:50:52 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 01:51:03 2008 Subject: cvs commit: src/lib/libarchive archive.h Message-ID: <200807050150.m651opqe017883@repoman.freebsd.org> kientzle 2008-07-05 01:50:40 UTC FreeBSD src repository Modified files: lib/libarchive archive.h Log: SVN rev 180272 on 2008-07-05 01:50:40Z by kientzle libarchive in FreeBSD-CURRENT is now synched with libarchive-portable 2.5.5. Revision Changes Path 1.18 +2 -2 src/lib/libarchive/archive.h From kientzle at FreeBSD.org Sat Jul 5 02:06:09 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 02:06:15 2008 Subject: cvs commit: src/usr.bin/tar read.c Message-ID: <200807050206.m65268aS020287@repoman.freebsd.org> kientzle 2008-07-05 02:05:55 UTC FreeBSD src repository Modified files: usr.bin/tar read.c Log: SVN rev 180273 on 2008-07-05 02:05:55Z by kientzle Use %H:%M for strftime() time formatting instead of the non-portable %R. Revision Changes Path 1.39 +1 -1 src/usr.bin/tar/read.c From kientzle at FreeBSD.org Sat Jul 5 02:07:09 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 02:07:16 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200807050207.m65279oe020379@repoman.freebsd.org> kientzle 2008-07-05 02:06:55 UTC FreeBSD src repository Modified files: usr.bin/tar write.c Log: SVN rev 180274 on 2008-07-05 02:06:55Z by kientzle Stop using the deprecated linux/ext2_fs.h. Revision Changes Path 1.72 +0 -3 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sat Jul 5 02:09:25 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 02:09:39 2008 Subject: cvs commit: src/usr.bin/tar config_freebsd.h Message-ID: <200807050209.m6529PPX020550@repoman.freebsd.org> kientzle 2008-07-05 02:09:13 UTC FreeBSD src repository Modified files: usr.bin/tar config_freebsd.h Log: SVN rev 180275 on 2008-07-05 02:09:13Z by kientzle Remove HAVE_STRUCT_STAT_ST_RDEV, as it's not used anywhere. Revision Changes Path 1.5 +0 -1 src/usr.bin/tar/config_freebsd.h From kientzle at FreeBSD.org Sat Jul 5 02:10:12 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 02:10:23 2008 Subject: cvs commit: src/usr.bin/tar Makefile Message-ID: <200807050210.m652ABR4020678@repoman.freebsd.org> kientzle 2008-07-05 02:09:54 UTC FreeBSD src repository Modified files: usr.bin/tar Makefile Log: SVN rev 180276 on 2008-07-05 02:09:54Z by kientzle FreeBSD-CURRENT bsdtar is synched up with libarchive-portable 2.5.5. Revision Changes Path 1.37 +1 -1 src/usr.bin/tar/Makefile From cperciva at FreeBSD.org Sat Jul 5 02:21:58 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sat Jul 5 02:22:05 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200807050221.m652LvcQ021702@repoman.freebsd.org> cperciva 2008-07-05 02:21:51 UTC FreeBSD src repository Modified files: usr.bin/tar write.c Log: SVN rev 180277 on 2008-07-05 02:21:51Z by cperciva Revert CVS revision 1.68; it is now possible for entry to be NULL at the end of write_entry. (This was perfectly safe, since archive_entry_free(NULL) is a no-op, but adding the check back makes the style more consistent.) Revision Changes Path 1.73 +2 -1 src/usr.bin/tar/write.c From kientzle at FreeBSD.org Sat Jul 5 05:15:16 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 05:15:28 2008 Subject: cvs commit: src/usr.bin/cpio config_freebsd.h Message-ID: <200807050515.m655FGHj050326@repoman.freebsd.org> kientzle 2008-07-05 05:15:07 UTC FreeBSD src repository Modified files: usr.bin/cpio config_freebsd.h Log: SVN rev 180278 on 2008-07-05 05:15:07Z by kientzle Remove an unused define. Revision Changes Path 1.2 +0 -1 src/usr.bin/cpio/config_freebsd.h From kientzle at FreeBSD.org Sat Jul 5 05:16:32 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 05:16:44 2008 Subject: cvs commit: src/usr.bin/cpio cpio.c Message-ID: <200807050516.m655GW9r050439@repoman.freebsd.org> kientzle 2008-07-05 05:16:23 UTC FreeBSD src repository Modified files: usr.bin/cpio cpio.c Log: SVN rev 180279 on 2008-07-05 05:16:23Z by kientzle In -pl mode, only hardlink regular files. I need to test other implementations, but it's clear that dirs and symlinks, at least, shouldn't be hardlinked. Revision Changes Path 1.7 +8 -6 src/usr.bin/cpio/cpio.c From kientzle at FreeBSD.org Sat Jul 5 05:17:48 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sat Jul 5 05:18:01 2008 Subject: cvs commit: src/usr.bin/cpio Makefile Message-ID: <200807050517.m655HmAQ050566@repoman.freebsd.org> kientzle 2008-07-05 05:17:33 UTC FreeBSD src repository Modified files: usr.bin/cpio Makefile Log: SVN rev 180280 on 2008-07-05 05:17:33Z by kientzle bsdcpio is now at version 1.0.0. Revision Changes Path 1.5 +1 -1 src/usr.bin/cpio/Makefile From cperciva at FreeBSD.org Sat Jul 5 06:05:50 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sat Jul 5 06:06:02 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200807050605.m6565nP7055921@repoman.freebsd.org> cperciva 2008-07-05 06:05:34 UTC FreeBSD src repository Modified files: usr.bin/tar write.c Log: SVN rev 180281 on 2008-07-05 06:05:34Z by cperciva Clean up write_entry by eliminating fd except in the #ifdef __linux block where it is used. [1] Don't leak file descriptors in write_entry_backend if archive_write_header returns ARCHIVE_FAILED. Found by: Coverity Prevent [1] Revision Changes Path 1.74 +14 -13 src/usr.bin/tar/write.c From jb at FreeBSD.org Sat Jul 5 06:12:25 2008 From: jb at FreeBSD.org (John Birrell) Date: Sat Jul 5 06:12:31 2008 Subject: cvs commit: src/sys/conf kern.post.mk Message-ID: <200807050612.m656CKmG056468@repoman.freebsd.org> jb 2008-07-05 06:12:14 UTC FreeBSD src repository Modified files: sys/conf kern.post.mk Log: SVN rev 180282 on 2008-07-05 06:12:14Z by jb Add CTF conversion to the objects compiled from generated code. This allows DTrace scripts to access variables like 'ostype'. Revision Changes Path 1.103 +3 -0 src/sys/conf/kern.post.mk From cperciva at FreeBSD.org Sat Jul 5 08:03:22 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sat Jul 5 08:03:29 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.h write.c Message-ID: <200807050803.m6583MNN067754@repoman.freebsd.org> cperciva 2008-07-05 08:03:08 UTC FreeBSD src repository Modified files: usr.bin/tar bsdtar.h write.c Log: SVN rev 180283 on 2008-07-05 08:03:08Z by cperciva Use malloc in write_archive to allocate a 64kB buffer for holding file data instead of using 64kB of stack space in copy_file_data and write_file_data. Revision Changes Path 1.34 +1 -0 src/usr.bin/tar/bsdtar.h 1.75 +20 -12 src/usr.bin/tar/write.c From cperciva at FreeBSD.org Sat Jul 5 08:11:09 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sat Jul 5 08:11:20 2008 Subject: cvs commit: src/usr.bin/tar write.c Message-ID: <200807050811.m658B8Nx068451@repoman.freebsd.org> cperciva 2008-07-05 08:10:55 UTC FreeBSD src repository Modified files: usr.bin/tar write.c Log: SVN rev 180284 on 2008-07-05 08:10:55Z by cperciva Move duplicated code from tar_mode_[cru] into archive_write. Fix a bug I introduced 7 minutes ago: clean up properly from archive_write if we exit the argv-handling loop due to -C not having an argument. Revision Changes Path 1.76 +15 -32 src/usr.bin/tar/write.c From marck at FreeBSD.org Sat Jul 5 08:14:09 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Sat Jul 5 08:14:21 2008 Subject: cvs commit: src/sbin/mdconfig mdconfig.8 mdconfig.c Message-ID: <200807050814.m658E9lC068731@repoman.freebsd.org> marck 2008-07-05 08:14:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/mdconfig mdconfig.8 mdconfig.c Log: SVN rev 180285 on 2008-07-05 08:14:04Z by marck MFC r79910: Add -v (verbose) option to -l command, to show size and backing store of all md devices at one time. Approved by: phk Revision Changes Path 1.37.2.2 +5 -1 src/sbin/mdconfig/mdconfig.8 1.54.2.2 +12 -6 src/sbin/mdconfig/mdconfig.c From phk at FreeBSD.org Sat Jul 5 08:55:22 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Sat Jul 5 08:55:37 2008 Subject: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <200807050855.m658tLQI081270@repoman.freebsd.org> phk 2008-07-05 08:54:58 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: SVN rev 180286 on 2008-07-05 08:54:58Z by phk Two quotes too good to miss. Revision Changes Path 1.266 +7 -0 src/games/fortune/datfiles/fortunes From danger at FreeBSD.org Sat Jul 5 10:29:39 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sat Jul 5 10:29:50 2008 Subject: cvs commit: src/usr.sbin/mountd exports.5 Message-ID: <200807051029.m65ATduc091117@repoman.freebsd.org> danger 2008-07-05 10:29:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/mountd exports.5 Log: SVN rev 180287 on 2008-07-05 10:29:27Z by danger MFC r154990, r180071, r180112, r180154: - use the ".Pa" macro for path names - markup fixes - advise to use rc script to SIGHUP mountd - add some missing words - add information about possiblity of using /prefix network notation [1] PR: docs/124373 [1] Obtained from: NetBSD [1] Revision Changes Path 1.27.8.1 +107 -37 src/usr.sbin/mountd/exports.5 From danger at FreeBSD.org Sat Jul 5 10:48:10 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sat Jul 5 10:48:21 2008 Subject: cvs commit: src/usr.bin/su su.1 Message-ID: <200807051048.m65AmAjP092722@repoman.freebsd.org> danger 2008-07-05 10:47:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/su su.1 Log: SVN rev 180288 on 2008-07-05 10:47:59Z by danger MFC r180155: - add the -m option to the example commands because they would fail w/o it as the ``man'' user does not have a valid shell by default. PR: docs/121713 Revision Changes Path 1.40.2.1 +9 -4 src/usr.bin/su/su.1 From danger at FreeBSD.org Sat Jul 5 11:01:27 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sat Jul 5 11:01:38 2008 Subject: cvs commit: src/usr.bin/su su.1 Message-ID: <200807051101.m65B1Qlq093964@repoman.freebsd.org> danger 2008-07-05 11:01:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/su su.1 Log: SVN rev 180289 on 2008-07-05 11:01:11Z by danger MFC r162792 [1], r171562 [2], r180155 [3]: - markup fixes [1] - Stop mentioning /usr/X11R6 [2] - add the -m option to the example commands because they would fail w/o it as the ``man'' user does not have a valid shell by default. [3] PR: docs/121713 [3] Revision Changes Path 1.36.2.3 +12 -7 src/usr.bin/su/su.1 From danger at FreeBSD.org Sat Jul 5 11:08:42 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sat Jul 5 11:08:48 2008 Subject: cvs commit: src/usr.sbin/wpa/wpa_supplicant Makefile wpa_supplicant.conf.5 Message-ID: <200807051108.m65B8g2o095786@repoman.freebsd.org> danger 2008-07-05 11:08:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/wpa/wpa_supplicant Makefile wpa_supplicant.conf.5 Log: SVN rev 180290 on 2008-07-05 11:08:26Z by danger MFC r180158: - install the example wpa_supplicant.conf file to the share/examples/etc directory [1] - add the FILES section to the wpa_supplicant.conf.5 file, so that people will be able to detect the example configuration file easier. [2] PR: docs/121821 [2] Revision Changes Path 1.11.2.5 +1 -1 src/usr.sbin/wpa/wpa_supplicant/Makefile 1.9.2.1 +5 -0 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 From rwatson at FreeBSD.org Sat Jul 5 13:12:12 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Jul 5 13:12:18 2008 Subject: cvs commit: src/sys/compat/linux linux_misc.c src/sys/compat/svr4 svr4_stat.c src/sys/dev/syscons/daemon daemon_saver.c src/sys/fs/cd9660 cd9660_rrip.c src/sys/geom/vinum geom_vinum_drive.c src/sys/i386/ibcs2 ibcs2_socksys.c src/sys/kern ... Message-ID: <200807051312.m65DCBJg018222@repoman.freebsd.org> rwatson 2008-07-05 13:10:10 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c sys/compat/svr4 svr4_stat.c sys/dev/syscons/daemon daemon_saver.c sys/fs/cd9660 cd9660_rrip.c sys/geom/vinum geom_vinum_drive.c sys/i386/ibcs2 ibcs2_socksys.c sys/kern kern_jail.c kern_mib.c kern_xxx.c sys/netinet6 icmp6.c in6.c in6_ifattach.c sys/nfsclient bootp_subr.c nfs_vfsops.c sys/nlm nlm_advlock.c sys/rpc authunix_prot.c sys/sys kernel.h Log: SVN rev 180291 on 2008-07-05 13:10:10Z by rwatson Introduce a new lock, hostname_mtx, and use it to synchronize access to global hostname and domainname variables. Where necessary, copy to or from a stack-local buffer before performing copyin() or copyout(). A few uses, such as in cd9660 and daemon_saver, remain under-synchronized and will require further updates. Correct a bug in which a failed copyin() of domainname would leave domainname potentially corrupted. MFC after: 3 weeks Revision Changes Path 1.222 +2 -0 src/sys/compat/linux/linux_misc.c 1.24 +1 -0 src/sys/compat/svr4/svr4_stat.c 1.25 +2 -0 src/sys/dev/syscons/daemon/daemon_saver.c 1.31 +2 -0 src/sys/fs/cd9660/cd9660_rrip.c 1.28 +2 -0 src/sys/geom/vinum/geom_vinum_drive.c 1.23 +7 -1 src/sys/i386/ibcs2/ibcs2_socksys.c 1.79 +4 -1 src/sys/kern/kern_jail.c 1.89 +42 -6 src/sys/kern/kern_mib.c 1.51 +17 -15 src/sys/kern/kern_xxx.c 1.85 +6 -0 src/sys/netinet6/icmp6.c 1.80 +4 -1 src/sys/netinet6/in6.c 1.43 +4 -1 src/sys/netinet6/in6_ifattach.c 1.73 +2 -0 src/sys/nfsclient/bootp_subr.c 1.207 +2 -0 src/sys/nfsclient/nfs_vfsops.c 1.2 +4 -0 src/sys/nlm/nlm_advlock.c 1.4 +4 -0 src/sys/rpc/authunix_prot.c 1.142 +1 -0 src/sys/sys/kernel.h From marius at FreeBSD.org Sat Jul 5 13:40:46 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Jul 5 13:40:52 2008 Subject: cvs commit: src/sys/modules/bge Makefile Message-ID: <200807051340.m65DehGA020461@repoman.freebsd.org> marius 2008-07-05 13:40:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/modules/bge Makefile Log: SVN rev 180292 on 2008-07-05 13:40:36Z by marius MFC: r170478 Add ofw_bus_if.h as a dependency on sparc64, necessary since r180051. Revision Changes Path 1.3.2.1 +4 -0 src/sys/modules/bge/Makefile From marius at FreeBSD.org Sat Jul 5 13:49:50 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Jul 5 13:50:01 2008 Subject: cvs commit: src/lib/bind config.mk src/usr.sbin Makefile Message-ID: <200807051349.m65DnnI1021202@repoman.freebsd.org> marius 2008-07-05 13:45:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/bind config.mk usr.sbin Makefile Log: SVN rev 180293 on 2008-07-05 13:45:44Z by marius Fix the compiltion of bind when NO_OPENSSL is defined. Revision Changes Path 1.14.2.2 +2 -2 src/lib/bind/config.mk 1.332.2.13 +1 -1 src/usr.sbin/Makefile From mtm at FreeBSD.org Sat Jul 5 15:13:32 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Sat Jul 5 15:13:39 2008 Subject: cvs commit: src/etc/rc.d nfsclient Message-ID: <200807051513.m65FDUUZ030045@repoman.freebsd.org> mtm 2008-07-05 15:13:21 UTC FreeBSD src repository Modified files: etc/rc.d nfsclient Log: SVN rev 180294 on 2008-07-05 15:13:21Z by mtm Quiet down rc.d/nfsclient by not printing anything in 'quiet' mode. Instead issue a warning of it fails to set the sysctls. Revision Changes Path 1.7 +7 -3 src/etc/rc.d/nfsclient From mtm at FreeBSD.org Sat Jul 5 15:20:17 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Sat Jul 5 15:20:24 2008 Subject: cvs commit: src/etc/rc.d mountcritlocal Message-ID: <200807051520.m65FKH5S030632@repoman.freebsd.org> mtm 2008-07-05 15:19:58 UTC FreeBSD src repository Modified files: etc/rc.d mountcritlocal Log: SVN rev 180295 on 2008-07-05 15:19:58Z by mtm There's no need to announce that we're mounting local filesystems when running in quiet mode since if we fail to mount any of them the boot process gets interrupted. Revision Changes Path 1.17 +2 -2 src/etc/rc.d/mountcritlocal From mtm at FreeBSD.org Sat Jul 5 15:27:48 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Sat Jul 5 15:27:54 2008 Subject: cvs commit: src/etc/rc.d ipfw Message-ID: <200807051527.m65FRm0Q031174@repoman.freebsd.org> mtm 2008-07-05 15:27:39 UTC FreeBSD src repository Modified files: etc/rc.d ipfw Log: SVN rev 180296 on 2008-07-05 15:27:39Z by mtm No need to display the result of enabling the ipfw sysctl if it's successfull. Issue a warning if it fails, however. Revision Changes Path 1.18 +3 -1 src/etc/rc.d/ipfw From marius at FreeBSD.org Sat Jul 5 15:28:36 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Jul 5 15:28:47 2008 Subject: cvs commit: src/sys/sparc64/include in_cksum.h Message-ID: <200807051528.m65FSYbc031257@repoman.freebsd.org> marius 2008-07-05 15:28:30 UTC FreeBSD src repository Modified files: sys/sparc64/include in_cksum.h Log: SVN rev 180297 on 2008-07-05 15:28:30Z by marius Revert the addition of "__volatile" to "__asm" done in r180011, since the condition codes where added to the clobber lists in r180073 the former is unnecessary. Revision Changes Path 1.6 +4 -4 src/sys/sparc64/include/in_cksum.h From marius at FreeBSD.org Sat Jul 5 15:30:20 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Jul 5 15:30:54 2008 Subject: cvs commit: src/sys/sparc64/sparc64 in_cksum.c Message-ID: <200807051530.m65FUKJM031460@repoman.freebsd.org> marius 2008-07-05 15:30:07 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 in_cksum.c Log: SVN rev 180298 on 2008-07-05 15:30:07Z by marius - Fix spelling and style. - Use __FBSDID. Revision Changes Path 1.3 +26 -21 src/sys/sparc64/sparc64/in_cksum.c From marius at FreeBSD.org Sat Jul 5 15:45:06 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Jul 5 15:45:18 2008 Subject: cvs commit: src/sys/sparc64/sparc64 in_cksum.c Message-ID: <200807051545.m65Fj6ee032699@repoman.freebsd.org> marius 2008-07-05 15:44:56 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 in_cksum.c Log: SVN rev 180299 on 2008-07-05 15:44:56Z by marius - Merge macros depending on the flags being preserved between calls into a single "__asm"-statement as GCC doesn't guarantee their consecutive output even when using consecutive "__asm __volatile"- statement for them. Remove the otherwise unnecessary "__volatile". [1] - The inline assembler instructions used here alter the condition codes so add them to the clobber list accordingly. - The inline assembler instructions used here uses output operands before all input operands are consumed so add appropriate modifiers. Pointed out by: bde [1] MFC after: 2 weeks Revision Changes Path 1.4 +41 -33 src/sys/sparc64/sparc64/in_cksum.c From bzeeb-lists at lists.zabbadoz.net Sat Jul 5 16:14:01 2008 From: bzeeb-lists at lists.zabbadoz.net (Bjoern A. Zeeb) Date: Sat Jul 5 16:14:12 2008 Subject: cvs commit: src/etc network.subr In-Reply-To: <200804301629.m3UGTFn2076936@repoman.freebsd.org> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> Message-ID: <20080705155205.W57089@maildrop.int.zabbadoz.net> On Wed, 30 Apr 2008, Brooks Davis wrote: > brooks 2008-04-30 16:29:15 UTC > > FreeBSD src repository > > Modified files: > etc network.subr > Log: > Emit a warning when the network_interfaces variable is not set to AUTO. why do we have this warning and why do we no longer want to support anything but auto? -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From marius at FreeBSD.org Sat Jul 5 16:28:23 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Jul 5 16:28:34 2008 Subject: cvs commit: src/sys/sparc64/include in_cksum.h Message-ID: <200807051628.m65GSNFV037183@repoman.freebsd.org> marius 2008-07-05 16:28:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sparc64/include in_cksum.h Log: SVN rev 180300 on 2008-07-05 16:28:08Z by marius MFC: r180073 Add the condition codes to the clobber list. Revision Changes Path 1.3.2.1 +8 -8 src/sys/sparc64/include/in_cksum.h From marius at FreeBSD.org Sat Jul 5 16:29:09 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Jul 5 16:29:14 2008 Subject: cvs commit: src/sys/sparc64/include in_cksum.h Message-ID: <200807051629.m65GT8Uk037266@repoman.freebsd.org> marius 2008-07-05 16:28:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sparc64/include in_cksum.h Log: SVN rev 180301 on 2008-07-05 16:28:52Z by marius MFC: r180073 Add the condition codes to the clobber list. Revision Changes Path 1.2.8.2 +8 -8 src/sys/sparc64/include/in_cksum.h From marius at FreeBSD.org Sat Jul 5 16:30:56 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Jul 5 16:31:07 2008 Subject: cvs commit: src/sys/sun4v/include in_cksum.h Message-ID: <200807051630.m65GUtji037468@repoman.freebsd.org> marius 2008-07-05 16:30:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sun4v/include in_cksum.h Log: SVN rev 180302 on 2008-07-05 16:30:46Z by marius MFC: r180010 Given that sun4u uses sparc64/sparc64/in_cksum.c, use the sparc64 here also. Revision Changes Path 1.1.2.1 +2 -164 src/sys/sun4v/include/in_cksum.h From nyan at FreeBSD.org Sat Jul 5 16:32:12 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Sat Jul 5 16:32:18 2008 Subject: cvs commit: src/sys/pc98/include bus.h src/sys/pc98/pc98 busiosubr.c Message-ID: <200807051632.m65GWCFJ037602@repoman.freebsd.org> nyan 2008-07-05 16:31:58 UTC FreeBSD src repository Modified files: sys/pc98/include bus.h sys/pc98/pc98 busiosubr.c Log: SVN rev 180303 on 2008-07-05 16:31:58Z by nyan Add i386_memio_compare() to compare two resources. It's used by uart(4) in the future. Revision Changes Path 1.7 +9 -0 src/sys/pc98/include/bus.h 1.6 +25 -0 src/sys/pc98/pc98/busiosubr.c From rwatson at FreeBSD.org Sat Jul 5 16:39:28 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Jul 5 16:39:34 2008 Subject: cvs commit: src/sys/dev/lmc if_lmc.c if_lmc.h Message-ID: <200807051639.m65GdSoD038279@repoman.freebsd.org> rwatson 2008-07-05 16:39:24 UTC FreeBSD src repository Modified files: sys/dev/lmc if_lmc.c if_lmc.h Log: SVN rev 180304 on 2008-07-05 16:39:24Z by rwatson Rename several functions in if_lmc with potential name collisions with global symbols, such as raw_input and raw_output, to have lmc_ prefixes. This doesn't affect actual functionality since the functions are static, but will limit the opportunities for current confusion and future difficulty. MFC after: 3 days Revision Changes Path 1.33 +27 -25 src/sys/dev/lmc/if_lmc.c 1.6 +8 -8 src/sys/dev/lmc/if_lmc.h From rwatson at FreeBSD.org Sat Jul 5 18:05:39 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Jul 5 18:05:50 2008 Subject: cvs commit: src/sys/net raw_cb.c raw_cb.h raw_usrreq.c src/sys/netinet raw_ip.c src/sys/netinet6 raw_ip6.c Message-ID: <200807051805.m65I5c5P056632@repoman.freebsd.org> rwatson 2008-07-05 18:03:39 UTC FreeBSD src repository Modified files: sys/net raw_cb.c raw_cb.h raw_usrreq.c sys/netinet raw_ip.c sys/netinet6 raw_ip6.c Log: SVN rev 180305 on 2008-07-05 18:03:39Z by rwatson Improve approximation of style(9) in raw socket code. Revision Changes Path 1.36 +11 -17 src/sys/net/raw_cb.c 1.20 +4 -3 src/sys/net/raw_cb.h 1.45 +32 -41 src/sys/net/raw_usrreq.c 1.186 +75 -62 src/sys/netinet/raw_ip.c 1.79 +75 -57 src/sys/netinet6/raw_ip6.c From rwatson at FreeBSD.org Sat Jul 5 18:55:13 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Jul 5 18:55:19 2008 Subject: cvs commit: src/sys/netinet raw_ip.c Message-ID: <200807051855.m65ItCFl060521@repoman.freebsd.org> rwatson 2008-07-05 18:55:03 UTC FreeBSD src repository Modified files: sys/netinet raw_ip.c Log: SVN rev 180306 on 2008-07-05 18:55:03Z by rwatson Rename raw_append() to rip_append(): the raw_ prefix is generally used for functions in the generic raw socket library (raw_cb.c, raw_usrreq.c), and they are not used for IPv4 raw sockets. MFC after: 3 days Revision Changes Path 1.187 +3 -3 src/sys/netinet/raw_ip.c From rwatson at FreeBSD.org Sat Jul 5 19:13:05 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Jul 5 19:13:12 2008 Subject: cvs commit: src/sys/net raw_cb.h Message-ID: <200807051913.m65JD1AX063647@repoman.freebsd.org> rwatson 2008-07-05 19:12:55 UTC FreeBSD src repository Modified files: sys/net raw_cb.h Log: SVN rev 180307 on 2008-07-05 19:12:55Z by rwatson Clarify comments and prototypes in raw_cb.h: - the protosw entries are used directly - the usrreq functions are library routines, generally wrapped by consumers rather than being used directly - the usrreq structure entries are likewise typically wrapped Remove the rather incorrect #if 0'd pr_input_t prototype for raw_input. MFC after: 3 days Revision Changes Path 1.21 +13 -9 src/sys/net/raw_cb.h From alc at FreeBSD.org Sat Jul 5 19:36:08 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sat Jul 5 19:36:15 2008 Subject: cvs commit: src/sys/kern kern_malloc.c src/sys/vm vm_kern.h Message-ID: <200807051936.m65Ja8vW065625@repoman.freebsd.org> alc 2008-07-05 19:34:33 UTC FreeBSD src repository Modified files: sys/kern kern_malloc.c sys/vm vm_kern.h Log: SVN rev 180308 on 2008-07-05 19:34:33Z by alc Enable the creation of a kmem map larger than 4GB. Submitted by: Tz-Huan Huang Make several variables related to kmem map auto-sizing static. Found by: CScout Revision Changes Path 1.167 +11 -11 src/sys/kern/kern_malloc.c 1.30 +1 -1 src/sys/vm/vm_kern.h From sam at FreeBSD.org Sat Jul 5 19:57:07 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Jul 5 19:57:14 2008 Subject: cvs commit: src/sys/net80211 ieee80211_ht.c Message-ID: <200807051957.m65Jv75V067491@repoman.freebsd.org> sam 2008-07-05 19:56:47 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_ht.c Log: SVN rev 180309 on 2008-07-05 19:56:47Z by sam correct construction of delba action frame; don't shift+mask the initiator argument Submitted by: Marvell Revision Changes Path 1.11 +1 -1 src/sys/net80211/ieee80211_ht.c From csjp at FreeBSD.org Sat Jul 5 20:11:39 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Sat Jul 5 20:11:49 2008 Subject: cvs commit: src/sys/net bpf.c bpf_zerocopy.c bpf_zerocopy.h Message-ID: <200807052011.m65KBc9Z070033@repoman.freebsd.org> csjp 2008-07-05 20:11:28 UTC FreeBSD src repository Modified files: sys/net bpf.c bpf_zerocopy.c bpf_zerocopy.h Log: SVN rev 180310 on 2008-07-05 20:11:28Z by csjp Make sure we are clearing the ZBUF_FLAG_IMMUTABLE any time a free buffer is reclaimed by the kernel. This fixes a bug resulted in the kernel over writing packet data while user-space was still processing it when zerocopy is enabled. (Or a panic if invariants was enabled). Discussed with: rwatson Revision Changes Path 1.196 +25 -0 src/sys/net/bpf.c 1.5 +18 -0 src/sys/net/bpf_zerocopy.c 1.3 +1 -0 src/sys/net/bpf_zerocopy.h From alc at FreeBSD.org Sat Jul 5 20:45:10 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sat Jul 5 20:45:22 2008 Subject: cvs commit: src/sys/amd64/include pmap.h vmparam.h Message-ID: <200807052045.m65KjAa6072692@repoman.freebsd.org> alc 2008-07-05 20:44:55 UTC FreeBSD src repository Modified files: sys/amd64/include pmap.h vmparam.h Log: SVN rev 180311 on 2008-07-05 20:44:55Z by alc Increase the kernel map's size to 7GB, making room for a kmem map of size greater than 4GB. (Auto-sizing will set the ceiling on the kmem map size to 4.2GB.) Revision Changes Path 1.144 +2 -2 src/sys/amd64/include/pmap.h 1.55 +2 -2 src/sys/amd64/include/vmparam.h From rpaulo at FreeBSD.org Sat Jul 5 23:19:43 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Sat Jul 5 23:19:55 2008 Subject: cvs commit: src/sys/dev/k8temp k8temp.c Message-ID: <200807052319.m65NJgp8097891@repoman.freebsd.org> rpaulo 2008-07-05 23:19:37 UTC FreeBSD src repository Modified files: sys/dev/k8temp k8temp.c Log: SVN rev 180312 on 2008-07-05 23:19:37Z by rpaulo Use config_intrhook API to create the dev.cpu.N.temperature sysctl node. Our hook creates the sysctl node before root is mounted, but after cpu is probed. It seems that k8temp can be loaded before the cpu module and, in those cases, dev.cpu.0.temperature was not created. PR: 124939 Revision Changes Path 1.5 +42 -20 src/sys/dev/k8temp/k8temp.c From rpaulo at FreeBSD.org Sat Jul 5 23:54:14 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Sat Jul 5 23:54:25 2008 Subject: cvs commit: src/sys/dev/k8temp k8temp.c Message-ID: <200807052354.m65NsDGK000789@repoman.freebsd.org> rpaulo 2008-07-05 23:54:02 UTC FreeBSD src repository Modified files: sys/dev/k8temp k8temp.c Log: SVN rev 180313 on 2008-07-05 23:54:02Z by rpaulo Add a missing call to config_intrhook_establish(). Revision Changes Path 1.6 +1 -0 src/sys/dev/k8temp/k8temp.c From imp at FreeBSD.org Sun Jul 6 06:17:49 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Jul 6 06:18:00 2008 Subject: cvs commit: src/sys/dev/pccard pccarddevs Message-ID: <200807060617.m666HndS057367@repoman.freebsd.org> imp 2008-07-06 06:17:39 UTC FreeBSD src repository Modified files: sys/dev/pccard pccarddevs Log: SVN rev 180314 on 2008-07-06 06:17:39Z by imp Merge from NetBSD's pcmciadev file (rev ~1.208 - 1.226) where appropriate (versions not appropriate to merge omitted): o 1.226 imp nop, save for NetBSD string (minor merging the other way) o 1.225 jnemeth Coreage LAPCCTXD o 1.224 martin (remove 3rd and 4th clauses) o 1.223 kiyohara (TDK bluetooth PC Card) o 1.222 kiyohara (Anycom BlueCard) o 1.221 ichiro (NEC Infrontia AX420N) o 1.219 jmcneill (EDIMAX EP-4101) o 1.213 tsutsui (TEAC IDECARDII entry fix) Also, while I'm here, fix some tab problems that have crept in. Revision Changes Path 1.132 +28 -25 src/sys/dev/pccard/pccarddevs From imp at FreeBSD.org Sun Jul 6 06:19:35 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Jul 6 06:19:42 2008 Subject: cvs commit: src/sys/dev/ed if_ed_pccard.c Message-ID: <200807060619.m666JZ7X057502@repoman.freebsd.org> imp 2008-07-06 06:19:19 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed_pccard.c Log: SVN rev 180315 on 2008-07-06 06:19:19Z by imp Add two corega cards from NetBSD: FETEHR II PCC TXD and LAPCCTXD. Revision Changes Path 1.114 +2 -0 src/sys/dev/ed/if_ed_pccard.c From imp at FreeBSD.org Sun Jul 6 06:24:07 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Jul 6 06:24:19 2008 Subject: cvs commit: src/share/man/man4 ed.4 Message-ID: <200807060624.m666O6Hv057931@repoman.freebsd.org> imp 2008-07-06 06:24:02 UTC FreeBSD src repository Modified files: share/man/man4 ed.4 Log: SVN rev 180316 on 2008-07-06 06:24:02Z by imp Add two corega cards and annotate 8041 V2 chipset. Revision Changes Path 1.58 +2 -2 src/share/man/man4/ed.4 From mtm at FreeBSD.org Sun Jul 6 07:51:39 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Sun Jul 6 07:51:53 2008 Subject: cvs commit: src/etc/rc.d savecore Message-ID: <200807060751.m667pcXx073216@repoman.freebsd.org> mtm 2008-07-06 07:51:29 UTC FreeBSD src repository Modified files: etc/rc.d savecore Log: SVN rev 180317 on 2008-07-06 07:51:29Z by mtm Make checking for the availability of core dumps work in the case that $dumpdev is not set to "AUTO". Reported by: Paul B. Mahol Revision Changes Path 1.14 +12 -1 src/etc/rc.d/savecore From mtm at FreeBSD.org Sun Jul 6 08:31:41 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Sun Jul 6 08:31:54 2008 Subject: cvs commit: src/etc/rc.d savecore Message-ID: <200807060831.m668VeHw078684@repoman.freebsd.org> mtm 2008-07-06 08:31:29 UTC FreeBSD src repository Modified files: etc/rc.d savecore Log: SVN rev 180318 on 2008-07-06 08:31:29Z by mtm Remove the $DUMPDIR variable. It's redundant and the rest of the script uses $dumpdir directly. Revision Changes Path 1.15 +1 -6 src/etc/rc.d/savecore From mtm at FreeBSD.org Sun Jul 6 10:21:27 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Sun Jul 6 10:21:34 2008 Subject: cvs commit: src/etc/periodic/security 800.loginfail Message-ID: <200807061021.m66ALRG2099132@repoman.freebsd.org> mtm 2008-07-06 10:21:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/periodic/security 800.loginfail Log: SVN rev 180319 on 2008-07-06 10:21:12Z by mtm MFC: r180111 Rev. 1.8 broke matching on lines where the failure mode is at the head of the message, such as: Jun 30 10:49:21 rogue sshd[17553]: Invalid user iceman from 127.0.0.1 PR: conf/124569 Submitted by: Taku Revision Changes Path 1.8.2.1 +1 -1 src/etc/periodic/security/800.loginfail From danger at FreeBSD.org Sun Jul 6 10:44:44 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Jul 6 10:44:56 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200807061044.m66Aihex001166@repoman.freebsd.org> danger 2008-07-06 10:44:34 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 180320 on 2008-07-06 10:44:34Z by danger - fix build; oltr(4) has been removed in r180259 Revision Changes Path 1.331 +0 -7 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From danger at FreeBSD.org Sun Jul 6 10:58:17 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Jul 6 10:58:22 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200807061058.m66AwGS0002456@repoman.freebsd.org> danger 2008-07-06 10:57:58 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 180321 on 2008-07-06 10:57:58Z by danger - avoid future breakage: cnw(4), sbni(4) and sbsh(4) have been removed Revision Changes Path 1.332 +0 -9 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From danger at FreeBSD.org Sun Jul 6 11:09:05 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Jul 6 11:09:17 2008 Subject: cvs commit: src/share/man/man4 snd_emu10kx.4 Message-ID: <200807061109.m66B95mn004398@repoman.freebsd.org> danger 2008-07-06 11:08:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 snd_emu10kx.4 Log: SVN rev 180322 on 2008-07-06 11:08:50Z by danger MFC r179371 and r180221 [1]: - various mdoc a spelling fixes - typo fixes [1] PR: docs/125223 [1] Submitted by: Fabian Keil [1] Revision Changes Path 1.5.2.1 +33 -27 src/share/man/man4/snd_emu10kx.4 From danger at FreeBSD.org Sun Jul 6 11:31:37 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Jul 6 11:31:48 2008 Subject: cvs commit: src/lib/libc/stdlib hcreate.c Message-ID: <200807061131.m66BVabZ006823@repoman.freebsd.org> danger 2008-07-06 11:31:20 UTC FreeBSD src repository Modified files: lib/libc/stdlib hcreate.c Log: SVN rev 180323 on 2008-07-06 11:31:20Z by danger - remove superfluous word - remove contractions MFC after: 3 days Revision Changes Path 1.4 +3 -3 src/lib/libc/stdlib/hcreate.c From gonzo at FreeBSD.org Sun Jul 6 12:13:54 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Sun Jul 6 12:14:05 2008 Subject: cvs commit: src/sys/pci viapm.c Message-ID: <200807061213.m66CDrxx011177@repoman.freebsd.org> gonzo 2008-07-06 12:13:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/pci viapm.c Log: SVN rev 180324 on 2008-07-06 12:13:38Z by gonzo Add support for VT8237 ISA bridge. PR: kern/120714 MFC after: 2 weeks Revision Changes Path 1.18.2.1 +7 -0 src/sys/pci/viapm.c From danger at FreeBSD.org Sun Jul 6 12:18:10 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Jul 6 12:18:21 2008 Subject: cvs commit: src/lib/libc/stdlib hcreate.3 Message-ID: <200807061218.m66CI9oY011520@repoman.freebsd.org> danger 2008-07-06 12:17:53 UTC FreeBSD src repository Modified files: lib/libc/stdlib hcreate.3 Log: SVN rev 180325 on 2008-07-06 12:17:53Z by danger - Add description about a missing return value PR: docs/75995 Submitted by: Tarc MFC after: 3 days Revision Changes Path 1.6 +6 -2 src/lib/libc/stdlib/hcreate.3 From rpaulo at FreeBSD.org Sun Jul 6 16:19:16 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Sun Jul 6 16:19:27 2008 Subject: cvs commit: src/sys/dev/k8temp k8temp.c Message-ID: <200807061619.m66GJGA8044841@repoman.freebsd.org> rpaulo 2008-07-06 16:18:58 UTC FreeBSD src repository Modified files: sys/dev/k8temp k8temp.c Log: SVN rev 180326 on 2008-07-06 16:18:58Z by rpaulo Fix comment: s/before/after. Revision Changes Path 1.7 +1 -1 src/sys/dev/k8temp/k8temp.c From rpaulo at FreeBSD.org Sun Jul 6 16:29:18 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Sun Jul 6 16:30:08 2008 Subject: cvs commit: src/share/man/man4 Makefile k8temp.4 src/sys/amd64/conf NOTES src/sys/conf files.amd64 src/sys/dev/k8temp k8temp.c src/sys/modules Makefile src/sys/modules/k8temp Makefile Message-ID: <200807061629.m66GTIHi045801@repoman.freebsd.org> rpaulo 2008-07-06 16:24:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 Makefile sys/amd64/conf NOTES sys/conf files.amd64 sys/modules Makefile Added files: (Branch: RELENG_7) share/man/man4 k8temp.4 sys/dev/k8temp k8temp.c sys/modules/k8temp Makefile Log: SVN rev 180327 on 2008-07-06 16:24:50Z by rpaulo MFC k8temp (r178151, r178152, r178153, r178392, r178949, r178988, r180312, r180313, r180326): A driver to monitor AMD K8 CPU temperature via builtin sensors. This should now be fairly stable as all known bugs have been corrected. Revision Changes Path 1.393.2.12 +1 -0 src/share/man/man4/Makefile 1.1.2.1 +71 -0 src/share/man/man4/k8temp.4 (new) 1.69.2.5 +2 -0 src/sys/amd64/conf/NOTES 1.107.2.7 +1 -0 src/sys/conf/files.amd64 1.7.2.1 +338 -0 src/sys/dev/k8temp/k8temp.c (new) 1.540.2.15 +2 -0 src/sys/modules/Makefile 1.1.2.1 +8 -0 src/sys/modules/k8temp/Makefile (new) From kientzle at FreeBSD.org Sun Jul 6 16:39:34 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Sun Jul 6 16:39:41 2008 Subject: cvs commit: src/usr.bin/cpio cpio.c Message-ID: <200807061639.m66GdY9o046714@repoman.freebsd.org> kientzle 2008-07-06 16:39:18 UTC FreeBSD src repository Modified files: usr.bin/cpio cpio.c Log: SVN rev 180328 on 2008-07-06 16:39:18Z by kientzle Preserve ownership if cpio is run as root. Revision Changes Path 1.8 +2 -1 src/usr.bin/cpio/cpio.c From danger at FreeBSD.org Sun Jul 6 17:03:51 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Jul 6 17:03:57 2008 Subject: cvs commit: src/lib/libc/stdlib hcreate.3 Message-ID: <200807061703.m66H3ol8059120@repoman.freebsd.org> danger 2008-07-06 17:03:37 UTC FreeBSD src repository Modified files: lib/libc/stdlib hcreate.3 Log: SVN rev 180329 on 2008-07-06 17:03:37Z by danger - This code was intially obtained from NetBSD, but it's missing licence statement. Add the one from the current NetBSD version. - Also bump a date to reflect my content changes I have done in previous revision Approved by: imp MFC after: 3 days Revision Changes Path 1.7 +29 -1 src/lib/libc/stdlib/hcreate.3 From csjp at FreeBSD.org Sun Jul 6 20:29:55 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Sun Jul 6 20:30:06 2008 Subject: cvs commit: src/bin/setfacl setfacl.1 Message-ID: <200807062029.m66KTsoD080108@repoman.freebsd.org> csjp 2008-07-06 20:29:35 UTC FreeBSD src repository Modified files: bin/setfacl setfacl.1 Log: SVN rev 180330 on 2008-07-06 20:29:35Z by csjp Document default ACLs and how to use them. MFC after: 1 week Revision Changes Path 1.18 +16 -0 src/bin/setfacl/setfacl.1 From marcel at FreeBSD.org Sun Jul 6 21:03:48 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sun Jul 6 21:03:54 2008 Subject: cvs commit: src ObsoleteFiles.inc src/sbin Makefile Message-ID: <200807062103.m66L3l5N093133@repoman.freebsd.org> marcel 2008-07-06 20:57:35 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc sbin Makefile Log: SVN rev 180331 on 2008-07-06 20:57:35Z by marcel Obsolete bsdlabel(8) on powerpc. Use gpart(8) instead. Revision Changes Path 1.151 +5 -0 src/ObsoleteFiles.inc 1.173 +1 -1 src/sbin/Makefile From imp at FreeBSD.org Sun Jul 6 21:09:54 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Jul 6 21:10:06 2008 Subject: cvs commit: src/sys/mips/adm5120 adm5120_machdep.c adm5120reg.h admpci.c console.c files.adm5120 if_admsw.c if_admswreg.h if_admswvar.h obio.c obiovar.h std.adm5120 uart_bus_adm5120.c uart_cpu_adm5120.c uart_dev_adm5120.c uart_dev_adm5120.h ... Message-ID: <200807062109.m66L9sF0094266@repoman.freebsd.org> imp 2008-07-06 21:09:29 UTC FreeBSD src repository Added files: sys/mips/adm5120 adm5120_machdep.c adm5120reg.h admpci.c console.c files.adm5120 if_admsw.c if_admswreg.h if_admswvar.h obio.c obiovar.h std.adm5120 uart_bus_adm5120.c uart_cpu_adm5120.c uart_dev_adm5120.c uart_dev_adm5120.h sys/mips/idt files.idt idt_machdep.c idtpci.c idtreg.h if_kr.c if_krreg.h obio.c obiovar.h std.idt uart_bus_rc32434.c uart_cpu_rc32434.c sys/mips/malta files.malta gt.c gt_pci.c gtreg.h gtvar.h malta_machdep.c maltareg.h obio.c obiovar.h std.malta uart_bus_maltausart.c uart_cpu_maltausart.c yamon.c yamon.h sys/mips/sentry5 files.sentry5 obio.c obiovar.h s5_machdep.c s5reg.h siba_cc.c siba_mips.c siba_sdram.c uart_bus_sbusart.c uart_cpu_sbusart.c Removed files: sys/mips/mips32/adm5120 adm5120_machdep.c adm5120reg.h admpci.c console.c files.adm5120 if_admsw.c if_admswreg.h if_admswvar.h obio.c obiovar.h std.adm5120 uart_bus_adm5120.c uart_cpu_adm5120.c uart_dev_adm5120.c uart_dev_adm5120.h sys/mips/mips32/idt files.idt idt_machdep.c idtpci.c idtreg.h if_kr.c if_krreg.h obio.c obiovar.h std.idt uart_bus_rc32434.c uart_cpu_rc32434.c sys/mips/mips32/malta files.malta gt.c gt_pci.c gtreg.h gtvar.h malta_machdep.c maltareg.h obio.c obiovar.h std.malta uart_bus_maltausart.c uart_cpu_maltausart.c yamon.c yamon.h sys/mips/mips32/sentry5 files.sentry5 obio.c obiovar.h s5_machdep.c s5reg.h siba_cc.c siba_mips.c siba_sdram.c uart_bus_sbusart.c uart_cpu_sbusart.c Log: SVN rev 180332 on 2008-07-06 21:09:29Z by imp As discussed on IRC and at BSDcan, move the mips32/* directories up a level. The distinction was artificial. Some more movement around the deck charis is likely depending on the fallout from this one. Paths were corrected after the svn mv. Hope that's OK. Revision Changes Path 1.1 +157 -0 src/sys/mips/adm5120/adm5120_machdep.c (new) 1.1 +294 -0 src/sys/mips/adm5120/adm5120reg.h (new) 1.1 +503 -0 src/sys/mips/adm5120/admpci.c (new) 1.1 +93 -0 src/sys/mips/adm5120/console.c (new) 1.1 +11 -0 src/sys/mips/adm5120/files.adm5120 (new) 1.1 +1339 -0 src/sys/mips/adm5120/if_admsw.c (new) 1.1 +678 -0 src/sys/mips/adm5120/if_admswreg.h (new) 1.1 +212 -0 src/sys/mips/adm5120/if_admswvar.h (new) 1.1 +510 -0 src/sys/mips/adm5120/obio.c (new) 1.1 +66 -0 src/sys/mips/adm5120/obiovar.h (new) 1.1 +10 -0 src/sys/mips/adm5120/std.adm5120 (new) 1.1 +93 -0 src/sys/mips/adm5120/uart_bus_adm5120.c (new) 1.1 +83 -0 src/sys/mips/adm5120/uart_cpu_adm5120.c (new) 1.1 +452 -0 src/sys/mips/adm5120/uart_dev_adm5120.c (new) 1.1 +80 -0 src/sys/mips/adm5120/uart_dev_adm5120.h (new) 1.1 +8 -0 src/sys/mips/idt/files.idt (new) 1.1 +188 -0 src/sys/mips/idt/idt_machdep.c (new) 1.1 +565 -0 src/sys/mips/idt/idtpci.c (new) 1.1 +153 -0 src/sys/mips/idt/idtreg.h (new) 1.1 +1615 -0 src/sys/mips/idt/if_kr.c (new) 1.1 +284 -0 src/sys/mips/idt/if_krreg.h (new) 1.1 +514 -0 src/sys/mips/idt/obio.c (new) 1.1 +67 -0 src/sys/mips/idt/obiovar.h (new) 1.1 +5 -0 src/sys/mips/idt/std.idt (new) 1.1 +100 -0 src/sys/mips/idt/uart_bus_rc32434.c (new) 1.1 +85 -0 src/sys/mips/idt/uart_cpu_rc32434.c (new) 1.1 +9 -0 src/sys/mips/malta/files.malta (new) 1.1 +131 -0 src/sys/mips/malta/gt.c (new) 1.1 +723 -0 src/sys/mips/malta/gt_pci.c (new) 1.1 +126 -0 src/sys/mips/malta/gtreg.h (new) 1.1 +36 -0 src/sys/mips/malta/gtvar.h (new) 1.1 +305 -0 src/sys/mips/malta/malta_machdep.c (new) 1.1 +243 -0 src/sys/mips/malta/maltareg.h (new) 1.1 +185 -0 src/sys/mips/malta/obio.c (new) 1.1 +58 -0 src/sys/mips/malta/obiovar.h (new) 1.1 +9 -0 src/sys/mips/malta/std.malta (new) 1.1 +98 -0 src/sys/mips/malta/uart_bus_maltausart.c (new) 1.1 +82 -0 src/sys/mips/malta/uart_cpu_maltausart.c (new) 1.1 +65 -0 src/sys/mips/malta/yamon.c (new) 1.1 +93 -0 src/sys/mips/malta/yamon.h (new) 1.2 +0 -157 src/sys/mips/mips32/adm5120/adm5120_machdep.c (dead) 1.2 +0 -294 src/sys/mips/mips32/adm5120/adm5120reg.h (dead) 1.2 +0 -503 src/sys/mips/mips32/adm5120/admpci.c (dead) 1.2 +0 -93 src/sys/mips/mips32/adm5120/console.c (dead) 1.2 +0 -11 src/sys/mips/mips32/adm5120/files.adm5120 (dead) 1.2 +0 -1339 src/sys/mips/mips32/adm5120/if_admsw.c (dead) 1.2 +0 -678 src/sys/mips/mips32/adm5120/if_admswreg.h (dead) 1.2 +0 -212 src/sys/mips/mips32/adm5120/if_admswvar.h (dead) 1.2 +0 -510 src/sys/mips/mips32/adm5120/obio.c (dead) 1.2 +0 -66 src/sys/mips/mips32/adm5120/obiovar.h (dead) 1.2 +0 -10 src/sys/mips/mips32/adm5120/std.adm5120 (dead) 1.2 +0 -93 src/sys/mips/mips32/adm5120/uart_bus_adm5120.c (dead) 1.2 +0 -83 src/sys/mips/mips32/adm5120/uart_cpu_adm5120.c (dead) 1.2 +0 -452 src/sys/mips/mips32/adm5120/uart_dev_adm5120.c (dead) 1.2 +0 -80 src/sys/mips/mips32/adm5120/uart_dev_adm5120.h (dead) 1.2 +0 -8 src/sys/mips/mips32/idt/files.idt (dead) 1.2 +0 -188 src/sys/mips/mips32/idt/idt_machdep.c (dead) 1.2 +0 -565 src/sys/mips/mips32/idt/idtpci.c (dead) 1.2 +0 -153 src/sys/mips/mips32/idt/idtreg.h (dead) 1.2 +0 -1615 src/sys/mips/mips32/idt/if_kr.c (dead) 1.2 +0 -284 src/sys/mips/mips32/idt/if_krreg.h (dead) 1.2 +0 -514 src/sys/mips/mips32/idt/obio.c (dead) 1.2 +0 -67 src/sys/mips/mips32/idt/obiovar.h (dead) 1.2 +0 -5 src/sys/mips/mips32/idt/std.idt (dead) 1.2 +0 -100 src/sys/mips/mips32/idt/uart_bus_rc32434.c (dead) 1.2 +0 -85 src/sys/mips/mips32/idt/uart_cpu_rc32434.c (dead) 1.2 +0 -9 src/sys/mips/mips32/malta/files.malta (dead) 1.2 +0 -131 src/sys/mips/mips32/malta/gt.c (dead) 1.2 +0 -723 src/sys/mips/mips32/malta/gt_pci.c (dead) 1.2 +0 -126 src/sys/mips/mips32/malta/gtreg.h (dead) 1.2 +0 -36 src/sys/mips/mips32/malta/gtvar.h (dead) 1.2 +0 -305 src/sys/mips/mips32/malta/malta_machdep.c (dead) 1.2 +0 -243 src/sys/mips/mips32/malta/maltareg.h (dead) 1.2 +0 -185 src/sys/mips/mips32/malta/obio.c (dead) 1.2 +0 -58 src/sys/mips/mips32/malta/obiovar.h (dead) 1.2 +0 -9 src/sys/mips/mips32/malta/std.malta (dead) 1.2 +0 -98 src/sys/mips/mips32/malta/uart_bus_maltausart.c (dead) 1.2 +0 -82 src/sys/mips/mips32/malta/uart_cpu_maltausart.c (dead) 1.2 +0 -65 src/sys/mips/mips32/malta/yamon.c (dead) 1.2 +0 -93 src/sys/mips/mips32/malta/yamon.h (dead) 1.2 +0 -14 src/sys/mips/mips32/sentry5/files.sentry5 (dead) 1.2 +0 -187 src/sys/mips/mips32/sentry5/obio.c (dead) 1.2 +0 -58 src/sys/mips/mips32/sentry5/obiovar.h (dead) 1.2 +0 -241 src/sys/mips/mips32/sentry5/s5_machdep.c (dead) 1.2 +0 -58 src/sys/mips/mips32/sentry5/s5reg.h (dead) 1.2 +0 -154 src/sys/mips/mips32/sentry5/siba_cc.c (dead) 1.2 +0 -113 src/sys/mips/mips32/sentry5/siba_mips.c (dead) 1.2 +0 -114 src/sys/mips/mips32/sentry5/siba_sdram.c (dead) 1.2 +0 -95 src/sys/mips/mips32/sentry5/uart_bus_sbusart.c (dead) 1.2 +0 -82 src/sys/mips/mips32/sentry5/uart_cpu_sbusart.c (dead) 1.1 +14 -0 src/sys/mips/sentry5/files.sentry5 (new) 1.1 +187 -0 src/sys/mips/sentry5/obio.c (new) 1.1 +58 -0 src/sys/mips/sentry5/obiovar.h (new) 1.1 +241 -0 src/sys/mips/sentry5/s5_machdep.c (new) 1.1 +58 -0 src/sys/mips/sentry5/s5reg.h (new) 1.1 +154 -0 src/sys/mips/sentry5/siba_cc.c (new) 1.1 +113 -0 src/sys/mips/sentry5/siba_mips.c (new) 1.1 +114 -0 src/sys/mips/sentry5/siba_sdram.c (new) 1.1 +95 -0 src/sys/mips/sentry5/uart_bus_sbusart.c (new) 1.1 +82 -0 src/sys/mips/sentry5/uart_cpu_sbusart.c (new) From alc at FreeBSD.org Sun Jul 6 22:36:41 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sun Jul 6 22:36:53 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h Message-ID: <200807062236.m66Maf8w002687@repoman.freebsd.org> alc 2008-07-06 22:36:28 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include pmap.h Log: SVN rev 180333 on 2008-07-06 22:36:28Z by alc Change create_pagetables() and pmap_init() so that many fewer page table pages have to be preallocated by create_pagetables(). Revision Changes Path 1.625 +10 -8 src/sys/amd64/amd64/pmap.c 1.145 +2 -2 src/sys/amd64/include/pmap.h From csjp at FreeBSD.org Sun Jul 6 22:47:13 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Sun Jul 6 22:47:23 2008 Subject: cvs commit: src/bin/setfacl setfacl.1 Message-ID: <200807062247.m66MlCVq003792@repoman.freebsd.org> csjp 2008-07-06 22:47:10 UTC FreeBSD src repository Modified files: bin/setfacl setfacl.1 Log: SVN rev 180334 on 2008-07-06 22:47:10Z by csjp Add hard sentence breaks. Pointed out by: rwatson MFC after: 1 week Revision Changes Path 1.19 +10 -8 src/bin/setfacl/setfacl.1 From weongyo at FreeBSD.org Mon Jul 7 02:39:50 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Mon Jul 7 02:39:56 2008 Subject: cvs commit: src/share/man/man4 malo.4 Message-ID: <200807070239.m672djIr037943@repoman.freebsd.org> weongyo 2008-07-07 02:39:39 UTC FreeBSD src repository Modified files: share/man/man4 malo.4 Log: SVN rev 180335 on 2008-07-07 02:39:39Z by weongyo correct device name errors and wrong informations that currently malo(4) don't support ad-hoc mode and there's no a man page like malofw(4). Revision Changes Path 1.5 +5 -7 src/share/man/man4/malo.4 From kib at FreeBSD.org Mon Jul 7 09:15:37 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Mon Jul 7 09:15:48 2008 Subject: cvs commit: src/sys/kern kern_event.c Message-ID: <200807070915.m679FZwk099421@repoman.freebsd.org> kib 2008-07-07 09:15:29 UTC FreeBSD src repository Modified files: sys/kern kern_event.c Log: SVN rev 180336 on 2008-07-07 09:15:29Z by kib The r178914 I erronously put the setting of the KQ_FLUXWAIT flag before KQ_FLUX_WAKEUP(). Since the later macro clears the KQ_FLUXWAIT, the kqueue_scan() thread may be not woken up. Move the setting of KQ_FLUXWAIT after wakeup to correct the issue. Reported and tested by: pho MFC after: 3 days Revision Changes Path 1.121 +1 -2 src/sys/kern/kern_event.c From dwmalone at FreeBSD.org Mon Jul 7 09:26:07 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Mon Jul 7 09:26:19 2008 Subject: cvs commit: src/sys/net bpf.c bpf.h Message-ID: <200807070926.m679Q77Z000879@repoman.freebsd.org> dwmalone 2008-07-07 09:25:49 UTC FreeBSD src repository Modified files: sys/net bpf.c bpf.h Log: SVN rev 180337 on 2008-07-07 09:25:49Z by dwmalone Add a new ioctl for changing the read filter (BIOCSETFNR). This is just like BIOCSETF but it doesn't drop all the packets buffered on the discriptor and reset the statistics. Also, when setting the write filter, don't drop packets waiting to be read or reset the statistics. PR: 118486 Submitted by: Matthew Luckie MFC after: 1 month Revision Changes Path 1.197 +8 -4 src/sys/net/bpf.c 1.51 +1 -0 src/sys/net/bpf.h From rwatson at FreeBSD.org Mon Jul 7 09:27:09 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Jul 7 09:27:26 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200807070927.m679R834001020@repoman.freebsd.org> rwatson 2008-07-07 09:26:52 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: SVN rev 180338 on 2008-07-07 09:26:52Z by rwatson Drop read lock on udbinfo earlier during delivery to the last matching UDP socket for a datagram; the inpcb read lock is sufficient to provide inpcb stability during udp_append(). MFC after: 1 month Revision Changes Path 1.225 +5 -3 src/sys/netinet/udp_usrreq.c From dwmalone at FreeBSD.org Mon Jul 7 09:27:10 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Mon Jul 7 09:27:27 2008 Subject: cvs commit: src/share/man/man4 bpf.4 Message-ID: <200807070927.m679R9ej001048@repoman.freebsd.org> dwmalone 2008-07-07 09:27:02 UTC FreeBSD src repository Modified files: share/man/man4 bpf.4 Log: SVN rev 180339 on 2008-07-07 09:27:02Z by dwmalone Update man page for addition of BIOCSETFNR. Subversion didn't want to commit this at the same time for some reason. Revision Changes Path 1.51 +12 -3 src/share/man/man4/bpf.4 From kib at FreeBSD.org Mon Jul 7 09:31:15 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Mon Jul 7 09:31:20 2008 Subject: cvs commit: src/sys/kern kern_event.c kern_fork.c src/sys/sys event.h Message-ID: <200807070931.m679VEhp001612@repoman.freebsd.org> kib 2008-07-07 09:30:11 UTC FreeBSD src repository Modified files: sys/kern kern_event.c kern_fork.c sys/sys event.h Log: SVN rev 180340 on 2008-07-07 09:30:11Z by kib The kqueue_register() function assumes that it is called from the top of the syscall code and acquires various event subsystem locks as needed. The handling of the NOTE_TRACK for EVFILT_PROC is currently done by calling the kqueue_register() from filt_proc() filter, causing recursive entrance of the kqueue code. This results in the LORs and recursive acquisition of the locks. Implement the variant of the knote() function designed to only handle the fork() event. It mostly copies the knote() body, but also handles the NOTE_TRACK, removing the handling from the filt_proc(), where it causes problems described above. The function is called from the fork1() instead of knote(). When encountering NOTE_TRACK knote, it marks the knote as influx and drops the knlist and kqueue lock. In this context call to kqueue_register is safe from the problems. An error from the kqueue_register() is reported to the observer as NOTE_TRACKERR fflag. PR: 108201 Reviewed by: jhb, Pramod Srinivasan (previous version) Discussed with: jmg Tested by: pho MFC after: 2 weeks Revision Changes Path 1.122 +67 -15 src/sys/kern/kern_event.c 1.294 +2 -4 src/sys/kern/kern_fork.c 1.39 +1 -0 src/sys/sys/event.h From phk at FreeBSD.org Mon Jul 7 10:04:35 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Mon Jul 7 10:04:40 2008 Subject: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <200807071004.m67A4Y32006844@repoman.freebsd.org> phk 2008-07-07 10:04:16 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: SVN rev 180341 on 2008-07-07 10:04:16Z by phk Apply learning from RAIEC (Redundant Array of Independeng English Courses) kindly provided by four different correspondents since my last commit. Revision Changes Path 1.267 +1 -1 src/games/fortune/datfiles/fortunes From kib at FreeBSD.org Mon Jul 7 10:07:06 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Mon Jul 7 10:07:14 2008 Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c Message-ID: <200807071007.m67A76Y3007239@repoman.freebsd.org> kib 2008-07-07 10:07:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/msdosfs msdosfs_vnops.c Log: SVN rev 180342 on 2008-07-07 10:07:00Z by kib MFC r180252: The uniqdosname() function takes char[12] as it third argument. Revision Changes Path 1.179.2.2 +1 -1 src/sys/fs/msdosfs/msdosfs_vnops.c From rwatson at FreeBSD.org Mon Jul 7 10:11:38 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Jul 7 10:11:44 2008 Subject: cvs commit: src/sys/netinet6 udp6_usrreq.c Message-ID: <200807071011.m67ABcJH007865@repoman.freebsd.org> rwatson 2008-07-07 10:11:17 UTC FreeBSD src repository Modified files: sys/netinet6 udp6_usrreq.c Log: SVN rev 180343 on 2008-07-07 10:11:17Z by rwatson Drop read lock on udbinfo earlier during delivery to the last matching UDP socket for a datagram; the inpcb read lock is sufficient to provide inpcb stability during udp6_append(). MFC after: 1 month Revision Changes Path 1.89 +1 -1 src/sys/netinet6/udp6_usrreq.c From rwatson at FreeBSD.org Mon Jul 7 10:57:09 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Jul 7 10:57:21 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200807071057.m67Av9WD014167@repoman.freebsd.org> rwatson 2008-07-07 10:56:55 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: SVN rev 180344 on 2008-07-07 10:56:55Z by rwatson First step towards parallel transmit in UDP: if neither a specific source or a specific destination address is requested as part of a send on a UDP socket, read lock the inpcb rather than write lock it. This will allow fully parallel transmit down to the IP layer when sending simultaneously from multiple threads on a connected UDP socket. Parallel transmit for more complex cases, such as when sendto(2) is invoked with an address and there's already a local binding, will follow. MFC after: 1 month Revision Changes Path 1.226 +12 -5 src/sys/netinet/udp_usrreq.c From rwatson at FreeBSD.org Mon Jul 7 11:14:18 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Jul 7 11:14:24 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c In-Reply-To: <200807071057.m67Av9WD014167@repoman.freebsd.org> References: <200807071057.m67Av9WD014167@repoman.freebsd.org> Message-ID: <20080707121042.W63144@fledge.watson.org> On Mon, 7 Jul 2008, Robert Watson wrote: > rwatson 2008-07-07 10:56:55 UTC > > FreeBSD src repository > > Modified files: > sys/netinet udp_usrreq.c > Log: > SVN rev 180344 on 2008-07-07 10:56:55Z by rwatson > > First step towards parallel transmit in UDP: if neither a specific > source or a specific destination address is requested as part of a send > on a UDP socket, read lock the inpcb rather than write lock it. This > will allow fully parallel transmit down to the IP layer when sending > simultaneously from multiple threads on a connected UDP socket. > > Parallel transmit for more complex cases, such as when sendto(2) is > invoked with an address and there's already a local binding, will > follow. This change doesn't help the particularly interesting applications, such as named, etc, as they usually call sendto() with an address rather than connect() the UDP socket, but upcoming changes should address that. Once you get to the IP layer, the routing code shows up as a massive source of contention, and it would be great if someone wanted to work on improving concurrency for routing lookups. Re-introducing the route cache for inpcbs would also help the connect() case, but not the sendto() case, but is still a good idea as it would help TCP a *lot*. Once you get below the IP layer, contention on device driver transmit locks appears to be the next major locking-related performance issue. The UDP changes I'm in the throes of merging have lead to significant performance improvements for UDP applications, such as named and memcached, and hopefully can be MFC'd for 7.1 or 7.2. Robert N M Watson Computer Laboratory University of Cambridge From stas at FreeBSD.org Mon Jul 7 11:49:27 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Mon Jul 7 11:49:56 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <200806252138.m5PLcajG067917@repoman.freebsd.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> Message-ID: <20080707155017.6850f3a5.stas@FreeBSD.org> On Wed, 25 Jun 2008 21:33:28 +0000 (UTC) Ruslan Ermilov mentioned: > ru 2008-06-25 21:33:28 UTC > > FreeBSD src repository > > Modified files: > . Makefile.inc1 > gnu/lib Makefile > gnu/lib/csu Makefile > gnu/lib/libssp Makefile > lib/libc Makefile > lib/libstand Makefile > lib/libthr Makefile > libexec/rtld-elf Makefile > release Makefile > release/picobsd/build picobsd > rescue/librescue Makefile > rescue/rescue Makefile > share/mk bsd.sys.mk > sys/boot/arm/at91 Makefile.inc > sys/boot/efi Makefile.inc > sys/boot/i386 Makefile.inc > sys/boot/i386/loader Makefile > sys/boot/ia64 Makefile.inc > sys/boot/ia64/common Makefile > sys/boot/ia64/efi Makefile > sys/boot/ia64/ski Makefile > sys/boot/pc98 Makefile.inc > sys/boot/pc98/loader Makefile > sys/boot/powerpc/ofw Makefile > sys/boot/sparc64 Makefile.inc > sys/boot/sparc64/loader Makefile > sys/conf files kern.mk kern.pre.mk > tools/build/options WITHOUT_SSP > Added files: > lib/csu Makefile.inc > sys/boot Makefile.inc > sys/boot/arm Makefile.inc > sys/boot/ofw Makefile.inc > sys/boot/powerpc Makefile.inc > sys/boot/uboot Makefile.inc > sys/kern stack_protector.c > Log: > SVN rev 180012 on 2008-06-25 21:33:28Z by ru > > Enable GCC stack protection (aka Propolice) for userland: > - It is opt-out for now so as to give it maximum testing, but it may be > turned opt-in for stable branches depending on the consensus. You > can turn it off with WITHOUT_SSP. > - WITHOUT_SSP was previously used to disable the build of GNU libssp. > It is harmless to steal the knob as SSP symbols have been provided > by libc for a long time, GNU libssp should not have been much used. > - SSP is disabled in a few corners such as system bootstrap programs > (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. > - It should be safe to use -fstack-protector-all to build world, however > libc will be automatically downgraded to -fstack-protector because it > breaks rtld otherwise. > - This option is unavailable on ia64. > > Enable GCC stack protection (aka Propolice) for kernel: > - It is opt-out for now so as to give it maximum testing. > - Do not compile your kernel with -fstack-protector-all, it won't work. > This break world on at91rm9200 and, probably, on other arm targets. I haven't digged into the problem deeply, but the kernel doesn't seem to be able to execute any ssp-enabled binaries (coredumps with bus error). -- Stanislav Sedov ST4096-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080707/a22ebe63/attachment.pgp From remko at FreeBSD.org Mon Jul 7 11:50:07 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Mon Jul 7 11:50:25 2008 Subject: cvs commit: src UPDATING Message-ID: <200807071150.m67Bo7hv020325@repoman.freebsd.org> remko 2008-07-07 11:44:57 UTC FreeBSD src repository Modified files: . UPDATING Log: SVN rev 180345 on 2008-07-07 11:44:57Z by remko Add missing information for geom_mirror metadata. PR: 124434 Submitted by: Philip M. Golluci MFC after: 3 days Prodded through: bugbusters@ Revision Changes Path 1.533 +14 -0 src/UPDATING From rwatson at FreeBSD.org Mon Jul 7 12:04:26 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Jul 7 12:04:53 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c In-Reply-To: <48720552.9000605@freebsd.org> References: <200807071057.m67Av9WD014167@repoman.freebsd.org> <20080707121042.W63144@fledge.watson.org> <48720552.9000605@freebsd.org> Message-ID: <20080707130242.Y63144@fledge.watson.org> On Mon, 7 Jul 2008, Andre Oppermann wrote: > Caching the route in the inpcb has a number of problems: > > - any routing table change has to walk all inpcb's to invalidate > and remove outdated and invalid references. > > - adding host routes again just bloats the table again and makes > lookups more expensive. > > - host routes (cloned) do not change when the underlying route is > adjusted and packets are still routed to the old gateway (for > example new default route). > > - We have a tangled mess of cross-pointers and dependencies again > precluding optimizations to the routing table and code itself. The move towards read-write locking in UDP also complicates inpcb route caching, as there is no longer a guarantee that there's exclusive access to the inpcb in udp_output() and ip_output() -- the lock passed down may be a read lock, in which case a cached route can be used if appropriate, but not replaced if it's not the right one or otherwise inappropriate. This particular issue won't affect TCP for the forseeable future as it almost universally uses write locking on the inpcb. Robert N M Watson Computer Laboratory University of Cambridge From rwatson at FreeBSD.org Mon Jul 7 12:14:20 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Jul 7 12:14:32 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200807071214.m67CEKH8023498@repoman.freebsd.org> rwatson 2008-07-07 12:14:10 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: SVN rev 180346 on 2008-07-07 12:14:10Z by rwatson Add additional udbinfo and inpcb locking assertions to udp_output(); for some code paths, global or inpcb write locks are required, but for other code paths, read locks or no locking at all are sufficient for the data structures. MFC after: 1 month Revision Changes Path 1.227 +6 -0 src/sys/netinet/udp_usrreq.c From kib at FreeBSD.org Mon Jul 7 12:20:52 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Mon Jul 7 12:20:58 2008 Subject: cvs commit: src/lib/libutil expand_number.c Message-ID: <200807071220.m67CKpAO024207@repoman.freebsd.org> kib 2008-07-07 12:20:34 UTC FreeBSD src repository Modified files: lib/libutil expand_number.c Log: SVN rev 180347 on 2008-07-07 12:20:34Z by kib Add #include for the strtoimax(). Submitted by: Jilles Tjoelker MFC after: 3 days Revision Changes Path 1.4 +1 -0 src/lib/libutil/expand_number.c From andre at freebsd.org Mon Jul 7 12:27:00 2008 From: andre at freebsd.org (Andre Oppermann) Date: Mon Jul 7 12:27:07 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c In-Reply-To: <20080707121042.W63144@fledge.watson.org> References: <200807071057.m67Av9WD014167@repoman.freebsd.org> <20080707121042.W63144@fledge.watson.org> Message-ID: <48720552.9000605@freebsd.org> Robert Watson wrote: > On Mon, 7 Jul 2008, Robert Watson wrote: > >> rwatson 2008-07-07 10:56:55 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/netinet udp_usrreq.c >> Log: >> SVN rev 180344 on 2008-07-07 10:56:55Z by rwatson >> >> First step towards parallel transmit in UDP: if neither a specific >> source or a specific destination address is requested as part of a send >> on a UDP socket, read lock the inpcb rather than write lock it. This >> will allow fully parallel transmit down to the IP layer when sending >> simultaneously from multiple threads on a connected UDP socket. >> >> Parallel transmit for more complex cases, such as when sendto(2) is >> invoked with an address and there's already a local binding, will >> follow. > > This change doesn't help the particularly interesting applications, such > as named, etc, as they usually call sendto() with an address rather than > connect() the UDP socket, but upcoming changes should address that. > Once you get to the IP layer, the routing code shows up as a massive > source of contention, and it would be great if someone wanted to work on > improving concurrency for routing lookups. Re-introducing the route > cache for inpcbs would also help the connect() case, but not the > sendto() case, but is still a good idea as it would help TCP a *lot*. > Once you get below the IP layer, contention on device driver transmit > locks appears to be the next major locking-related performance issue. > The UDP changes I'm in the throes of merging have lead to significant > performance improvements for UDP applications, such as named and > memcached, and hopefully can be MFC'd for 7.1 or 7.2. Caching the route in the inpcb has a number of problems: - any routing table change has to walk all inpcb's to invalidate and remove outdated and invalid references. - adding host routes again just bloats the table again and makes lookups more expensive. - host routes (cloned) do not change when the underlying route is adjusted and packets are still routed to the old gateway (for example new default route). - We have a tangled mess of cross-pointers and dependencies again precluding optimizations to the routing table and code itself. A different path to a reduced routing overhead may be the following: - move ARP out of the routing table into its own per-AF and interface structure and optimized for fast perfect match lookups; This removes a lot of bloat and dependencies from the routing table. - prohibit any direct references to specific routes (pointers) in the routing table; Lookups take the ifp/nexthop and unlock the table w/o any further references; - The per-route locks can be removed and a per-AF global optimized table lock can be introduced. - A clear separation between route lookup and modify (add/remove) should be made; With this change differentiated locking strategies can be used (rwlocks and/or the routing table can be replicated per-cpu). - Make a distinction between host and router mode to allow for different optimizations (rmlock for hosts and rwlocks for routers for example). Our current routing code has its fingers still in too many things. Once it can be untangled way more optimization and simplification is possible. -- Andre From rwatson at FreeBSD.org Mon Jul 7 12:28:07 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Jul 7 12:28:14 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200807071228.m67CS7l2024737@repoman.freebsd.org> rwatson 2008-07-07 12:27:55 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: SVN rev 180348 on 2008-07-07 12:27:55Z by rwatson Allow udp_notify() to accept read, as well as write, locks on the passed inpcb. When directly invoking udp_notify() from udp_ctlinput(), acquire only a read lock; we may still see write locks in udp_notify() as the in_pcbnotifyall() routine is shared with TCP and always uses a write lock on the inpcb being notified. MFC after: 1 month Revision Changes Path 1.228 +9 -3 src/sys/netinet/udp_usrreq.c From remko at FreeBSD.org Mon Jul 7 13:15:12 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Mon Jul 7 13:15:23 2008 Subject: cvs commit: src UPDATING Message-ID: <200807071315.m67DFAIc039377@repoman.freebsd.org> remko 2008-07-07 13:08:30 UTC FreeBSD src repository Modified files: . UPDATING Log: SVN rev 180349 on 2008-07-07 13:08:30Z by remko Fix some spelling errors (improper review from my side). Submitted by: ed, danger Revision Changes Path 1.534 +1 -1 src/UPDATING From brooks at FreeBSD.org Mon Jul 7 16:03:12 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Mon Jul 7 16:03:19 2008 Subject: cvs commit: src/etc network.subr In-Reply-To: <20080705155205.W57089@maildrop.int.zabbadoz.net> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> <20080705155205.W57089@maildrop.int.zabbadoz.net> Message-ID: <20080707160339.GB57420@lor.one-eyed-alien.net> On Sat, Jul 05, 2008 at 03:52:36PM +0000, Bjoern A. Zeeb wrote: > On Wed, 30 Apr 2008, Brooks Davis wrote: > >> brooks 2008-04-30 16:29:15 UTC >> >> FreeBSD src repository >> >> Modified files: >> etc network.subr >> Log: >> Emit a warning when the network_interfaces variable is not set to AUTO. > > why do we have this warning and why do we no longer want to support > anything but auto? Because network_interfaces provides no useful functionality and needless added complexity. If you want an interface to be configured, set an ifconfig_ variable and make sure the interface exists by the time rc.d/netif is run (by configuring your kernel or /boot/loader.conf correctly) or add it to the appropriate wlans_, gif_interfaces, cloned_interfaces, etc list. If you don't want it configured make sure there isn't a ifconfig_ variable set. -- Brooks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080707/a412daa5/attachment.pgp From marcel at FreeBSD.org Mon Jul 7 16:23:18 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Mon Jul 7 16:23:29 2008 Subject: cvs commit: src/release Makefile Message-ID: <200807071623.m67GNI2K059381@repoman.freebsd.org> marcel 2008-07-07 16:23:04 UTC FreeBSD src repository Modified files: release Makefile Log: SVN rev 180350 on 2008-07-07 16:23:04Z by marcel When making release with NOPORTS, we'll checkout only the mininal set of ports required to make the docs. However, we also need ports/sysutils/cdrtools in order to make the ISO images. When a platform doesn't have packages, the release will fail in that case. Add ports/sysutils/cdrtools to RELEASEPORTSMODULE for the DOMINIMALDOCPORTS case to handle the NOPORTS release build. Note that this change doesn't try to handle the NOPORTS with NODOC case. For we have NOPORTSATALL set and it seems wrong to check out a ports module in that case. Revision Changes Path 1.933 +1 -1 src/release/Makefile From sam at FreeBSD.org Mon Jul 7 17:25:05 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Mon Jul 7 17:25:10 2008 Subject: cvs commit: src/sys/net80211 ieee80211_output.c Message-ID: <200807071725.m67HP4rN075123@repoman.freebsd.org> sam 2008-07-07 17:24:55 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_output.c Log: SVN rev 180351 on 2008-07-07 17:24:55Z by sam reorder RSN/WPA2 ie in beacon and probe response frames to comply with IEEE802.11-2007 spec Submitted by: Chris Zimmermann Revision Changes Path 1.60 +13 -13 src/sys/net80211/ieee80211_output.c From alc at FreeBSD.org Mon Jul 7 17:26:45 2008 From: alc at FreeBSD.org (Alan Cox) Date: Mon Jul 7 17:26:58 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c Message-ID: <200807071726.m67HQjp8075309@repoman.freebsd.org> alc 2008-07-07 17:25:09 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c Log: SVN rev 180352 on 2008-07-07 17:25:09Z by alc In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT to vm_page_alloc() instead of VM_ALLOC_SYSTEM. VM_ALLOC_SYSTEM was the logical choice before FreeBSD 7.0 because VM_ALLOC_INTERRUPT could not reclaim a cached page. Simply put, there was no ordering between VM_ALLOC_INTERRUPT and VM_ALLOC_SYSTEM as to which "dug deeper" into the cache and free queues. Now, there is; VM_ALLOC_INTERRUPT dominates VM_ALLOC_SYSTEM. While I'm here, teach pmap_growkernel() to request a prezeroed page. MFC after: 1 week Revision Changes Path 1.626 +8 -4 src/sys/amd64/amd64/pmap.c 1.621 +4 -2 src/sys/i386/i386/pmap.c From alc at FreeBSD.org Mon Jul 7 17:31:12 2008 From: alc at FreeBSD.org (Alan Cox) Date: Mon Jul 7 17:31:18 2008 Subject: cvs commit: src/sys/mips/mips pmap.c Message-ID: <200807071731.m67HVCue075798@repoman.freebsd.org> alc 2008-07-07 17:31:02 UTC FreeBSD src repository Modified files: sys/mips/mips pmap.c Log: SVN rev 180353 on 2008-07-07 17:31:02Z by alc In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT to vm_page_alloc() instead of VM_ALLOC_SYSTEM. Revision Changes Path 1.6 +1 -1 src/sys/mips/mips/pmap.c From marcel at FreeBSD.org Mon Jul 7 17:44:01 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Mon Jul 7 17:44:07 2008 Subject: cvs commit: src/sys/ia64/ia64 machdep.c src/sys/ia64/include ia64_cpu.h Message-ID: <200807071744.m67Hi1Lm076988@repoman.freebsd.org> marcel 2008-07-07 17:43:56 UTC FreeBSD src repository Modified files: sys/ia64/ia64 machdep.c sys/ia64/include ia64_cpu.h Log: SVN rev 180354 on 2008-07-07 17:43:56Z by marcel Add inline function ia64_fc_i() to abstract inline assembly. Use the new inline function in ia64_invalidate_icache(). While there, add proper synchronization so that we know the fc.i instructions have taken effect when we return. Revision Changes Path 1.242 +4 -1 src/sys/ia64/ia64/machdep.c 1.24 +6 -0 src/sys/ia64/include/ia64_cpu.h From mav at FreeBSD.org Mon Jul 7 18:40:03 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Jul 7 18:40:14 2008 Subject: cvs commit: src/sys/netinet/libalias alias_ftp.c Message-ID: <200807071840.m67Ie2ka083441@repoman.freebsd.org> mav 2008-07-07 18:39:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet/libalias alias_ftp.c Log: SVN rev 180355 on 2008-07-07 18:39:47Z by mav MFC rev 179912: Add support for PORT/EPRT FTP commands in lowercase. Use strncasecmp() instead of huge local implementation to reduce code size. Check space presence after command/code. PR: kern/73034 Revision Changes Path 1.29.2.1 +21 -96 src/sys/netinet/libalias/alias_ftp.c From alfred at freebsd.org Mon Jul 7 20:04:18 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Mon Jul 7 20:04:30 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c In-Reply-To: <48720552.9000605@freebsd.org> References: <200807071057.m67Av9WD014167@repoman.freebsd.org> <20080707121042.W63144@fledge.watson.org> <48720552.9000605@freebsd.org> Message-ID: <20080707200418.GE95574@elvis.mu.org> * Andre Oppermann [080707 05:01] wrote: > Robert Watson wrote: > >On Mon, 7 Jul 2008, Robert Watson wrote: > > > >>rwatson 2008-07-07 10:56:55 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/netinet udp_usrreq.c > >> Log: > >> SVN rev 180344 on 2008-07-07 10:56:55Z by rwatson > >> > >> First step towards parallel transmit in UDP: if neither a specific > >> source or a specific destination address is requested as part of a send > >> on a UDP socket, read lock the inpcb rather than write lock it. This > >> will allow fully parallel transmit down to the IP layer when sending > >> simultaneously from multiple threads on a connected UDP socket. > >> > >> Parallel transmit for more complex cases, such as when sendto(2) is > >> invoked with an address and there's already a local binding, will > >> follow. > > > >This change doesn't help the particularly interesting applications, such > >as named, etc, as they usually call sendto() with an address rather than > >connect() the UDP socket, but upcoming changes should address that. > >Once you get to the IP layer, the routing code shows up as a massive > >source of contention, and it would be great if someone wanted to work on > >improving concurrency for routing lookups. Re-introducing the route > >cache for inpcbs would also help the connect() case, but not the > >sendto() case, but is still a good idea as it would help TCP a *lot*. > >Once you get below the IP layer, contention on device driver transmit > >locks appears to be the next major locking-related performance issue. > >The UDP changes I'm in the throes of merging have lead to significant > >performance improvements for UDP applications, such as named and > >memcached, and hopefully can be MFC'd for 7.1 or 7.2. > > Caching the route in the inpcb has a number of problems: > > - any routing table change has to walk all inpcb's to invalidate > and remove outdated and invalid references. > > - adding host routes again just bloats the table again and makes > lookups more expensive. > > - host routes (cloned) do not change when the underlying route is > adjusted and packets are still routed to the old gateway (for > example new default route). > > - We have a tangled mess of cross-pointers and dependencies again > precluding optimizations to the routing table and code itself. Can't you address #1, #3 and #4 by copying the entry and using a generation count? When a route change happens, then just bump the generation count, the copy will be invalidated and then next time it's attempted to be used, it will be thrown out. Can't comment on the rest of this as I'm not that familiar... > > A different path to a reduced routing overhead may be the following: > > - move ARP out of the routing table into its own per-AF and interface > structure and optimized for fast perfect match lookups; This removes > a lot of bloat and dependencies from the routing table. > > - prohibit any direct references to specific routes (pointers) in the > routing table; Lookups take the ifp/nexthop and unlock the table > w/o any further references; > > - The per-route locks can be removed and a per-AF global optimized table > lock can be introduced. > > - A clear separation between route lookup and modify (add/remove) should > be made; With this change differentiated locking strategies can be > used (rwlocks and/or the routing table can be replicated per-cpu). > > - Make a distinction between host and router mode to allow for different > optimizations (rmlock for hosts and rwlocks for routers for example). > > Our current routing code has its fingers still in too many things. Once > it can be untangled way more optimization and simplification is possible. That sounds cool. -- - Alfred Perlstein From alfred at freebsd.org Mon Jul 7 20:10:47 2008 From: alfred at freebsd.org (Alfred Perlstein) Date: Mon Jul 7 20:10:58 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c In-Reply-To: <200807032326.m63NQCdW044654@repoman.freebsd.org> References: <200807032326.m63NQCdW044654@repoman.freebsd.org> Message-ID: <20080707195209.GD95574@elvis.mu.org> This really deserves a comment at each invocation of bcopy in order to prevent regressions by someone "fixing" it again. -Alfred * Ed Maste [080703 16:26] wrote: > emaste 2008-07-03 23:26:10 UTC > > FreeBSD src repository > > Modified files: > sys/kern uipc_usrreq.c > Log: > SVN rev 180238 on 2008-07-03 23:26:10Z by emaste > > Use bcopy instead of strlcpy in uipc_bind and unp_connect, since > soun->sun_path isn't a null-terminated string. As UNIX(4) states, "the > terminating NUL is not part of the address." Since strlcpy has to return > "the total length of the string [it] tried to create," it walks off the end > of soun->sun_path looking for a \0. > > This reverts r105332. > > Reported by: Ryan Stone > > Revision Changes Path > 1.215 +4 -2 src/sys/kern/uipc_usrreq.c -- - Alfred Perlstein From emaste at freebsd.org Mon Jul 7 20:41:19 2008 From: emaste at freebsd.org (Ed Maste) Date: Mon Jul 7 20:41:25 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c In-Reply-To: <20080707195209.GD95574@elvis.mu.org> References: <200807032326.m63NQCdW044654@repoman.freebsd.org> <20080707195209.GD95574@elvis.mu.org> Message-ID: <20080707202915.GA17691@sandvine.com> On Mon, Jul 07, 2008 at 12:52:09PM -0700, Alfred Perlstein wrote: > * Ed Maste [080703 16:26] wrote: > > emaste 2008-07-03 23:26:10 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern uipc_usrreq.c > > Log: > > SVN rev 180238 on 2008-07-03 23:26:10Z by emaste > > > > Use bcopy instead of strlcpy in uipc_bind and unp_connect, since > > soun->sun_path isn't a null-terminated string. As UNIX(4) states, "the > > terminating NUL is not part of the address." Since strlcpy has to return > > "the total length of the string [it] tried to create," it walks off the end > > of soun->sun_path looking for a \0. > > > > This reverts r105332. > > > > Reported by: Ryan Stone > > > > Revision Changes Path > > 1.215 +4 -2 src/sys/kern/uipc_usrreq.c > > This really deserves a comment at each invocation of bcopy in > order to prevent regressions by someone "fixing" it again. I thought about that but figured that a bcopy -> strlcpy conversion would be a lot less likely than the strncpy -> strlcpy change that happened here originally to introduce the bug. If it really seems like a candidate for someone to "fix" in the future I'll add a comment. - Ed From julian at elischer.org Mon Jul 7 20:42:27 2008 From: julian at elischer.org (Julian Elischer) Date: Mon Jul 7 20:42:34 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c In-Reply-To: <20080707200418.GE95574@elvis.mu.org> References: <200807071057.m67Av9WD014167@repoman.freebsd.org> <20080707121042.W63144@fledge.watson.org> <48720552.9000605@freebsd.org> <20080707200418.GE95574@elvis.mu.org> Message-ID: <48727C37.9080001@elischer.org> Alfred Perlstein wrote: > * Andre Oppermann [080707 05:01] wrote: >> Robert Watson wrote: >>> On Mon, 7 Jul 2008, Robert Watson wrote: >>> >>>> rwatson 2008-07-07 10:56:55 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> sys/netinet udp_usrreq.c >>>> Log: >>>> SVN rev 180344 on 2008-07-07 10:56:55Z by rwatson >>>> >>>> First step towards parallel transmit in UDP: if neither a specific >>>> source or a specific destination address is requested as part of a send >>>> on a UDP socket, read lock the inpcb rather than write lock it. This >>>> will allow fully parallel transmit down to the IP layer when sending >>>> simultaneously from multiple threads on a connected UDP socket. >>>> >>>> Parallel transmit for more complex cases, such as when sendto(2) is >>>> invoked with an address and there's already a local binding, will >>>> follow. >>> This change doesn't help the particularly interesting applications, such >>> as named, etc, as they usually call sendto() with an address rather than >>> connect() the UDP socket, but upcoming changes should address that. >>> Once you get to the IP layer, the routing code shows up as a massive >>> source of contention, and it would be great if someone wanted to work on >>> improving concurrency for routing lookups. Re-introducing the route >>> cache for inpcbs would also help the connect() case, but not the >>> sendto() case, but is still a good idea as it would help TCP a *lot*. >>> Once you get below the IP layer, contention on device driver transmit >>> locks appears to be the next major locking-related performance issue. >>> The UDP changes I'm in the throes of merging have lead to significant >>> performance improvements for UDP applications, such as named and >>> memcached, and hopefully can be MFC'd for 7.1 or 7.2. >> Caching the route in the inpcb has a number of problems: >> >> - any routing table change has to walk all inpcb's to invalidate >> and remove outdated and invalid references. >> >> - adding host routes again just bloats the table again and makes >> lookups more expensive. >> >> - host routes (cloned) do not change when the underlying route is >> adjusted and packets are still routed to the old gateway (for >> example new default route). >> >> - We have a tangled mess of cross-pointers and dependencies again >> precluding optimizations to the routing table and code itself. > > Can't you address #1, #3 and #4 by copying the entry and using > a generation count? When a route change happens, then just > bump the generation count, the copy will be invalidated and then > next time it's attempted to be used, it will be thrown out. > > Can't comment on the rest of this as I'm not that familiar... > >> A different path to a reduced routing overhead may be the following: >> >> - move ARP out of the routing table into its own per-AF and interface >> structure and optimized for fast perfect match lookups; This removes >> a lot of bloat and dependencies from the routing table. >> the arp-v2 branch in p4 does this. needs more eyes. >> - prohibit any direct references to specific routes (pointers) in the >> routing table; Lookups take the ifp/nexthop and unlock the table >> w/o any further references; >> >> - The per-route locks can be removed and a per-AF global optimized table >> lock can be introduced. >> >> - A clear separation between route lookup and modify (add/remove) should >> be made; With this change differentiated locking strategies can be >> used (rwlocks and/or the routing table can be replicated per-cpu). >> >> - Make a distinction between host and router mode to allow for different >> optimizations (rmlock for hosts and rwlocks for routers for example). >> >> Our current routing code has its fingers still in too many things. Once >> it can be untangled way more optimization and simplification is possible. > > That sounds cool. > From bz at FreeBSD.org Mon Jul 7 20:46:06 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Mon Jul 7 20:46:17 2008 Subject: cvs commit: src/sys/kern kern_cpuset.c Message-ID: <200807072046.m67Kk5Au099456@repoman.freebsd.org> bz 2008-07-07 20:45:55 UTC FreeBSD src repository Modified files: sys/kern kern_cpuset.c Log: SVN rev 180356 on 2008-07-07 20:45:55Z by bz Move cpuset_refroot and cpuset_refbase functions up, grouping the cpuset_ref* functions together. Will make it easier to read and add code without forward declarations. No functional changes. Revision Changes Path 1.12 +32 -32 src/sys/kern/kern_cpuset.c From cokane at FreeBSD.org Mon Jul 7 20:52:18 2008 From: cokane at FreeBSD.org (Coleman Kane) Date: Mon Jul 7 20:52:23 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c In-Reply-To: <20080707195209.GD95574@elvis.mu.org> References: <200807032326.m63NQCdW044654@repoman.freebsd.org> <20080707195209.GD95574@elvis.mu.org> Message-ID: <1215462821.2033.17.camel@localhost> On Mon, 2008-07-07 at 12:52 -0700, Alfred Perlstein wrote: > This really deserves a comment at each invocation of bcopy in > order to prevent regressions by someone "fixing" it again. > > -Alfred > > * Ed Maste [080703 16:26] wrote: > > emaste 2008-07-03 23:26:10 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern uipc_usrreq.c > > Log: > > SVN rev 180238 on 2008-07-03 23:26:10Z by emaste > > > > Use bcopy instead of strlcpy in uipc_bind and unp_connect, since > > soun->sun_path isn't a null-terminated string. As UNIX(4) states, "the > > terminating NUL is not part of the address." Since strlcpy has to return > > "the total length of the string [it] tried to create," it walks off the end > > of soun->sun_path looking for a \0. > > > > This reverts r105332. > > > > Reported by: Ryan Stone > > > > Revision Changes Path > > 1.215 +4 -2 src/sys/kern/uipc_usrreq.c > Hopefully people will begin to incorporate "svn blame" into their work-flows. -- Coleman Kane -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080707/acad8937/attachment.pgp From bz at FreeBSD.org Mon Jul 7 20:53:51 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Mon Jul 7 20:53:58 2008 Subject: cvs commit: src/sys/kern kern_jail.c Message-ID: <200807072053.m67KrpAT009444@repoman.freebsd.org> bz 2008-07-07 20:53:49 UTC FreeBSD src repository Modified files: sys/kern kern_jail.c Log: SVN rev 180357 on 2008-07-07 20:53:49Z by bz MFp4 144659: Plug a memory leak with jail services. PR: 125257 Submitted by: Mateusz Guzik MFC after: 6 days Revision Changes Path 1.80 +4 -0 src/sys/kern/kern_jail.c From bz at FreeBSD.org Mon Jul 7 21:38:53 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Mon Jul 7 21:39:01 2008 Subject: cvs commit: src/share/man/man4 ddb.4 src/sys/kern kern_cpuset.c Message-ID: <200807072138.m67Lcmi3014127@repoman.freebsd.org> bz 2008-07-07 21:32:02 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 sys/kern kern_cpuset.c Log: SVN rev 180358 on 2008-07-07 21:32:02Z by bz Add a `show cpusets' DDB command to print numbered root and assigned CPU affinity sets. Reviewed by: brooks Revision Changes Path 1.54 +8 -1 src/share/man/man4/ddb.4 1.13 +33 -0 src/sys/kern/kern_cpuset.c From delphij at FreeBSD.org Mon Jul 7 22:56:29 2008 From: delphij at FreeBSD.org (Xin LI) Date: Mon Jul 7 22:56:41 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC src/sys/i386/conf GENERIC src/sys/ia64/conf GENERIC src/sys/pc98/conf GENERIC src/sys/powerpc/conf GENERIC src/sys/sparc64/conf GENERIC src/sys/sun4v/conf GENERIC Message-ID: <200807072256.m67MuTPV021670@repoman.freebsd.org> delphij 2008-07-07 22:55:11 UTC FreeBSD src repository Modified files: sys/amd64/conf GENERIC sys/i386/conf GENERIC sys/ia64/conf GENERIC sys/pc98/conf GENERIC sys/powerpc/conf GENERIC sys/sparc64/conf GENERIC sys/sun4v/conf GENERIC Log: SVN rev 180359 on 2008-07-07 22:55:11Z by delphij Add HWPMC_HOOKS to GENERIC kernels, this makes hwpmc.ko work out of the box. Revision Changes Path 1.503 +1 -0 src/sys/amd64/conf/GENERIC 1.493 +1 -0 src/sys/i386/conf/GENERIC 1.98 +1 -0 src/sys/ia64/conf/GENERIC 1.307 +1 -0 src/sys/pc98/conf/GENERIC 1.80 +1 -0 src/sys/powerpc/conf/GENERIC 1.138 +1 -0 src/sys/sparc64/conf/GENERIC 1.19 +1 -0 src/sys/sun4v/conf/GENERIC From davidxu at FreeBSD.org Tue Jul 8 03:08:52 2008 From: davidxu at FreeBSD.org (David Xu) Date: Tue Jul 8 03:09:03 2008 Subject: cvs commit: src/include unistd.h Message-ID: <200807080308.m6838qsG057896@repoman.freebsd.org> davidxu 2008-07-08 03:08:32 UTC FreeBSD src repository Modified files: include unistd.h Log: SVN rev 180360 on 2008-07-08 03:08:32Z by davidxu posix_spawn() is supported, set _POSIX_SPAWN to 200212L. Revision Changes Path 1.90 +1 -1 src/include/unistd.h From doconnor at gsoft.com.au Tue Jul 8 03:18:00 2008 From: doconnor at gsoft.com.au (Daniel O'Connor) Date: Tue Jul 8 03:18:11 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c In-Reply-To: <1215462821.2033.17.camel@localhost> References: <200807032326.m63NQCdW044654@repoman.freebsd.org> <20080707195209.GD95574@elvis.mu.org> <1215462821.2033.17.camel@localhost> Message-ID: <200807081211.32659.doconnor@gsoft.com.au> On Tue, 8 Jul 2008, Coleman Kane wrote: > Hopefully people will begin to incorporate "svn blame" into their > work-flows. A 2 line comment would be much simpler and more likely to actually work IMO :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080708/9e2c82af/attachment.pgp From keramida at FreeBSD.org Tue Jul 8 03:21:24 2008 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Tue Jul 8 03:21:31 2008 Subject: cvs commit: src/usr.sbin/pkg_install/create main.c src/usr.sbin/pkg_install/lib lib.h Message-ID: <200807080321.m683LOfL058926@repoman.freebsd.org> keramida 2008-07-08 03:21:05 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install/create main.c usr.sbin/pkg_install/lib lib.h Log: SVN rev 180361 on 2008-07-08 03:21:05Z by keramida Enable the -n option of pkg_create(1). The changes to make the option work are already in place, but I missed the patch hunk that adds it to the getopt() option-handling loop. Pointy hat: keramida Approved by: flz MFC after: 1 week Revision Changes Path 1.46 +4 -0 src/usr.sbin/pkg_install/create/main.c 1.69 +1 -1 src/usr.sbin/pkg_install/lib/lib.h From alc at FreeBSD.org Tue Jul 8 04:00:44 2008 From: alc at FreeBSD.org (Alan Cox) Date: Tue Jul 8 04:00:49 2008 Subject: cvs commit: src/sys/amd64/amd64 minidump_machdep.c Message-ID: <200807080400.m6840h48061984@repoman.freebsd.org> alc 2008-07-08 04:00:22 UTC FreeBSD src repository Modified files: sys/amd64/amd64 minidump_machdep.c Log: SVN rev 180362 on 2008-07-08 04:00:22Z by alc Rev 180333, ``Change create_pagetables() and pmap_init() so that many fewer page table pages have to be preallocated ...'', violates an assumption made by minidumpsys(): kernel_vm_end is the highest virtual address that has ever been used by the kernel. Now, however, the kernel code, data, and bss may reside at addresses beyond kernel_vm_end. This revision modifies the upper bound on minidumpsys()'s two page table traversals to account for this possibility. Revision Changes Path 1.6 +4 -2 src/sys/amd64/amd64/minidump_machdep.c From weongyo at FreeBSD.org Tue Jul 8 04:15:16 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Tue Jul 8 04:15:21 2008 Subject: cvs commit: src/share/man/man4 malo.4 Message-ID: <200807080415.m684FFMJ064224@repoman.freebsd.org> weongyo 2008-07-08 04:15:07 UTC FreeBSD src repository Modified files: share/man/man4 malo.4 Log: SVN rev 180363 on 2008-07-08 04:15:07Z by weongyo remove a useless example. Pointed by: imp Revision Changes Path 1.6 +0 -6 src/share/man/man4/malo.4 From philip at FreeBSD.org Tue Jul 8 09:54:36 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Tue Jul 8 09:54:47 2008 Subject: cvs commit: src/sys/net if_bridge.c Message-ID: <200807080954.m689saQN016643@repoman.freebsd.org> philip 2008-07-08 09:54:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_bridge.c Log: SVN rev 180364 on 2008-07-08 09:54:19Z by philip MFC r180140: Set bridge MAC addresses to the MAC address of their first interface unless locally configured. This is more in line with the behaviour of other popular bridging implementations and makes bridges more predictable after reboots for example. Revision Changes Path 1.103.2.7 +33 -6 src/sys/net/if_bridge.c From rwatson at FreeBSD.org Tue Jul 8 10:15:37 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 8 10:15:44 2008 Subject: cvs commit: src/sys/netinet6 udp6_usrreq.c Message-ID: <200807081015.m68AFa32019475@repoman.freebsd.org> rwatson 2008-07-08 10:15:23 UTC FreeBSD src repository Modified files: sys/netinet6 udp6_usrreq.c Log: SVN rev 180365 on 2008-07-08 10:15:23Z by rwatson Use soreceive_dgram() and sosend_dgram() with UDPv6, as we do with UDPv4. Tested by: ps MFC after: 3 months Revision Changes Path 1.90 +2 -0 src/sys/netinet6/udp6_usrreq.c From cokane at FreeBSD.org Tue Jul 8 12:17:46 2008 From: cokane at FreeBSD.org (Coleman Kane) Date: Tue Jul 8 12:17:58 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c In-Reply-To: <200807081211.32659.doconnor@gsoft.com.au> References: <200807032326.m63NQCdW044654@repoman.freebsd.org> <20080707195209.GD95574@elvis.mu.org> <1215462821.2033.17.camel@localhost> <200807081211.32659.doconnor@gsoft.com.au> Message-ID: <1215519317.2033.25.camel@localhost> On Tue, 2008-07-08 at 12:11 +0930, Daniel O'Connor wrote: > On Tue, 8 Jul 2008, Coleman Kane wrote: > > Hopefully people will begin to incorporate "svn blame" into their > > work-flows. > > A 2 line comment would be much simpler and more likely to actually work > IMO :) > Yeah, commenting such things when non-obvious is always a good idea too, not trying to discount that one bit. Just wanted to suggest that more people try using svn blame/annotate, and this is a good example of why it exists. -- Coleman Kane -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080708/ed24d16f/attachment.pgp From sson at FreeBSD.org Tue Jul 8 15:36:56 2008 From: sson at FreeBSD.org (Stacey Son) Date: Tue Jul 8 15:37:03 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200807081536.m68FauZJ069047@repoman.freebsd.org> sson 2008-07-08 15:36:44 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: SVN rev 180366 on 2008-07-08 15:36:44Z by sson Added myself to the src committers graph. Approved by: jb (mentor) Revision Changes Path 1.80 +3 -0 src/share/misc/committers-src.dot From sson at FreeBSD.org Tue Jul 8 15:44:14 2008 From: sson at FreeBSD.org (Stacey Son) Date: Tue Jul 8 15:44:26 2008 Subject: cvs commit: src/usr.bin/calendar/calendars calendar.freebsd Message-ID: <200807081544.m68FiEJt070065@repoman.freebsd.org> sson 2008-07-08 15:43:54 UTC FreeBSD src repository Modified files: usr.bin/calendar/calendars calendar.freebsd Log: SVN rev 180367 on 2008-07-08 15:43:54Z by sson Added my birthday to the FreeBSD calendar. Approved by: jb (mentor) Revision Changes Path 1.242 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From rwatson at FreeBSD.org Tue Jul 8 17:23:18 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 8 17:23:24 2008 Subject: cvs commit: src/sys/netinet in_pcb.h Message-ID: <200807081723.m68HNHtF092717@repoman.freebsd.org> rwatson 2008-07-08 17:22:59 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.h Log: SVN rev 180368 on 2008-07-08 17:22:59Z by rwatson Provide some initial chicken-scratching annotations of locking for struct inpcb. Prodded by: bz MFC after: 3 days Revision Changes Path 1.107 +59 -27 src/sys/netinet/in_pcb.h From lulf at FreeBSD.org Tue Jul 8 17:35:04 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Tue Jul 8 17:35:10 2008 Subject: cvs commit: src/lib/libgeom geom_ctl.c geom_getxml.c geom_xml2tree.c Message-ID: <200807081735.m68HZ3bD093856@repoman.freebsd.org> lulf 2008-07-08 17:34:50 UTC FreeBSD src repository Modified files: lib/libgeom geom_ctl.c geom_getxml.c geom_xml2tree.c Log: SVN rev 180369 on 2008-07-08 17:34:50Z by lulf - Simplify the procedure of retrieving XML-data from the kernel. - Fix a number of potential memory leaks in libgeom related to doing realloc without freeing old pointer if things go wrong. - Fix a number of places in libgeom where malloc and calloc return values were not checked. - Check malloc return value and provide sufficient warning messages when XML parsing fails. PR: kern/83464 Submitted by: Dan Lukes Approved by: kib (mentor) Revision Changes Path 1.5 +16 -6 src/lib/libgeom/geom_ctl.c 1.3 +13 -19 src/lib/libgeom/geom_getxml.c 1.6 +36 -1 src/lib/libgeom/geom_xml2tree.c From gonzo at FreeBSD.org Tue Jul 8 18:21:51 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Tue Jul 8 18:22:02 2008 Subject: cvs commit: src/sys/netgraph ng_iface.c ng_ip_input.c Message-ID: <200807081821.m68ILoNb098977@repoman.freebsd.org> gonzo 2008-07-08 18:21:44 UTC FreeBSD src repository Modified files: sys/netgraph ng_iface.c ng_ip_input.c Log: SVN rev 180370 on 2008-07-08 18:21:44Z by gonzo Queue decapsulated packed instead of performing direct dispatch. Some execution pathes might hit stack limit under certain circumstances (e.g. ng_mppc). PR: kern/125314 Reported by: Illya Klymov Revision Changes Path 1.49 +1 -1 src/sys/netgraph/ng_iface.c 1.5 +1 -1 src/sys/netgraph/ng_ip_input.c From bz at FreeBSD.org Tue Jul 8 18:41:52 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Tue Jul 8 18:41:58 2008 Subject: cvs commit: src/sys/netinet6 in6_pcb.c in6_src.c ip6_var.h raw_ip6.c udp6_usrreq.c Message-ID: <200807081841.m68IfpWL001004@repoman.freebsd.org> bz 2008-07-08 18:41:36 UTC FreeBSD src repository Modified files: sys/netinet6 in6_pcb.c in6_src.c ip6_var.h raw_ip6.c udp6_usrreq.c Log: SVN rev 180371 on 2008-07-08 18:41:36Z by bz Change the parameters to in6_selectsrc(): - pass in the inp instead of both in6p_moptions and laddr. - pass in cred for upcoming prison checks. Reviewed by: rwatson Revision Changes Path 1.91 +3 -2 src/sys/netinet6/in6_pcb.c 1.52 +11 -4 src/sys/netinet6/in6_src.c 1.43 +3 -3 src/sys/netinet6/ip6_var.h 1.80 +4 -4 src/sys/netinet6/raw_ip6.c 1.91 +2 -2 src/sys/netinet6/udp6_usrreq.c From gonzo at FreeBSD.org Tue Jul 8 20:19:54 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Tue Jul 8 20:20:06 2008 Subject: cvs commit: src/sys/netgraph ng_iface.c ng_ip_input.c Message-ID: <200807082019.m68KJsE9012147@repoman.freebsd.org> gonzo 2008-07-08 20:19:43 UTC FreeBSD src repository Modified files: sys/netgraph ng_iface.c ng_ip_input.c Log: SVN rev 180372 on 2008-07-08 20:19:43Z by gonzo Back out r180370. It was not discussed with subsystem maintainers. Revision Changes Path 1.50 +1 -1 src/sys/netgraph/ng_iface.c 1.6 +1 -1 src/sys/netgraph/ng_ip_input.c From alc at FreeBSD.org Tue Jul 8 22:59:29 2008 From: alc at FreeBSD.org (Alan Cox) Date: Tue Jul 8 22:59:40 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h vmparam.h Message-ID: <200807082259.m68MxRuf036850@repoman.freebsd.org> alc 2008-07-08 22:59:17 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include pmap.h vmparam.h Log: SVN rev 180373 on 2008-07-08 22:59:17Z by alc Eliminate pmap_growkernel()'s dependence on create_pagetables() preallocating page directory pages from VM_MIN_KERNEL_ADDRESS through the end of the kernel's bss. Specifically, the dependence was in pmap_growkernel()'s one- time initialization of kernel_vm_end, not in its main body. (I could not, however, resist the urge to optimize the main body.) Reduce the number of preallocated page directory pages to just those needed to support NKPT page table pages. (In fact, this allows me to revert a couple of my earlier changes to create_pagetables().) Revision Changes Path 1.627 +30 -25 src/sys/amd64/amd64/pmap.c 1.146 +2 -2 src/sys/amd64/include/pmap.h 1.56 +2 -2 src/sys/amd64/include/vmparam.h From edwin at FreeBSD.org Tue Jul 8 23:51:48 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Jul 8 23:51:54 2008 Subject: cvs commit: src/sys/kern link_elf.c link_elf_obj.c Message-ID: <200807082351.m68NpiNO042239@repoman.freebsd.org> edwin 2008-07-08 23:51:38 UTC FreeBSD src repository Modified files: sys/kern link_elf.c link_elf_obj.c Log: SVN rev 180374 on 2008-07-08 23:51:38Z by edwin Improve the output of kldload(8) to show which module can't be loaded. Was: kldload: Unsupported file type Is now: kldload: /boot/modules/test.ko: Unsupported file type PR: kern/121276 Submitted by: Edwin Groothuis Approved by: bde (mentor) MFC after: 1 week Revision Changes Path 1.98 +14 -11 src/sys/kern/link_elf.c 1.101 +12 -9 src/sys/kern/link_elf_obj.c From cokane at FreeBSD.org Wed Jul 9 00:11:06 2008 From: cokane at FreeBSD.org (Coleman Kane) Date: Wed Jul 9 00:11:17 2008 Subject: cvs commit: src/sys/dev/if_ndis if_ndis.c Message-ID: <200807090011.m690B4dL045105@repoman.freebsd.org> cokane 2008-07-09 00:10:55 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c Log: SVN rev 180375 on 2008-07-09 00:10:55Z by cokane Fix a mutex LOR introduced by the conversion of if_ndis from spinlocks to mutexes and replacing the obsolete if_watchdog interface. The ndis_ticktask function calls into ieee80211_new_state under one condition with NDIS_LOCK held. The ieee80211_new_state would call into ndis_start in some cases too, resulting in the occasional case where ndis_start acquires NDIS_LOCK from inside the NDIS_LOCK held by ndis_ticktask. Obtained from: Paul B. Mahol MFC after: 1 week Revision Changes Path 1.143 +2 -0 src/sys/dev/if_ndis/if_ndis.c From yongari at FreeBSD.org Wed Jul 9 01:44:25 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 9 01:44:36 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807090144.m691iOMd063283@repoman.freebsd.org> yongari 2008-07-09 01:44:06 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 180376 on 2008-07-09 01:44:06Z by yongari Disable jumbo frame support for RTL810x fast ethernet controllers. Revision Changes Path 1.126 +2 -1 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Wed Jul 9 02:00:11 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 9 02:00:22 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807090200.m692069i064623@repoman.freebsd.org> yongari 2008-07-09 01:58:18 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180377 on 2008-07-09 01:58:18Z by yongari Add driver support for RTL8102E and RTL8102EL which is the second generation of RTL810x PCIe fast ethernet controller. Note, Tx/Rx descriptor format is different from that of first generation of RTL8101E series. Jumbo frame is not supported for RTL810x family. Tested by: NAGATA Shinya ( maya AT negeta DOT com ) Revision Changes Path 1.127 +8 -1 src/sys/dev/re/if_re.c 1.80 +2 -0 src/sys/pci/if_rlreg.h From alc at FreeBSD.org Wed Jul 9 06:04:18 2008 From: alc at FreeBSD.org (Alan Cox) Date: Wed Jul 9 06:04:31 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807090604.m6964IJn001845@repoman.freebsd.org> alc 2008-07-09 06:04:10 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180378 on 2008-07-09 06:04:10Z by alc Fix lines that are too long in pmap_growkernel() by substituting shorter but equivalent expressions. Revision Changes Path 1.628 +3 -3 src/sys/amd64/amd64/pmap.c From phk at FreeBSD.org Wed Jul 9 06:59:22 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Wed Jul 9 06:59:29 2008 Subject: cvs commit: src/share/zoneinfo leapseconds Message-ID: <200807090659.m696xKtA006757@repoman.freebsd.org> phk 2008-07-09 06:59:14 UTC FreeBSD src repository Modified files: share/zoneinfo leapseconds Log: SVN rev 180379 on 2008-07-09 06:59:14Z by phk Leapsecond at end of december. Revision Changes Path 1.22 +17 -6 src/share/zoneinfo/leapseconds From sobomax at FreeBSD.org Wed Jul 9 07:38:10 2008 From: sobomax at FreeBSD.org (Maxim Sobolev) Date: Wed Jul 9 07:38:17 2008 Subject: cvs commit: src/usr.sbin/syslogd syslog.conf.5 syslogd.c Message-ID: <200807090738.m697cATn011370@repoman.freebsd.org> sobomax 2008-07-09 07:37:54 UTC FreeBSD src repository Modified files: usr.sbin/syslogd syslog.conf.5 syslogd.c Log: SVN rev 180380 on 2008-07-09 07:37:54Z by sobomax Allow comment to be placed at the end of a configuration line. MFC after: 2 weeks Revision Changes Path 1.45 +14 -0 src/usr.sbin/syslogd/syslog.conf.5 1.157 +11 -0 src/usr.sbin/syslogd/syslogd.c From danger at FreeBSD.org Wed Jul 9 14:04:45 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Wed Jul 9 14:04:51 2008 Subject: cvs commit: src/share/man/man9 style.9 Message-ID: <200807091404.m69E4jiC075715@repoman.freebsd.org> danger 2008-07-09 14:04:28 UTC FreeBSD src repository Modified files: share/man/man9 style.9 Log: SVN rev 180381 on 2008-07-09 14:04:28Z by danger - nested functions are a GCC extensions and should not be used Submitted by: gahr MFC after: 3 days Revision Changes Path 1.126 +3 -6 src/share/man/man9/style.9 From bzeeb-lists at lists.zabbadoz.net Wed Jul 9 14:45:08 2008 From: bzeeb-lists at lists.zabbadoz.net (Bjoern A. Zeeb) Date: Wed Jul 9 14:45:14 2008 Subject: cvs commit: src/etc network.subr In-Reply-To: <20080707160339.GB57420@lor.one-eyed-alien.net> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> <20080705155205.W57089@maildrop.int.zabbadoz.net> <20080707160339.GB57420@lor.one-eyed-alien.net> Message-ID: <20080709143845.C57089@maildrop.int.zabbadoz.net> On Mon, 7 Jul 2008, Brooks Davis wrote: Hi, >>> Modified files: >>> etc network.subr >>> Log: >>> Emit a warning when the network_interfaces variable is not set to AUTO. >> >> why do we have this warning and why do we no longer want to support >> anything but auto? > > Because network_interfaces provides no useful functionality and needless > added complexity. If you want an interface to be configured, set an > ifconfig_ variable and make sure the interface exists by the time > rc.d/netif is run (by configuring your kernel or /boot/loader.conf > correctly) or add it to the appropriate wlans_, gif_interfaces, > cloned_interfaces, etc list. If you don't want it configured make sure > there isn't a ifconfig_ variable set. Assume you have a wlan interface and a wired one. By default one or none comes up and you do sh /etc/rc.d/netif {start,stop} iface (,etc.) to switch between or enabling the second one without having all other different kinds of problems and things to manually configure. You can still have both fully configured in rc.conf just not automatically enabled. I really like this for wireless when I am travelling for example. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From remko at FreeBSD.org Wed Jul 9 15:06:47 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Jul 9 15:06:59 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200807091506.m69F6kXq081999@repoman.freebsd.org> remko 2008-07-09 15:06:41 UTC FreeBSD src repository Modified files: sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 180382 on 2008-07-09 15:06:41Z by remko Add support for the ICH9 in non AHCI mode (RAID mode). Submitted by: Andrey V. Elsukov Tested by: Vitalij L. Fadeev Approved by: imp (mentor, implicit) MFC after: 1 week Revision Changes Path 1.221 +1 -0 src/sys/dev/ata/ata-chipset.c 1.87 +1 -0 src/sys/dev/ata/ata-pci.h From remko at FreeBSD.org Wed Jul 9 15:08:04 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Jul 9 15:08:10 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200807091508.m69F824T082119@repoman.freebsd.org> remko 2008-07-09 15:07:53 UTC FreeBSD src repository Modified files: sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 180383 on 2008-07-09 15:07:53Z by remko Add new device id for ICH8M, which supports greater than UDMA33 mode when it worked as generic IDE. PR: 125422 Submitted by: Andrey V. Elsukov Approved by: imp (mentor, implicit) MFC after: 1 week Revision Changes Path 1.222 +1 -0 src/sys/dev/ata/ata-chipset.c 1.88 +1 -0 src/sys/dev/ata/ata-pci.h From remko at FreeBSD.org Wed Jul 9 15:11:04 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Jul 9 15:11:16 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c Message-ID: <200807091511.m69FB4O6082428@repoman.freebsd.org> remko 2008-07-09 15:10:53 UTC FreeBSD src repository Modified files: sys/dev/ata ata-chipset.c Log: SVN rev 180384 on 2008-07-09 15:10:53Z by remko Driver failed to allocate MMIO resources. Attached patch adds a fallback path. It uses generic IDE facilities if sii-specific allocations failed PR: 125421 Submitted by: Andrey V. Elsukov Approved by: imp (mentor, implicit) MFC after: 1 week Revision Changes Path 1.223 +9 -4 src/sys/dev/ata/ata-chipset.c From brooks at FreeBSD.org Wed Jul 9 15:38:36 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Wed Jul 9 15:38:48 2008 Subject: cvs commit: src/etc network.subr In-Reply-To: <20080709143845.C57089@maildrop.int.zabbadoz.net> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> <20080705155205.W57089@maildrop.int.zabbadoz.net> <20080707160339.GB57420@lor.one-eyed-alien.net> <20080709143845.C57089@maildrop.int.zabbadoz.net> Message-ID: <20080709153904.GA83313@lor.one-eyed-alien.net> On Wed, Jul 09, 2008 at 02:43:23PM +0000, Bjoern A. Zeeb wrote: > On Mon, 7 Jul 2008, Brooks Davis wrote: > > Hi, > >>>> Modified files: >>>> etc network.subr >>>> Log: >>>> Emit a warning when the network_interfaces variable is not set to AUTO. >>> >>> why do we have this warning and why do we no longer want to support >>> anything but auto? >> >> Because network_interfaces provides no useful functionality and needless >> added complexity. If you want an interface to be configured, set an >> ifconfig_ variable and make sure the interface exists by the time >> rc.d/netif is run (by configuring your kernel or /boot/loader.conf >> correctly) or add it to the appropriate wlans_, gif_interfaces, >> cloned_interfaces, etc list. If you don't want it configured make sure >> there isn't a ifconfig_ variable set. > > Assume you have a wlan interface and a wired one. By default one or > none comes up and you do sh /etc/rc.d/netif {start,stop} iface (,etc.) > to switch between or enabling the second one without having all other > different kinds of problems and things to manually configure. You can > still have both fully configured in rc.conf just not automatically > enabled. > I really like this for wireless when I am travelling for example. Add NOAUTO to both ifconfig_ lines and neither will come up unless you manually bring them up. -- Brooks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080709/2ae0c70b/attachment.pgp From das at FreeBSD.ORG Wed Jul 9 15:46:56 2008 From: das at FreeBSD.ORG (David Schultz) Date: Wed Jul 9 15:47:08 2008 Subject: cvs commit: src/share/man/man9 style.9 In-Reply-To: <200807091404.m69E4jiC075715@repoman.freebsd.org> References: <200807091404.m69E4jiC075715@repoman.freebsd.org> Message-ID: <20080709154945.GA47824@zim.MIT.EDU> On Wed, Jul 09, 2008, Daniel Gerzo wrote: > -Do not declare functions inside other functions; ANSI C says that > -such declarations have file scope regardless of the nesting of the > -declaration. > -Hiding file declarations in what appears to be a local > -scope is undesirable and will elicit complaints from a good compiler. > +Do not declare functions inside other functions; nested functions are > +a GCC extension and are not permitted by ANSI C. We use lots of extensions that aren't strict ANSI C. I think the real reason not to use them is that gcc's nested functions are particularly unwieldily. First, they're not true lexical closures (and can't be), which makes them much less useful. Second, they are unsupported unless a number of assumptions are met, e.g., must have an executable stack, must be able to invalidate the I cache from userland, and must not have separate I and D address spaces. Nested functions abominable enough that Apple disabled the feature in OS X's build of gcc --- and the Sun and Intel compilers don't support them, even though Intel claims nearly complete gcc compatibility. From rwatson at FreeBSD.org Wed Jul 9 15:49:26 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 9 15:49:37 2008 Subject: cvs commit: src/sys/net raw_cb.c raw_cb.h raw_usrreq.c rtsock.c src/sys/netipsec keysock.c Message-ID: <200807091549.m69FnQ9o086583@repoman.freebsd.org> rwatson 2008-07-09 15:48:16 UTC FreeBSD src repository Modified files: sys/net raw_cb.c raw_cb.h raw_usrreq.c rtsock.c sys/netipsec keysock.c Log: SVN rev 180385 on 2008-07-09 15:48:16Z by rwatson Remove unused support for local and foreign addresses in generic raw socket support. These utility routines are used only for routing and pfkey sockets, neither of which have a notion of address, so were required to mock up fake socket addresses to avoid connection requirements for applications that did not specify their own fake addresses (most of them). Quite a bit of the removed code is #ifdef notdef, since raw sockets don't support bind() or connect() in practice. Removing this simplifies the raw socket implementation, and removes two (commented out) uses of dtom(9). Fake addresses passed to sendto(2) by applications are ignored for compatibility reasons, but this is now done in a more consistent way (and with a comment). Possibly, EINVAL could be returned here in the future if it is determined that no applications depend on the semantic inconsistency of specifying a destination address for a protocol without address support, but this will require some amount of careful surveying. NB: This does not affect netinet, netinet6, or other wire protocol raw sockets, which provide their own independent infrastructure with control block address support specific to the protocol. MFC after: 3 weeks Reviewed by: bz Revision Changes Path 1.37 +0 -37 src/sys/net/raw_cb.c 1.22 +1 -5 src/sys/net/raw_cb.h 1.46 +30 -71 src/sys/net/raw_usrreq.c 1.148 +1 -3 src/sys/net/rtsock.c 1.21 +0 -3 src/sys/netipsec/keysock.c From bzeeb-lists at lists.zabbadoz.net Wed Jul 9 16:20:13 2008 From: bzeeb-lists at lists.zabbadoz.net (Bjoern A. Zeeb) Date: Wed Jul 9 16:20:25 2008 Subject: cvs commit: src/etc network.subr In-Reply-To: <20080709153904.GA83313@lor.one-eyed-alien.net> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> <20080705155205.W57089@maildrop.int.zabbadoz.net> <20080707160339.GB57420@lor.one-eyed-alien.net> <20080709143845.C57089@maildrop.int.zabbadoz.net> <20080709153904.GA83313@lor.one-eyed-alien.net> Message-ID: <20080709161734.V57089@maildrop.int.zabbadoz.net> On Wed, 9 Jul 2008, Brooks Davis wrote: Hi, > Add NOAUTO to both ifconfig_ lines and neither will come up unless > you manually bring them up. Okay, we are getting closer. I am fine if the printf will go away soon then;-) I think what's left then is fix network_ipv6 to not use a homegrown ifconfig -l but the same framework. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From bz at FreeBSD.org Wed Jul 9 16:33:24 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Wed Jul 9 16:33:35 2008 Subject: cvs commit: src/sys/netinet6 in6_src.c Message-ID: <200807091633.m69GXNMt091334@repoman.freebsd.org> bz 2008-07-09 16:33:21 UTC FreeBSD src repository Modified files: sys/netinet6 in6_src.c Log: SVN rev 180386 on 2008-07-09 16:33:21Z by bz Document required locking in in6_sleectsrc() in case an inp is passed in by adding an assert. Requested by: rwatson Reviewed by: rwatson Revision Changes Path 1.53 +4 -2 src/sys/netinet6/in6_src.c From rrs at FreeBSD.org Wed Jul 9 16:46:19 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Wed Jul 9 16:46:31 2008 Subject: cvs commit: src/sys/netinet sctp_asconf.c sctp_asconf.h sctp_bsd_addr.c sctp_bsd_addr.h sctp_cc_functions.h sctp_constants.h sctp_crc32.h sctp_indata.c sctp_indata.h sctp_input.c sctp_input.h sctp_os_bsd.h sctp_output.c ... Message-ID: <200807091646.m69GkJCs092611@repoman.freebsd.org> rrs 2008-07-09 16:45:30 UTC FreeBSD src repository Modified files: sys/netinet sctp_asconf.c sctp_asconf.h sctp_bsd_addr.c sctp_bsd_addr.h sctp_cc_functions.h sctp_constants.h sctp_crc32.h sctp_indata.c sctp_indata.h sctp_input.c sctp_input.h sctp_os_bsd.h sctp_output.c sctp_output.h sctp_pcb.c sctp_pcb.h sctp_sysctl.h sctp_timer.c sctp_timer.h sctp_uio.h sctp_usrreq.c sctp_var.h sctputil.c sctputil.h sys/netinet6 sctp6_usrreq.c sctp6_var.h Log: SVN rev 180387 on 2008-07-09 16:45:30Z by rrs 1) Adds the rest of the VIMAGE change macros 2) Adds some __UserSpace__ on some of the common defines that the user space code needs 3) Fixes a bug when we send up data to a user that failed. We need to a) trim off the data chunk headers, if present, and b) make sure the frag bit is communicated properly for the msgs coming off the stream queues... i.e. we see if some of the msg has been taken. Obtained from: jeli contributed the VIMAGE changes on this pass Thanks Julain! Revision Changes Path 1.38 +3 -1 src/sys/netinet/sctp_asconf.c 1.12 +1 -1 src/sys/netinet/sctp_asconf.h 1.20 +8 -5 src/sys/netinet/sctp_bsd_addr.c 1.9 +1 -1 src/sys/netinet/sctp_bsd_addr.h 1.3 +1 -1 src/sys/netinet/sctp_cc_functions.h 1.37 +3 -1 src/sys/netinet/sctp_constants.h 1.4 +1 -1 src/sys/netinet/sctp_crc32.h 1.52 +4 -0 src/sys/netinet/sctp_indata.c 1.10 +1 -1 src/sys/netinet/sctp_indata.h 1.73 +6 -2 src/sys/netinet/sctp_input.c 1.9 +1 -1 src/sys/netinet/sctp_input.h 1.38 +23 -0 src/sys/netinet/sctp_os_bsd.h 1.73 +17 -13 src/sys/netinet/sctp_output.c 1.15 +4 -1 src/sys/netinet/sctp_output.h 1.71 +11 -17 src/sys/netinet/sctp_pcb.c 1.37 +2 -1 src/sys/netinet/sctp_pcb.h 1.16 +1 -1 src/sys/netinet/sctp_sysctl.h 1.36 +2 -4 src/sys/netinet/sctp_timer.c 1.8 +1 -1 src/sys/netinet/sctp_timer.h 1.32 +2 -2 src/sys/netinet/sctp_uio.h 1.58 +1 -4 src/sys/netinet/sctp_usrreq.c 1.27 +1 -1 src/sys/netinet/sctp_var.h 1.79 +25 -11 src/sys/netinet/sctputil.c 1.33 +1 -1 src/sys/netinet/sctputil.h 1.46 +4 -4 src/sys/netinet6/sctp6_usrreq.c 1.10 +1 -0 src/sys/netinet6/sctp6_var.h From imp at FreeBSD.org Wed Jul 9 16:48:07 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Jul 9 16:48:15 2008 Subject: cvs commit: src/sys/dev/cs if_cs.c if_csreg.h Message-ID: <200807091648.m69Gm7gu002162@repoman.freebsd.org> imp 2008-07-09 16:47:55 UTC FreeBSD src repository Modified files: sys/dev/cs if_cs.c if_csreg.h Log: SVN rev 180388 on 2008-07-09 16:47:55Z by imp Improve the EEPROM parsing, based on finding a datasheet that describes it in detail. When setting media, don't error out when a specific media is selected. # Note: There may be some issues still here since the EtherJet PC Card doesn't # conform to the datasheet. Many different kinds of dongles can be plugged in # and it is unknown how to ask which one it is. Also, add a /* bad! */ comment to a 1/2 second delay after we set the DC/DC parameters. This should be a *sleep of some sort for !cold. Fortunately it is the only one and is only used when setting media, so the benefit from removing it is small. Unfortunately, it likely serves as an exemplar of good programming techniques, which it isn't. Revision Changes Path 1.54 +6 -6 src/sys/dev/cs/if_cs.c 1.8 +40 -31 src/sys/dev/cs/if_csreg.h From remko at FreeBSD.org Wed Jul 9 17:00:23 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Wed Jul 9 17:00:34 2008 Subject: cvs commit: src/sys/cam/scsi scsi_da.c Message-ID: <200807091700.m69H0NGk003258@repoman.freebsd.org> remko 2008-07-09 17:00:14 UTC FreeBSD src repository Modified files: sys/cam/scsi scsi_da.c Log: SVN rev 180389 on 2008-07-09 17:00:14Z by remko Add quirk for the Samsung YP-U3 PR: 125398 Submitted by: Tino Engel Approved by: imp (mentor, implicit) MFC after: 1 week Revision Changes Path 1.227 +8 -0 src/sys/cam/scsi/scsi_da.c From rik at inse.ru Wed Jul 9 18:30:55 2008 From: rik at inse.ru (Roman Kurakin) Date: Wed Jul 9 18:31:07 2008 Subject: cvs commit: src/share/man/man9 style.9 In-Reply-To: <20080709154945.GA47824@zim.MIT.EDU> References: <200807091404.m69E4jiC075715@repoman.freebsd.org> <20080709154945.GA47824@zim.MIT.EDU> Message-ID: <4874FE82.5090809@localhost.inse.ru> David Schultz wrote: > On Wed, Jul 09, 2008, Daniel Gerzo wrote: > >> -Do not declare functions inside other functions; ANSI C says that >> -such declarations have file scope regardless of the nesting of the >> -declaration. >> -Hiding file declarations in what appears to be a local >> -scope is undesirable and will elicit complaints from a good compiler. >> +Do not declare functions inside other functions; nested functions are >> +a GCC extension and are not permitted by ANSI C. >> > > We use lots of extensions that aren't strict ANSI C. I think the > real reason not to use them is that gcc's nested functions are > particularly unwieldily. First, they're not true lexical closures > (and can't be), which makes them much less useful. Second, they > are unsupported unless a number of assumptions are met, e.g., must > have an executable stack, must be able to invalidate the I cache > from userland, and must not have separate I and D address spaces. > Nested functions abominable enough that Apple disabled the feature > in OS X's build of gcc --- and the Sun and Intel compilers don't > support them, even though Intel claims nearly complete gcc > compatibility. > I think from non-technical side, nested functions are not expected by most programmers. From my point of view there are many new extensions that a good for quick hacking, but not for the production code. rik From rwatson at FreeBSD.org Wed Jul 9 18:40:10 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 9 18:40:24 2008 Subject: cvs commit: src/sys/net raw_cb.c Message-ID: <200807091840.m69Ie9OQ020884@repoman.freebsd.org> rwatson 2008-07-09 18:39:55 UTC FreeBSD src repository Modified files: sys/net raw_cb.c Log: SVN rev 180390 on 2008-07-09 18:39:55Z by rwatson Add sysctl subtree net.raw for generic raw socket infrastructure; expose default send and receive socket buffer sizes using sysctls so that they can be administered centrally. Reviewed by: bz MFC after: 3 weeks Revision Changes Path 1.38 +11 -2 src/sys/net/raw_cb.c From rwatson at FreeBSD.org Wed Jul 9 18:41:41 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 9 18:41:51 2008 Subject: cvs commit: src/sys/net raw_cb.c Message-ID: <200807091841.m69IfeHd021073@repoman.freebsd.org> rwatson 2008-07-09 18:41:31 UTC FreeBSD src repository Modified files: sys/net raw_cb.c Log: SVN rev 180391 on 2008-07-09 18:41:31Z by rwatson Rather than checking for a NULL so_pcb in raw_attach(), assert that it's non-NULL, as all callers can and should already do the required checking. Update comments a bit more to talk about rawcb allocation for consumers. Reviewed by: bz MFC after: 3 weeks Revision Changes Path 1.39 +6 -5 src/sys/net/raw_cb.c From bz at FreeBSD.org Wed Jul 9 19:03:12 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Wed Jul 9 19:03:23 2008 Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200807091903.m69J3Bqa024082@repoman.freebsd.org> bz 2008-07-09 19:03:06 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c Log: SVN rev 180392 on 2008-07-09 19:03:06Z by bz For consistency with the rest of the function use the locally cached pointer pcbinfo rather than inp->inp_pcbinfo. MFC after: 3 weeks Revision Changes Path 1.207 +1 -1 src/sys/netinet/in_pcb.c From peter at FreeBSD.org Wed Jul 9 19:44:43 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Wed Jul 9 19:44:55 2008 Subject: cvs commit: src/sys/amd64/amd64 machdep.c mp_machdep.c Message-ID: <200807091944.m69JigbB027629@repoman.freebsd.org> peter 2008-07-09 19:44:37 UTC FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c mp_machdep.c Log: SVN rev 180393 on 2008-07-09 19:44:37Z by peter Band-aid a problem with 32 bit selector setup. Initialize %ds, %es, and %fs during CPU startup. Otherwise a garbage value could leak to a 32-bit process if a process migrated to a different CPU after exec and the new CPU had never exec'd a 32-bit process. A more complete fix is needed, but this mitigates the most frequent manifestations. Obtained from: ups Revision Changes Path 1.687 +4 -0 src/sys/amd64/amd64/machdep.c 1.291 +5 -1 src/sys/amd64/amd64/mp_machdep.c From gnn at FreeBSD.org Wed Jul 9 22:34:01 2008 From: gnn at FreeBSD.org (George V. Neville-Neil) Date: Wed Jul 9 22:34:12 2008 Subject: cvs commit: src/tools/tools/mctest Makefile mcgrab.1 mcgrab.cc Message-ID: <200807092234.m69MY0Tg085221@repoman.freebsd.org> gnn 2008-07-09 22:33:46 UTC FreeBSD src repository Modified files: tools/tools/mctest Makefile Added files: tools/tools/mctest mcgrab.1 mcgrab.cc Log: SVN rev 180394 on 2008-07-09 22:33:46Z by gnn Add a new program to the multicast test suite. The mcgrab program is used to grab and hold some number of multicast addresses in order to test what happens when an interface goes over the number of multicast addresses it can filter in hardware. Revision Changes Path 1.2 +3 -1 src/tools/tools/mctest/Makefile 1.1 +78 -0 src/tools/tools/mctest/mcgrab.1 (new) 1.1 +189 -0 src/tools/tools/mctest/mcgrab.cc (new) From danger at FreeBSD.org Wed Jul 9 23:10:55 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Wed Jul 9 23:11:30 2008 Subject: cvs commit: src/share/man/man9 style.9 In-Reply-To: <4874FE82.5090809@localhost.inse.ru> References: <200807091404.m69E4jiC075715@repoman.freebsd.org> <20080709154945.GA47824@zim.MIT.EDU> <4874FE82.5090809@localhost.inse.ru> Message-ID: <753889164.20080710011045@rulez.sk> Hello guys, Wednesday, July 9, 2008, 8:08:02 PM, has been written: >>> -Do not declare functions inside other functions; ANSI C says that >>> -such declarations have file scope regardless of the nesting of the >>> -declaration. >>> -Hiding file declarations in what appears to be a local >>> -scope is undesirable and will elicit complaints from a good compiler. >>> +Do not declare functions inside other functions; nested functions are >>> +a GCC extension and are not permitted by ANSI C. >>> >> >> We use lots of extensions that aren't strict ANSI C. I think the >> real reason not to use them is that gcc's nested functions are >> particularly unwieldily. First, they're not true lexical closures >> (and can't be), which makes them much less useful. Second, they >> are unsupported unless a number of assumptions are met, e.g., must >> have an executable stack, must be able to invalidate the I cache >> from userland, and must not have separate I and D address spaces. >> Nested functions abominable enough that Apple disabled the feature >> in OS X's build of gcc --- and the Sun and Intel compilers don't >> support them, even though Intel claims nearly complete gcc >> compatibility. >> > I think from non-technical side, nested functions are not expected by > most programmers. > From my point of view there are many new extensions that a good for > quick hacking, but > not for the production code. So may I leave my change in the current state, or do you guys want me to do some additional changes? -- Best regards, Daniel mailto:danger@FreeBSD.org From emax at FreeBSD.org Thu Jul 10 00:15:49 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Thu Jul 10 00:15:55 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/common ng_bluetooth.c src/sys/netgraph/bluetooth/include ng_bluetooth.h ng_btsocket.h Message-ID: <200807100015.m6A0Fnok095575@repoman.freebsd.org> emax 2008-07-10 00:15:29 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/common ng_bluetooth.c sys/netgraph/bluetooth/include ng_bluetooth.h ng_btsocket.h Log: SVN rev 180399 on 2008-07-10 00:15:29Z by emax Get in some basic infrastructure for Bluetooth SCO support. MFC after: 3 months Revision Changes Path 1.8 +38 -0 src/sys/netgraph/bluetooth/common/ng_bluetooth.c 1.6 +2 -0 src/sys/netgraph/bluetooth/include/ng_bluetooth.h 1.9 +19 -0 src/sys/netgraph/bluetooth/include/ng_btsocket.h From yongari at FreeBSD.org Thu Jul 10 01:23:55 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 01:24:02 2008 Subject: cvs commit: src/sys/dev/age if_age.c if_agereg.h if_agevar.h Message-ID: <200807100123.m6A1NpjS011524@repoman.freebsd.org> yongari 2008-07-10 01:23:45 UTC FreeBSD src repository Added files: (Branch: RELENG_7) sys/dev/age if_age.c if_agereg.h if_agevar.h Log: SVN rev 180403 on 2008-07-10 01:23:45Z by yongari MFC r179100 Add age(4), a driver for Attansic/Atheros L1 gigabit ethernet controller. L1 has several threshold/timer registers and they seem to require careful tuned parameters to get best performance. Datasheet for L1 is not available to open source driver writers so age(4) focus on stability and correctness of basic Tx/Rx operation. ATM the performance of age(4) is far from optimal which in turn means there are mis-programmed registers or incorrectly configured registers. Currently age(4) supports all known hardware assistance including - MSI support. - TCP Segmentation Offload. - Hardware VLAN tag insertion/stripping. - TCP/UDP checksum offload. - Interrupt moderation. - Hardware statistics counter support. - Jumbo frame support. - WOL support. L1 gigabit ethernet controller is mainly found on ASUS motherboards. Note, it seems that there are other variants of hardware as known as L2(Fast ethernet) and newer gigabit ethernet (AR81xx) from Atheros. These are not supported by age(4) and requires a seperate driver. Big thanks to all people who reported feedback or tested patches. Tested by: kevlo, bsam, Francois Ranchin < fyr AT fyrou DOT net > Thomas Nystroem < thn AT saeab DOT se > Roman Pogosyan < asternetadmin AT gmail DOT com > Derek Tattersal < dlt AT mebtel DOT net > Oliver Seitz < karlkiste AT yahoo DOT com > Revision Changes Path 1.2.2.1 +3356 -0 src/sys/dev/age/if_age.c (new) 1.1.2.1 +656 -0 src/sys/dev/age/if_agereg.h (new) 1.1.2.1 +272 -0 src/sys/dev/age/if_agevar.h (new) From edwin at FreeBSD.org Thu Jul 10 01:32:24 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Jul 10 01:32:30 2008 Subject: cvs commit: src/usr.bin/ldd ldd.1 ldd.c Message-ID: <200807100132.m6A1WOuG012181@repoman.freebsd.org> edwin 2008-07-10 01:32:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/ldd ldd.1 ldd.c Log: SVN rev 180404 on 2008-07-10 01:32:08Z by edwin MFC of changes 180234-180236: On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them: [/] root@ed-exigent>ldd `which httpd` ldd: /usr/local/sbin/httpd: can't read program header ldd: /usr/local/sbin/httpd: not a dynamic executable But... [/] root@ed-exigent>LD_32_TRACE_LOADED_OBJECTS==1 `which httpd` libm.so.4 => /lib32//libm.so.4 (0x280c8000) libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x280de000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x280f2000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28110000) libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x281fd000) libcrypt.so.3 => /lib32//libcrypt.so.3 (0x2821d000) libpthread.so.2 => not found (0x0) libc.so.6 => /lib32//libc.so.6 (0x28235000) libpthread.so.2 => /usr/lib32/libpthread.so.2 (0x2830d000) Added support in ldd(1) for the LD_32_xxx environment variables if the architecture of the machine is >32 bits. If we ever go to 128 bit architectures this excercise will have to be repeated but thanks to earlier commits today it will be relative simple. PR: bin/124906 Submitted by: edwin Approved by: bde (mentor) Revision Changes Path 1.24.2.1 +6 -0 src/usr.bin/ldd/ldd.1 1.33.24.1 +211 -101 src/usr.bin/ldd/ldd.c From edwin at FreeBSD.org Thu Jul 10 01:33:58 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Jul 10 01:34:04 2008 Subject: cvs commit: src/usr.bin/ldd ldd.1 ldd.c Message-ID: <200807100133.m6A1XtST012346@repoman.freebsd.org> edwin 2008-07-10 01:33:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/ldd ldd.1 ldd.c Log: SVN rev 180405 on 2008-07-10 01:33:48Z by edwin MFC of changes 180234-180236: On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them: [/] root@ed-exigent>ldd `which httpd` ldd: /usr/local/sbin/httpd: can't read program header ldd: /usr/local/sbin/httpd: not a dynamic executable But... [/] root@ed-exigent>LD_32_TRACE_LOADED_OBJECTS==1 `which httpd` libm.so.4 => /lib32//libm.so.4 (0x280c8000) libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x280de000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x280f2000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28110000) libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x281fd000) libcrypt.so.3 => /lib32//libcrypt.so.3 (0x2821d000) libpthread.so.2 => not found (0x0) libc.so.6 => /lib32//libc.so.6 (0x28235000) libpthread.so.2 => /usr/lib32/libpthread.so.2 (0x2830d000) Added support in ldd(1) for the LD_32_xxx environment variables if the architecture of the machine is >32 bits. If we ever go to 128 bit architectures this excercise will have to be repeated but thanks to earlier commits today it will be relative simple. PR: bin/124906 Submitted by: edwin Approved by: bde (mentor) Revision Changes Path 1.23.12.2 +6 -0 src/usr.bin/ldd/ldd.1 1.33.14.1 +211 -101 src/usr.bin/ldd/ldd.c From yongari at FreeBSD.org Thu Jul 10 01:45:04 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 01:45:20 2008 Subject: cvs commit: src/sys/conf NOTES files src/sys/modules Makefile src/sys/modules/age Makefile Message-ID: <200807100145.m6A1j3O6013382@repoman.freebsd.org> yongari 2008-07-10 01:43:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf NOTES files sys/modules Makefile Added files: (Branch: RELENG_7) sys/modules/age Makefile Log: SVN rev 180406 on 2008-07-10 01:43:38Z by yongari MFC r179101 Hook up age(4) to the build. Revision Changes Path 1.1454.2.12 +3 -0 src/sys/conf/NOTES 1.1243.2.27 +1 -0 src/sys/conf/files 1.540.2.16 +1 -0 src/sys/modules/Makefile 1.1.2.1 +8 -0 src/sys/modules/age/Makefile (new) From mcdouga9 at egr.msu.edu Thu Jul 10 01:50:23 2008 From: mcdouga9 at egr.msu.edu (Adam McDougall) Date: Thu Jul 10 01:50:30 2008 Subject: cvs commit: src/sys/amd64/amd64 legacy.c src/sys/dev/acpica acpi.c src/sys/dev/cpufreq ichss.c src/sys/i386/i386 legacy.c In-Reply-To: <200806270351.m5R3p0iZ023807@repoman.freebsd.org> References: <200806270351.m5R3p0iZ023807@repoman.freebsd.org> Message-ID: <20080710013217.GP57161@egr.msu.edu> This commit (verified by binary search) causes my Sun Fire X4100 problems booting. I found it by upgrading a new 7-rel install recenty, and I have similar servers running a build from about 3 weeks ago without problem. I have not tried this on a X4100M2 yet. Upon comparing dmesg output, pci stuff is probed differently, and the obvious symptoms include probing up until "Timecounters tick every 1.000 msec" then after a few minutes I get stuff like: umass0: BBB reset failed, TIMEOUT umass1: CBI reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass1: CBI bulk-in stall clear failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass1: CBI bulk-out stall clear failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass1: CBI reset failed, TIMEOUT and eventually it arrives at a mount root prompt. This happens with or without cpufreq loaded from module. I have BIOS version 44 installed. It occurs with GENERIC from today but my 'broken' dmesg below is from a custom kernel config that I can provide if necessary. dmesg from 7.0-RELEASE: http://www.egr.msu.edu/~mcdouga9/dmesg-x4100-7rel.txt dmesg from today's src (after commit): http://www.egr.msu.edu/~mcdouga9/dmesg-x4100-7-20080709.txt This system was previously running 6.x and I am preparing it to replace an identical system with it, so I have some time to tackle this problem. I can provide remote access including console access if needed, or I can run suggested stuff. Please let me know if more information or cooperation from me is needed, thanks. On Fri, Jun 27, 2008 at 03:49:22AM +0000, John Baldwin wrote: jhb 2008-06-27 03:49:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 legacy.c sys/dev/acpica acpi.c sys/dev/cpufreq ichss.c sys/i386/i386 legacy.c Log: SVN rev 180056 on 2008-06-27 03:49:22Z by jhb MFC: Probe CPUs after the PCI hierarchy on i386, amd64, and ia64. This allows the cpufreq drivers to reliably use properties of PCI devices for quirks, etc. Revision Changes Path 1.61.2.1 +23 -12 src/sys/amd64/amd64/legacy.c 1.243.2.2 +22 -6 src/sys/dev/acpica/acpi.c 1.10.2.1 +50 -61 src/sys/dev/cpufreq/ichss.c 1.63.2.1 +23 -12 src/sys/i386/i386/legacy.c _______________________________________________ cvs-src@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-src To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" From peter at FreeBSD.org Thu Jul 10 02:17:44 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Thu Jul 10 02:17:56 2008 Subject: cvs commit: src/contrib/cpio ABOUT-NLS COPYING ChangeLog INSTALL NEWS THANKS TODO src/contrib/cpio/doc cpio.texi version.texi src/contrib/cpio/lib alloca_.h argp-ba.c argp-eexst.c argp-fmtstream.c argp-fmtstream.h argp-fs-xinl.c argp-help.c ... Message-ID: <200807100217.m6A2HiaP017538@repoman.freebsd.org> peter 2008-07-10 02:08:00 UTC FreeBSD src repository Modified files: contrib/cpio ABOUT-NLS COPYING ChangeLog INSTALL NEWS THANKS TODO contrib/cpio/doc cpio.texi contrib/cpio/lib alloca_.h argp-ba.c argp-eexst.c argp-fmtstream.c argp-fmtstream.h argp-fs-xinl.c argp-help.c argp-namefrob.h argp-parse.c argp-pv.c argp-pvh.c argp-xinl.c argp.h basename.c dirname.c dirname.h error.c error.h exitfail.c exitfail.h full-write.c full-write.h getopt.c getopt1.c getopt_.h getopt_int.h gettext.h mempcpy.c rmt.h rtapelib.c safe-read.c safe-read.h safe-write.c safe-write.h savedir.c savedir.h strchrnul.c stripslash.c strndup.c strnlen.c system.h unlocked-io.h xalloc-die.c xalloc.h xmalloc.c contrib/cpio/src copyin.c copyout.c copypass.c cpio.h cpiohdr.h defer.c defer.h dstring.c dstring.h extern.h filemode.c filetypes.h global.c idcache.c main.c makepath.c tar.c tar.h tarhdr.h userspec.c util.c gnu/usr.bin/cpio Makefile config.h Added files: contrib/cpio/doc version.texi contrib/cpio/lib argp-pin.c fatal.c hash.c hash.h intprops.h inttostr.c inttostr.h paxerror.c paxexit.c paxlib.h paxnames.c quote.c quote.h quotearg.c quotearg.h rmt-command.h system-ioctl.h umaxtostr.c utimens.c utimens.h xstrndup.c xstrndup.h Removed files: contrib/cpio/lib exit.h localedir.h mempcpy.h strcase.h strchrnul.h strndup.h Log: SVN rev 180407 on 2008-07-10 02:08:00Z by peter Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massive conflicts due to radically different approaches to security and bug fixes. In some cases I re-started from the vendor version and reimplemented our patches. Fortunately, this is not enabled by default in -current. Revision Changes Path 1.2 +925 -529 src/contrib/cpio/ABOUT-NLS 1.2 +6 -5 src/contrib/cpio/COPYING 1.2 +815 -2 src/contrib/cpio/ChangeLog 1.2 +34 -31 src/contrib/cpio/INSTALL 1.2 +91 -0 src/contrib/cpio/NEWS 1.2 +7 -1 src/contrib/cpio/THANKS 1.2 +80 -277 src/contrib/cpio/TODO 1.3 +181 -142 src/contrib/cpio/doc/cpio.texi 1.1 +4 -0 src/contrib/cpio/doc/version.texi (new) 1.2 +20 -20 src/contrib/cpio/lib/alloca_.h 1.2 +1 -1 src/contrib/cpio/lib/argp-ba.c 1.2 +2 -2 src/contrib/cpio/lib/argp-eexst.c 1.2 +23 -28 src/contrib/cpio/lib/argp-fmtstream.c 1.2 +10 -18 src/contrib/cpio/lib/argp-fmtstream.h 1.2 +2 -2 src/contrib/cpio/lib/argp-fs-xinl.c 1.2 +189 -119 src/contrib/cpio/lib/argp-help.c 1.2 +11 -9 src/contrib/cpio/lib/argp-namefrob.h 1.2 +55 -28 src/contrib/cpio/lib/argp-parse.c 1.1 +28 -0 src/contrib/cpio/lib/argp-pin.c (new) 1.2 +3 -3 src/contrib/cpio/lib/argp-pv.c 1.2 +2 -2 src/contrib/cpio/lib/argp-pvh.c 1.2 +2 -2 src/contrib/cpio/lib/argp-xinl.c 1.3 +71 -53 src/contrib/cpio/lib/argp.h 1.2 +81 -31 src/contrib/cpio/lib/basename.c 1.2 +51 -87 src/contrib/cpio/lib/dirname.c 1.2 +32 -9 src/contrib/cpio/lib/dirname.h 1.2 +85 -53 src/contrib/cpio/lib/error.c 1.2 +3 -3 src/contrib/cpio/lib/error.h 1.2 +0 -32 src/contrib/cpio/lib/exit.h (dead) 1.2 +5 -6 src/contrib/cpio/lib/exitfail.c 1.2 +1 -1 src/contrib/cpio/lib/exitfail.h 1.1 +27 -0 src/contrib/cpio/lib/fatal.c (new) 1.2 +4 -6 src/contrib/cpio/lib/full-write.c 1.2 +1 -1 src/contrib/cpio/lib/full-write.h 1.2 +19 -69 src/contrib/cpio/lib/getopt.c 1.2 +3 -6 src/contrib/cpio/lib/getopt1.c 1.2 +11 -12 src/contrib/cpio/lib/getopt_.h 1.2 +1 -1 src/contrib/cpio/lib/getopt_int.h 1.2 +211 -9 src/contrib/cpio/lib/gettext.h 1.1 +1048 -0 src/contrib/cpio/lib/hash.c (new) 1.1 +88 -0 src/contrib/cpio/lib/hash.h (new) 1.1 +78 -0 src/contrib/cpio/lib/intprops.h (new) 1.1 +51 -0 src/contrib/cpio/lib/inttostr.c (new) 1.1 +30 -0 src/contrib/cpio/lib/inttostr.h (new) 1.2 +0 -4 src/contrib/cpio/lib/localedir.h (dead) 1.2 +4 -4 src/contrib/cpio/lib/mempcpy.c 1.2 +0 -36 src/contrib/cpio/lib/mempcpy.h (dead) 1.1 +365 -0 src/contrib/cpio/lib/paxerror.c (new) 1.1 +28 -0 src/contrib/cpio/lib/paxexit.c (new) 1.1 +115 -0 src/contrib/cpio/lib/paxlib.h (new) 1.1 +156 -0 src/contrib/cpio/lib/paxnames.c (new) 1.1 +41 -0 src/contrib/cpio/lib/quote.c (new) 1.1 +22 -0 src/contrib/cpio/lib/quote.h (new) 1.1 +697 -0 src/contrib/cpio/lib/quotearg.c (new) 1.1 +140 -0 src/contrib/cpio/lib/quotearg.h (new) 1.1 +4 -0 src/contrib/cpio/lib/rmt-command.h (new) 1.2 +1 -1 src/contrib/cpio/lib/rmt.h 1.2 +7 -7 src/contrib/cpio/lib/rtapelib.c 1.2 +5 -9 src/contrib/cpio/lib/safe-read.c 1.2 +12 -2 src/contrib/cpio/lib/safe-read.h 1.2 +1 -1 src/contrib/cpio/lib/safe-write.c 1.2 +1 -1 src/contrib/cpio/lib/safe-write.h 1.2 +55 -41 src/contrib/cpio/lib/savedir.c 1.2 +4 -3 src/contrib/cpio/lib/savedir.h 1.2 +0 -47 src/contrib/cpio/lib/strcase.h (dead) 1.2 +5 -3 src/contrib/cpio/lib/strchrnul.c 1.2 +0 -28 src/contrib/cpio/lib/strchrnul.h (dead) 1.2 +21 -15 src/contrib/cpio/lib/stripslash.c 1.2 +7 -25 src/contrib/cpio/lib/strndup.c 1.2 +0 -30 src/contrib/cpio/lib/strndup.h (dead) 1.2 +8 -25 src/contrib/cpio/lib/strnlen.c 1.1 +55 -0 src/contrib/cpio/lib/system-ioctl.h (new) 1.2 +25 -74 src/contrib/cpio/lib/system.h 1.1 +3 -0 src/contrib/cpio/lib/umaxtostr.c (new) 1.2 +99 -99 src/contrib/cpio/lib/unlocked-io.h 1.1 +189 -0 src/contrib/cpio/lib/utimens.c (new) 1.1 +3 -0 src/contrib/cpio/lib/utimens.h (new) 1.2 +3 -6 src/contrib/cpio/lib/xalloc-die.c 1.2 +197 -5 src/contrib/cpio/lib/xalloc.h 1.2 +28 -134 src/contrib/cpio/lib/xmalloc.c 1.1 +37 -0 src/contrib/cpio/lib/xstrndup.c (new) 1.1 +24 -0 src/contrib/cpio/lib/xstrndup.h (new) 1.5 +216 -230 src/contrib/cpio/src/copyin.c 1.4 +391 -339 src/contrib/cpio/src/copyout.c 1.5 +58 -97 src/contrib/cpio/src/copypass.c 1.2 +7 -4 src/contrib/cpio/src/cpio.h 1.2 +50 -34 src/contrib/cpio/src/cpiohdr.h 1.2 +6 -5 src/contrib/cpio/src/defer.c 1.2 +8 -7 src/contrib/cpio/src/defer.h 1.2 +6 -10 src/contrib/cpio/src/dstring.c 1.2 +4 -3 src/contrib/cpio/src/dstring.h 1.3 +88 -67 src/contrib/cpio/src/extern.h 1.2 +4 -3 src/contrib/cpio/src/filemode.c 1.2 +4 -3 src/contrib/cpio/src/filetypes.h 1.3 +6 -8 src/contrib/cpio/src/global.c 1.2 +4 -3 src/contrib/cpio/src/idcache.c 1.4 +162 -130 src/contrib/cpio/src/main.c 1.2 +19 -53 src/contrib/cpio/src/makepath.c 1.3 +21 -42 src/contrib/cpio/src/tar.c 1.2 +4 -4 src/contrib/cpio/src/tar.h 1.2 +4 -3 src/contrib/cpio/src/tarhdr.h 1.3 +11 -9 src/contrib/cpio/src/userspec.c 1.3 +267 -172 src/contrib/cpio/src/util.c 1.15 +13 -2 src/gnu/usr.bin/cpio/Makefile 1.2 +573 -47 src/gnu/usr.bin/cpio/config.h From yongari at FreeBSD.org Thu Jul 10 02:23:52 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 02:24:04 2008 Subject: cvs commit: src/share/man/man4 age.4 Message-ID: <200807100223.m6A2Npi7018038@repoman.freebsd.org> yongari 2008-07-10 02:23:36 UTC FreeBSD src repository Added files: (Branch: RELENG_7) share/man/man4 age.4 Log: SVN rev 180408 on 2008-07-10 02:23:36Z by yongari MFC r179102 Add man page for age(4). brueffer fixed various nits in the document. Revision Changes Path 1.2.2.1 +183 -0 src/share/man/man4/age.4 (new) From jhb at FreeBSD.org Thu Jul 10 02:25:17 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 10 02:25:35 2008 Subject: cvs commit: src/sys/dev/k8temp k8temp.c In-Reply-To: <200807052319.m65NJgp8097891@repoman.freebsd.org> References: <200807052319.m65NJgp8097891@repoman.freebsd.org> Message-ID: <200807092139.12985.jhb@freebsd.org> On Saturday 05 July 2008 07:19:37 pm Rui Paulo wrote: > rpaulo 2008-07-05 23:19:37 UTC > > FreeBSD src repository > > Modified files: > sys/dev/k8temp k8temp.c > Log: > SVN rev 180312 on 2008-07-05 23:19:37Z by rpaulo > > Use config_intrhook API to create the dev.cpu.N.temperature sysctl node. > Our hook creates the sysctl node before root is mounted, but after cpu > is probed. It seems that k8temp can be loaded before the cpu module and, > in those cases, dev.cpu.0.temperature was not created. Err, why not rework this so that you have a k8tempctl0 device that attaches to the PCI part (or just use it directly like ichss0 does) and then have a per-CPU k8temp0 device? This would be a cleaner solution w/o needing an intrhook (and would also work if someone disables ACPI). -- John Baldwin From jhb at FreeBSD.org Thu Jul 10 02:25:23 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 10 02:25:46 2008 Subject: cvs commit: src/usr.bin/ldd ldd.1 ldd.c In-Reply-To: <200807100132.m6A1WOuG012181@repoman.freebsd.org> References: <200807100132.m6A1WOuG012181@repoman.freebsd.org> Message-ID: <200807092158.21729.jhb@freebsd.org> On Wednesday 09 July 2008 09:32:08 pm Edwin Groothuis wrote: > edwin 2008-07-10 01:32:08 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > usr.bin/ldd ldd.1 ldd.c > Log: > SVN rev 180404 on 2008-07-10 01:32:08Z by edwin > > MFC of changes 180234-180236: > > On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them: Are you just ignoring my e-mails? -- John Baldwin From jhb at FreeBSD.org Thu Jul 10 02:25:38 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 10 02:25:57 2008 Subject: cvs commit: src/sys/amd64/amd64 legacy.c src/sys/dev/acpica acpi.c src/sys/dev/cpufreq ichss.c src/sys/i386/i386 legacy.c In-Reply-To: <20080710013217.GP57161@egr.msu.edu> References: <200806270351.m5R3p0iZ023807@repoman.freebsd.org> <20080710013217.GP57161@egr.msu.edu> Message-ID: <200807092218.05668.jhb@freebsd.org> On Wednesday 09 July 2008 09:32:18 pm Adam McDougall wrote: > This commit (verified by binary search) causes my Sun Fire X4100 > problems booting. I found it by upgrading a new 7-rel install > recenty, and I have similar servers running a build from about > 3 weeks ago without problem. I have not tried this on a X4100M2 > yet. Upon comparing dmesg output, pci stuff is probed differently, > and the obvious symptoms include probing up until > "Timecounters tick every 1.000 msec" > > then after a few minutes I get stuff like: > > umass0: BBB reset failed, TIMEOUT > umass1: CBI reset failed, TIMEOUT > umass0: BBB bulk-in clear stall failed, TIMEOUT > umass1: CBI bulk-in stall clear failed, TIMEOUT > umass0: BBB bulk-out clear stall failed, TIMEOUT > umass1: CBI bulk-out stall clear failed, TIMEOUT > umass0: BBB reset failed, TIMEOUT > umass1: CBI reset failed, TIMEOUT > > and eventually it arrives at a mount root prompt. > > This happens with or without cpufreq loaded from module. > > I have BIOS version 44 installed. > > It occurs with GENERIC from today but my 'broken' dmesg below > is from a custom kernel config that I can provide if necessary. > > dmesg from 7.0-RELEASE: > http://www.egr.msu.edu/~mcdouga9/dmesg-x4100-7rel.txt > dmesg from today's src (after commit): > http://www.egr.msu.edu/~mcdouga9/dmesg-x4100-7-20080709.txt > > This system was previously running 6.x and I am preparing it to > replace an identical system with it, so I have some time to tackle > this problem. I can provide remote access including console access > if needed, or I can run suggested stuff. Please let me know if > more information or cooperation from me is needed, thanks. I missed MFC'ing something, specifically rev 1.248 of acpi.c. You can try this diff: Index: acpi.c =================================================================== --- acpi.c (revision 180262) +++ acpi.c (working copy) @@ -132,7 +132,7 @@ static int acpi_set_powerstate_method(device_t bus static int acpi_isa_pnp_probe(device_t bus, device_t child, struct isa_pnp_id *ids); static void acpi_probe_children(device_t bus); -static int acpi_probe_order(ACPI_HANDLE handle, int *order); +static void acpi_probe_order(ACPI_HANDLE handle, int *order); static ACPI_STATUS acpi_probe_child(ACPI_HANDLE handle, UINT32 level, void *context, void **status); static BOOLEAN acpi_MatchHid(ACPI_HANDLE h, const char *hid); @@ -1527,21 +1527,19 @@ acpi_probe_children(device_t bus) } /* - * Determine the probe order for a given device and return non-zero if it - * should be attached immediately. + * Determine the probe order for a given device. */ -static int +static void acpi_probe_order(ACPI_HANDLE handle, int *order) { ACPI_OBJECT_TYPE type; - u_int addr; /* * 1. I/O port and memory system resource holders * 2. Embedded controllers (to handle early accesses) * 3. PCI Link Devices - * 11 - 266. Host-PCI bridges sorted by _ADR - * 280. CPUs + * ACPI_DEV_BASE_ORDER. Host-PCI bridges + * ACPI_DEV_BASE_ORDER + 10. CPUs */ AcpiGetType(handle, &type); if (acpi_MatchHid(handle, "PNP0C01") || acpi_MatchHid(handle, "PNP0C02")) @@ -1550,15 +1548,10 @@ acpi_probe_order(ACPI_HANDLE handle, int *order) *order = 2; else if (acpi_MatchHid(handle, "PNP0C0F")) *order = 3; - else if (acpi_MatchHid(handle, "PNP0A03")) { - if (ACPI_SUCCESS(acpi_GetInteger(handle, "_ADR", &addr))) - *order = 11 + ACPI_ADR_PCI_SLOT(addr) * (PCI_FUNCMAX + 1) + - ACPI_ADR_PCI_FUNC(addr); - else - *order = 11; - } else if (type == ACPI_TYPE_PROCESSOR) - *order = 280; - return (0); + else if (acpi_MatchHid(handle, "PNP0A03")) + *order = ACPI_DEV_BASE_ORDER; + else if (type == ACPI_TYPE_PROCESSOR) + *order = ACPI_DEV_BASE_ORDER + 10; } /* @@ -1608,13 +1601,13 @@ acpi_probe_child(ACPI_HANDLE handle, UINT32 level, * placeholder so that the probe/attach passes will run * breadth-first. Orders less than ACPI_DEV_BASE_ORDER * are reserved for special objects (i.e., system - * resources). Orders between ACPI_DEV_BASE_ORDER and 300 + * resources). Orders between ACPI_DEV_BASE_ORDER and 100 * are used for Host-PCI bridges (and effectively all * their children) and CPUs. Larger values are used for * all other devices. */ ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "scanning '%s'\n", handle_str)); - order = level * 10 + 300; + order = level * 10 + 100; acpi_probe_order(handle, &order); child = BUS_ADD_CHILD(bus, order, NULL, -1); if (child == NULL) -- John Baldwin From yongari at FreeBSD.org Thu Jul 10 02:27:08 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 02:27:20 2008 Subject: cvs commit: src/share/man/man4 vlan.4 Message-ID: <200807100227.m6A2R8MD018324@repoman.freebsd.org> yongari 2008-07-10 02:26:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 vlan.4 Log: SVN rev 180409 on 2008-07-10 02:26:55Z by yongari MFC r179103 Add age(4) to the list of devices supporting full VLAN processing in hardware. Revision Changes Path 1.44.2.2 +2 -1 src/share/man/man4/vlan.4 From yongari at FreeBSD.org Thu Jul 10 02:29:25 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 02:29:32 2008 Subject: cvs commit: src/share/man/man4 altq.4 Message-ID: <200807100229.m6A2TPCq018495@repoman.freebsd.org> yongari 2008-07-10 02:29:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 altq.4 Log: SVN rev 180410 on 2008-07-10 02:29:15Z by yongari MFC r179104 Add age(4) to the list of drivers supporting ALTQ. Revision Changes Path 1.32.2.1 +2 -1 src/share/man/man4/altq.4 From yongari at FreeBSD.org Thu Jul 10 02:30:26 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 02:30:37 2008 Subject: cvs commit: src/share/man/man4 miibus.4 Message-ID: <200807100230.m6A2UQpf018645@repoman.freebsd.org> yongari 2008-07-10 02:30:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 miibus.4 Log: SVN rev 180411 on 2008-07-10 02:30:23Z by yongari MFC r179105 Add age(4) to the list of drivers use the miibus interface. Revision Changes Path 1.21.2.1 +4 -1 src/share/man/man4/miibus.4 From yongari at FreeBSD.org Thu Jul 10 02:36:12 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 02:36:24 2008 Subject: cvs commit: src/sys/boot/forth loader.conf Message-ID: <200807100236.m6A2aCxt019140@repoman.freebsd.org> yongari 2008-07-10 02:36:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/forth loader.conf Log: SVN rev 180412 on 2008-07-10 02:36:01Z by yongari MFC r179106 Add an entry for the age(4) module. Revision Changes Path 1.122.2.1 +1 -0 src/sys/boot/forth/loader.conf From yongari at FreeBSD.org Thu Jul 10 02:39:44 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 02:39:50 2008 Subject: cvs commit: src/usr.sbin/sysinstall devices.c Message-ID: <200807100239.m6A2dhSW019519@repoman.freebsd.org> yongari 2008-07-10 02:39:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/sysinstall devices.c Log: SVN rev 180413 on 2008-07-10 02:39:32Z by yongari MFC r179107 Add age(4) to the list of supported network interface. Revision Changes Path 1.173.2.1 +1 -0 src/usr.sbin/sysinstall/devices.c From yongari at FreeBSD.org Thu Jul 10 02:44:17 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 02:44:28 2008 Subject: cvs commit: src/share/man/man4 Makefile Message-ID: <200807100244.m6A2iGKI019938@repoman.freebsd.org> yongari 2008-07-10 02:43:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 Makefile Log: SVN rev 180414 on 2008-07-10 02:43:58Z by yongari MFC r179108 Hook up age(4) to the build. Revision Changes Path 1.393.2.13 +1 -0 src/share/man/man4/Makefile From yongari at FreeBSD.org Thu Jul 10 03:22:34 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 03:22:46 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC src/sys/i386/conf GENERIC Message-ID: <200807100322.m6A3MYaN025076@repoman.freebsd.org> yongari 2008-07-10 03:20:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/conf GENERIC sys/i386/conf GENERIC Log: SVN rev 180415 on 2008-07-10 03:20:34Z by yongari MFC r179109 Add age(4) to the list of drivers supported by GENERIC kernel. Revision Changes Path 1.484.2.9 +1 -0 src/sys/amd64/conf/GENERIC 1.474.2.9 +1 -0 src/sys/i386/conf/GENERIC From yongari at FreeBSD.org Thu Jul 10 03:29:33 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 03:29:44 2008 Subject: cvs commit: src/share/man/man4 age.4 Message-ID: <200807100329.m6A3TV2d025576@repoman.freebsd.org> yongari 2008-07-10 03:29:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 age.4 Log: SVN rev 180416 on 2008-07-10 03:29:10Z by yongari MFC r179348 ASUS G2S notebook is supported by age(4). Revision Changes Path 1.2.2.2 +2 -0 src/share/man/man4/age.4 From yongari at FreeBSD.org Thu Jul 10 03:34:19 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 10 03:34:25 2008 Subject: cvs commit: src/sys/dev/age if_age.c Message-ID: <200807100334.m6A3YHaf026024@repoman.freebsd.org> yongari 2008-07-10 03:34:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/age if_age.c Log: SVN rev 180417 on 2008-07-10 03:34:10Z by yongari MFC r179653 Fix typo in comment. Revision Changes Path 1.2.2.2 +1 -1 src/sys/dev/age/if_age.c From ru at FreeBSD.org Thu Jul 10 06:26:35 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Thu Jul 10 06:26:46 2008 Subject: cvs commit: src/share/man/man4 sched_4bsd.4 sched_ule.4 Message-ID: <200807100626.m6A6QZrJ052239@repoman.freebsd.org> ru 2008-07-10 06:26:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 sched_4bsd.4 sched_ule.4 Log: SVN rev 180418 on 2008-07-10 06:26:15Z by ru MFC: - sched_4bsd is no longer a default system scheduler on some architectures, so call it "traditional" instead. - sched_ule is no longer buggy or experimental (according to rev. 1.7 of sched_ule(4)), so don't call it experimental (reported by a user on stable@). Revision Changes Path 1.5.2.1 +2 -2 src/share/man/man4/sched_4bsd.4 1.7.2.1 +3 -11 src/share/man/man4/sched_ule.4 From flo at kasimir.com Thu Jul 10 08:03:09 2008 From: flo at kasimir.com (Florian Smeets) Date: Thu Jul 10 08:03:15 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c In-Reply-To: <200807091511.m69FB4O6082428@repoman.freebsd.org> References: <200807091511.m69FB4O6082428@repoman.freebsd.org> Message-ID: <4875BBDB.50002@kasimir.com> Remko Lodder wrote: > remko 2008-07-09 15:10:53 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-chipset.c > Log: > SVN rev 180384 on 2008-07-09 15:10:53Z by remko > > Driver failed to allocate MMIO resources. Attached patch adds a fallback path. > It uses generic IDE facilities if sii-specific allocations failed > > PR: 125421 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=125421 > Submitted by: Andrey V. Elsukov > Approved by: imp (mentor, implicit) > MFC after: 1 week Hi, one of these recent ata commits fixes booting on my MacBook Pro 4,1 which previously hung while probing the ata* channels. Thank you *very very* much Andrey for fixing and Remko for committing it! Thank you! Florian From weongyo at FreeBSD.org Thu Jul 10 08:44:08 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Thu Jul 10 08:44:21 2008 Subject: cvs commit: src/share/man/man4 zyd.4 Message-ID: <200807100844.m6A8i78Z068685@repoman.freebsd.org> weongyo 2008-07-10 08:44:02 UTC FreeBSD src repository Modified files: share/man/man4 zyd.4 Log: SVN rev 180419 on 2008-07-10 08:44:02Z by weongyo the driver don't support AD-HOC mode currently. Revision Changes Path 1.5 +1 -2 src/share/man/man4/zyd.4 From kib at FreeBSD.org Thu Jul 10 09:24:54 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Thu Jul 10 09:25:06 2008 Subject: cvs commit: src/lib/libutil expand_number.c Message-ID: <200807100924.m6A9Orqv082219@repoman.freebsd.org> kib 2008-07-10 09:24:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libutil expand_number.c Log: SVN rev 180420 on 2008-07-10 09:24:37Z by kib MFC r180347: Add #include for the strtoimax(). Revision Changes Path 1.2.4.1 +1 -0 src/lib/libutil/expand_number.c From rik at inse.ru Thu Jul 10 09:25:35 2008 From: rik at inse.ru (Roman Kurakin) Date: Thu Jul 10 09:25:46 2008 Subject: cvs commit: src/share/man/man9 style.9 In-Reply-To: <753889164.20080710011045@rulez.sk> References: <200807091404.m69E4jiC075715@repoman.freebsd.org> <20080709154945.GA47824@zim.MIT.EDU> <4874FE82.5090809@localhost.inse.ru> <753889164.20080710011045@rulez.sk> Message-ID: <4875D412.1040304@localhost.inse.ru> Daniel Gerzo wrote: > Hello guys, > > Wednesday, July 9, 2008, 8:08:02 PM, has been written: > > >>>> -Do not declare functions inside other functions; ANSI C says that >>>> -such declarations have file scope regardless of the nesting of the >>>> -declaration. >>>> -Hiding file declarations in what appears to be a local >>>> -scope is undesirable and will elicit complaints from a good compiler. >>>> +Do not declare functions inside other functions; nested functions are >>>> +a GCC extension and are not permitted by ANSI C. >>>> >>>> >>> We use lots of extensions that aren't strict ANSI C. I think the >>> real reason not to use them is that gcc's nested functions are >>> particularly unwieldily. First, they're not true lexical closures >>> (and can't be), which makes them much less useful. Second, they >>> are unsupported unless a number of assumptions are met, e.g., must >>> have an executable stack, must be able to invalidate the I cache >>> from userland, and must not have separate I and D address spaces. >>> Nested functions abominable enough that Apple disabled the feature >>> in OS X's build of gcc --- and the Sun and Intel compilers don't >>> support them, even though Intel claims nearly complete gcc >>> compatibility. >>> >>> >> I think from non-technical side, nested functions are not expected by >> most programmers. >> From my point of view there are many new extensions that a good for >> quick hacking, but >> not for the production code. >> > > So may I leave my change in the current state, or do you guys want me > to do some additional changes? > IMHO "are not permitted by ANSI" is not secure enough in case ANSI will release a new edition. And some one may say "hey it is permitted by ANSI now, let start using it". rik From kib at FreeBSD.org Thu Jul 10 09:37:40 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Thu Jul 10 09:37:46 2008 Subject: cvs commit: src/sys/kern kern_event.c Message-ID: <200807100937.m6A9bdK0083288@repoman.freebsd.org> kib 2008-07-10 09:37:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_event.c Log: SVN rev 180421 on 2008-07-10 09:37:35Z by kib MFC r180336: Move the setting of KQ_FLUXWAIT after KQ_FLUX_WAKEUP() in the kqueue_scan(). Revision Changes Path 1.113.2.3 +1 -2 src/sys/kern/kern_event.c From rwatson at FreeBSD.org Thu Jul 10 09:45:42 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 10 09:45:53 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200807100945.m6A9jgKB083952@repoman.freebsd.org> rwatson 2008-07-10 09:45:28 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: SVN rev 180422 on 2008-07-10 09:45:28Z by rwatson Apply the MAC label to an outgoing UDP packet when other inpcb properties are processed, meaning that we avoid the cost of MAC label assignment if we're going to drop the packet due to mbuf exhaustion, etc. MFC after: 3 weeks Revision Changes Path 1.229 +4 -4 src/sys/netinet/udp_usrreq.c From cperciva at FreeBSD.org Thu Jul 10 09:51:14 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Thu Jul 10 09:51:26 2008 Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c Message-ID: <200807100951.m6A9pDdK084563@repoman.freebsd.org> cperciva 2008-07-10 09:50:55 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_tar.c Log: SVN rev 180423 on 2008-07-10 09:50:55Z by cperciva Garbage collect a variable which is assigned a value once but otherwise is never used. Found by: LLVM/Clang Static Analyzer Revision Changes Path 1.70 +0 -2 src/lib/libarchive/archive_read_support_format_tar.c From mcdouga9 at egr.msu.edu Thu Jul 10 10:11:57 2008 From: mcdouga9 at egr.msu.edu (Adam McDougall) Date: Thu Jul 10 10:12:03 2008 Subject: cvs commit: src/sys/amd64/amd64 legacy.c src/sys/dev/acpica acpi.c src/sys/dev/cpufreq ichss.c src/sys/i386/i386 legacy.c In-Reply-To: <200807092218.05668.jhb@freebsd.org> References: <200806270351.m5R3p0iZ023807@repoman.freebsd.org> <20080710013217.GP57161@egr.msu.edu> <200807092218.05668.jhb@freebsd.org> Message-ID: <20080710101155.GR57161@egr.msu.edu> On Wed, Jul 09, 2008 at 10:18:05PM -0400, John Baldwin wrote: On Wednesday 09 July 2008 09:32:18 pm Adam McDougall wrote: > This commit (verified by binary search) causes my Sun Fire X4100 > problems booting. I found it by upgrading a new 7-rel install ... > then after a few minutes I get stuff like: > umass0: BBB reset failed, TIMEOUT > umass1: CBI reset failed, TIMEOUT I missed MFC'ing something, specifically rev 1.248 of acpi.c. You can try this diff: Yes it works, thank you! Index: acpi.c =================================================================== --- acpi.c (revision 180262) +++ acpi.c (working copy) @@ -132,7 +132,7 @@ static int acpi_set_powerstate_method(device_t bus static int acpi_isa_pnp_probe(device_t bus, device_t child, struct isa_pnp_id *ids); static void acpi_probe_children(device_t bus); -static int acpi_probe_order(ACPI_HANDLE handle, int *order); +static void acpi_probe_order(ACPI_HANDLE handle, int *order); static ACPI_STATUS acpi_probe_child(ACPI_HANDLE handle, UINT32 level, void *context, void **status); static BOOLEAN acpi_MatchHid(ACPI_HANDLE h, const char *hid); @@ -1527,21 +1527,19 @@ acpi_probe_children(device_t bus) } /* - * Determine the probe order for a given device and return non-zero if it - * should be attached immediately. + * Determine the probe order for a given device. */ -static int +static void acpi_probe_order(ACPI_HANDLE handle, int *order) { ACPI_OBJECT_TYPE type; - u_int addr; /* * 1. I/O port and memory system resource holders * 2. Embedded controllers (to handle early accesses) * 3. PCI Link Devices - * 11 - 266. Host-PCI bridges sorted by _ADR - * 280. CPUs + * ACPI_DEV_BASE_ORDER. Host-PCI bridges + * ACPI_DEV_BASE_ORDER + 10. CPUs */ AcpiGetType(handle, &type); if (acpi_MatchHid(handle, "PNP0C01") || acpi_MatchHid(handle, "PNP0C02")) @@ -1550,15 +1548,10 @@ acpi_probe_order(ACPI_HANDLE handle, int *order) *order = 2; else if (acpi_MatchHid(handle, "PNP0C0F")) *order = 3; - else if (acpi_MatchHid(handle, "PNP0A03")) { - if (ACPI_SUCCESS(acpi_GetInteger(handle, "_ADR", &addr))) - *order = 11 + ACPI_ADR_PCI_SLOT(addr) * (PCI_FUNCMAX + 1) + - ACPI_ADR_PCI_FUNC(addr); - else - *order = 11; - } else if (type == ACPI_TYPE_PROCESSOR) - *order = 280; - return (0); + else if (acpi_MatchHid(handle, "PNP0A03")) + *order = ACPI_DEV_BASE_ORDER; + else if (type == ACPI_TYPE_PROCESSOR) + *order = ACPI_DEV_BASE_ORDER + 10; } /* @@ -1608,13 +1601,13 @@ acpi_probe_child(ACPI_HANDLE handle, UINT32 level, * placeholder so that the probe/attach passes will run * breadth-first. Orders less than ACPI_DEV_BASE_ORDER * are reserved for special objects (i.e., system - * resources). Orders between ACPI_DEV_BASE_ORDER and 300 + * resources). Orders between ACPI_DEV_BASE_ORDER and 100 * are used for Host-PCI bridges (and effectively all * their children) and CPUs. Larger values are used for * all other devices. */ ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "scanning '%s'\n", handle_str)); - order = level * 10 + 300; + order = level * 10 + 100; acpi_probe_order(handle, &order); child = BUS_ADD_CHILD(bus, order, NULL, -1); if (child == NULL) -- John Baldwin _______________________________________________ cvs-src@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-src To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" From brde at optusnet.com.au Thu Jul 10 10:51:26 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Thu Jul 10 10:51:38 2008 Subject: cvs commit: src/share/man/man9 style.9 In-Reply-To: <753889164.20080710011045@rulez.sk> References: <200807091404.m69E4jiC075715@repoman.freebsd.org> <20080709154945.GA47824@zim.MIT.EDU> <4874FE82.5090809@localhost.inse.ru> <753889164.20080710011045@rulez.sk> Message-ID: <20080710202921.D8518@besplex.bde.org> On Thu, 10 Jul 2008, Daniel Gerzo wrote: > Hello guys, > > Wednesday, July 9, 2008, 8:08:02 PM, has been written: > >>>> -Do not declare functions inside other functions; ANSI C says that >>>> -such declarations have file scope regardless of the nesting of the >>>> -declaration. >>>> -Hiding file declarations in what appears to be a local >>>> -scope is undesirable and will elicit complaints from a good compiler. >>>> +Do not declare functions inside other functions; nested functions are >>>> +a GCC extension and are not permitted by ANSI C. Once again: nested function declaration != nested function. Nested function declarations are a small-s standard C misfeature older than K&R1. We considered them bad style long before the completely different gcc extension of nested function definitions existed. Style.9 said this. Now it is broken. Kernel makefiles actually enforce non-use of nested function declarations using -Werror -Wnested-externs, but most userland makefiles don't do this so the style rule is still relevant. >>>> >>> We use lots of extensions that aren't strict ANSI C. I think the Especially since ANSI C hasn't existed since it was replaced by ISO C 20 years ago. >>> real reason not to use them is that gcc's nested functions are >>> particularly unwieldily. First, they're not true lexical closures >>> (and can't be), which makes them much less useful. Second, they >>> are unsupported unless a number of assumptions are met, e.g., must >>> have an executable stack, must be able to invalidate the I cache >>> from userland, and must not have separate I and D address spaces. >>> Nested functions abominable enough that Apple disabled the feature >>> in OS X's build of gcc --- and the Sun and Intel compilers don't >>> support them, even though Intel claims nearly complete gcc >>> compatibility. >>> >> I think from non-technical side, nested functions are not expected by >> most programmers. >> From my point of view there are many new extensions that a good for >> quick hacking, but >> not for the production code. > > So may I leave my change in the current state, or do you guys want me > to do some additional changes? Just back it out, since it is wrong. No one would expect use of any unportable gcc feature to be normal style, and nested functions are less deserving of specific disapproval than most such features. Strictly, style.9 disallows (by not explicitly allowing) even indispensable gcc features like asm(). Bruce From danger at FreeBSD.org Thu Jul 10 11:25:00 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Thu Jul 10 11:25:11 2008 Subject: cvs commit: src/share/man/man9 style.9 Message-ID: <200807101125.m6ABP0tf097941@repoman.freebsd.org> danger 2008-07-10 11:24:41 UTC FreeBSD src repository Modified files: share/man/man9 style.9 Log: SVN rev 180424 on 2008-07-10 11:24:41Z by danger Back-out my previous change. See the thread at http://lists.freebsd.org/pipermail/cvs-all/2008-July/263779.html Revision Changes Path 1.127 +6 -3 src/share/man/man9/style.9 From bz at FreeBSD.org Thu Jul 10 13:24:41 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Thu Jul 10 13:24:47 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h src/sys/netinet6 in6_pcb.c in6_pcb.h Message-ID: <200807101324.m6ADOe3B019677@repoman.freebsd.org> bz 2008-07-10 13:23:22 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h sys/netinet6 in6_pcb.c in6_pcb.h Log: SVN rev 180425 on 2008-07-10 13:23:22Z by bz For consistency take lport as u_short in in{,6}_pcblookup_local. All callers either pass in an u_short or u_int16_t. Reviewed by: rwatson Revision Changes Path 1.208 +1 -2 src/sys/netinet/in_pcb.c 1.108 +1 -1 src/sys/netinet/in_pcb.h 1.92 +1 -2 src/sys/netinet6/in6_pcb.c 1.21 +1 -1 src/sys/netinet6/in6_pcb.h From charnier at FreeBSD.org Thu Jul 10 13:26:55 2008 From: charnier at FreeBSD.org (Philippe Charnier) Date: Thu Jul 10 13:27:06 2008 Subject: cvs commit: src/usr.bin/cmp regular.c Message-ID: <200807101326.m6ADQr1L019916@repoman.freebsd.org> charnier 2008-07-10 13:26:46 UTC FreeBSD src repository Modified files: usr.bin/cmp regular.c Log: SVN rev 180426 on 2008-07-10 13:26:46Z by charnier add __unused to succeed at WARNS=6 Revision Changes Path 1.19 +1 -1 src/usr.bin/cmp/regular.c From bz at FreeBSD.org Thu Jul 10 13:31:56 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Thu Jul 10 13:32:12 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h src/sys/netinet6 in6_pcb.c in6_pcb.h in6_src.c Message-ID: <200807101331.m6ADVuVg020341@repoman.freebsd.org> bz 2008-07-10 13:31:11 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h sys/netinet6 in6_pcb.c in6_pcb.h in6_src.c Log: SVN rev 180427 on 2008-07-10 13:31:11Z by bz Pass the ucred along into in{,6}_pcblookup_local for upcoming prison checks. Reviewed by: rwatson Revision Changes Path 1.209 +7 -7 src/sys/netinet/in_pcb.c 1.109 +1 -1 src/sys/netinet/in_pcb.h 1.93 +6 -6 src/sys/netinet6/in6_pcb.c 1.22 +2 -1 src/sys/netinet6/in6_pcb.h 1.54 +3 -3 src/sys/netinet6/in6_src.c From imp at bsdimp.com Thu Jul 10 15:49:02 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Jul 10 15:49:11 2008 Subject: cvs commit: src/share/man/man9 style.9 In-Reply-To: <20080709154945.GA47824@zim.MIT.EDU> References: <200807091404.m69E4jiC075715@repoman.freebsd.org> <20080709154945.GA47824@zim.MIT.EDU> Message-ID: <20080710.094556.-262765509.imp@bsdimp.com> In message: <20080709154945.GA47824@zim.MIT.EDU> David Schultz writes: : On Wed, Jul 09, 2008, Daniel Gerzo wrote: : > -Do not declare functions inside other functions; ANSI C says that : > -such declarations have file scope regardless of the nesting of the : > -declaration. : > -Hiding file declarations in what appears to be a local : > -scope is undesirable and will elicit complaints from a good compiler. : > +Do not declare functions inside other functions; nested functions are : > +a GCC extension and are not permitted by ANSI C. : : We use lots of extensions that aren't strict ANSI C. I think the : real reason not to use them is that gcc's nested functions are : particularly unwieldily. First, they're not true lexical closures : (and can't be), which makes them much less useful. Second, they : are unsupported unless a number of assumptions are met, e.g., must : have an executable stack, must be able to invalidate the I cache : from userland, and must not have separate I and D address spaces. : Nested functions abominable enough that Apple disabled the feature : in OS X's build of gcc --- and the Sun and Intel compilers don't : support them, even though Intel claims nearly complete gcc : compatibility. I think the bug in the commit was the '-' lines. The '+' lines were good. Maybe a .Pp line would then be needed. Warner From imp at bsdimp.com Thu Jul 10 15:51:57 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Jul 10 15:52:08 2008 Subject: cvs commit: src/share/man/man9 style.9 In-Reply-To: <753889164.20080710011045@rulez.sk> References: <20080709154945.GA47824@zim.MIT.EDU> <4874FE82.5090809@localhost.inse.ru> <753889164.20080710011045@rulez.sk> Message-ID: <20080710.094740.1673060291.imp@bsdimp.com> In message: <753889164.20080710011045@rulez.sk> Daniel Gerzo writes: : Hello guys, : : Wednesday, July 9, 2008, 8:08:02 PM, has been written: : : >>> -Do not declare functions inside other functions; ANSI C says that : >>> -such declarations have file scope regardless of the nesting of the : >>> -declaration. : >>> -Hiding file declarations in what appears to be a local : >>> -scope is undesirable and will elicit complaints from a good compiler. : >>> +Do not declare functions inside other functions; nested functions are : >>> +a GCC extension and are not permitted by ANSI C. : >>> : >> : >> We use lots of extensions that aren't strict ANSI C. I think the : >> real reason not to use them is that gcc's nested functions are : >> particularly unwieldily. First, they're not true lexical closures : >> (and can't be), which makes them much less useful. Second, they : >> are unsupported unless a number of assumptions are met, e.g., must : >> have an executable stack, must be able to invalidate the I cache : >> from userland, and must not have separate I and D address spaces. : >> Nested functions abominable enough that Apple disabled the feature : >> in OS X's build of gcc --- and the Sun and Intel compilers don't : >> support them, even though Intel claims nearly complete gcc : >> compatibility. : >> : > I think from non-technical side, nested functions are not expected by : > most programmers. : > From my point of view there are many new extensions that a good for : > quick hacking, but : > not for the production code. : : So may I leave my change in the current state, or do you guys want me : to do some additional changes? Back out the '-' changes. Leave your change. Warner From obrien at FreeBSD.org Thu Jul 10 16:04:56 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Jul 10 16:05:02 2008 Subject: cvs commit: src/sys Makefile Message-ID: <200807101604.m6AG4uei035679@repoman.freebsd.org> obrien 2008-07-10 16:03:24 UTC FreeBSD src repository Modified files: sys Makefile Log: SVN rev 180428 on 2008-07-10 16:03:24Z by obrien Use 'CSCOPE_ARCHDIR' to change the default architecture directories to cscope. After the addition of sys/modules/dtrace/dtrace, setting 'ARCHDIR' in /etc/src.conf breaks the build. Revision Changes Path 1.50 +6 -3 src/sys/Makefile From rwatson at FreeBSD.org Thu Jul 10 16:20:35 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 10 16:20:41 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200807101620.m6AGKYJR037055@repoman.freebsd.org> rwatson 2008-07-10 16:20:18 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: SVN rev 180429 on 2008-07-10 16:20:18Z by rwatson Slightly rearrange validation of UDP arguments and jail processing in udp_output() so that argument validation occurs before jail processing. Add additional comments explaining what's going on when we process addresses and binding during udp_output(). MFC after: 3 weeks Revision Changes Path 1.230 +25 -4 src/sys/netinet/udp_usrreq.c From alc at FreeBSD.org Thu Jul 10 16:22:35 2008 From: alc at FreeBSD.org (Alan Cox) Date: Thu Jul 10 16:22:47 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807101622.m6AGMZio037323@repoman.freebsd.org> alc 2008-07-10 16:22:24 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180430 on 2008-07-10 16:22:24Z by alc Extend pmap_demote_pde() to include the ability to instantiate a new page table page where none existed before. Revision Changes Path 1.629 +29 -8 src/sys/amd64/amd64/pmap.c From obrien at FreeBSD.org Thu Jul 10 16:37:47 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Jul 10 16:37:56 2008 Subject: cvs commit: src/sys/kern link_elf.c src/sys/sys link_elf.h Message-ID: <200807101637.m6AGbkpv039867@repoman.freebsd.org> obrien 2008-07-10 16:35:57 UTC FreeBSD src repository Modified files: sys/kern link_elf.c sys/sys link_elf.h Log: SVN rev 180431 on 2008-07-10 16:35:57Z by obrien Allow 'elf_file_t' to be used in a wider scope. Revision Changes Path 1.99 +0 -47 src/sys/kern/link_elf.c 1.28 +51 -0 src/sys/sys/link_elf.h From jhb at FreeBSD.org Thu Jul 10 17:07:01 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 10 17:07:07 2008 Subject: cvs commit: src/sys/dev/acpica acpi.c Message-ID: <200807101707.m6AH7115055290@repoman.freebsd.org> jhb 2008-07-10 17:06:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica acpi.c Log: SVN rev 180432 on 2008-07-10 17:06:54Z by jhb MFC: After probing the available frequency settings, restore the CPU to run at whatever frequency it started at. Revision Changes Path 1.243.2.3 +11 -18 src/sys/dev/acpica/acpi.c From peter at wemm.org Thu Jul 10 17:35:37 2008 From: peter at wemm.org (Peter Wemm) Date: Thu Jul 10 17:35:48 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: <200807101635.m6AGZv7I090311@svn.freebsd.org> References: <200807101635.m6AGZv7I090311@svn.freebsd.org> Message-ID: On Thu, Jul 10, 2008 at 9:35 AM, David E. O'Brien wrote: > Author: obrien > Date: Thu Jul 10 16:35:57 2008 > New Revision: 180431 > URL: http://svn.freebsd.org/changeset/base/180431 > > Log: > Allow 'elf_file_t' to be used in a wider scope. > > Modified: > head/sys/kern/link_elf.c > head/sys/sys/link_elf.h This really was intentional. elf_file_t was supposed to be opaque and changeable. What do you need this for? -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From brooks at FreeBSD.org Thu Jul 10 17:46:06 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Thu Jul 10 17:46:17 2008 Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_misc.c syscalls.master Message-ID: <200807101746.m6AHk5Xl058418@repoman.freebsd.org> brooks 2008-07-10 17:45:57 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_misc.c syscalls.master Log: SVN rev 180433 on 2008-07-10 17:45:57Z by brooks id_t is a 64-bit integer and thus is passed as two arguments like off_t is. As a result, those arguments must be recombined before calling the real syscal implementation. This change fixes 32-bit compatibility for cpuset_getid(), cpuset_setid(), cpuset_getaffinity(), and cpuset_setaffinity(). Revision Changes Path 1.76 +57 -0 src/sys/compat/freebsd32/freebsd32_misc.c 1.101 +13 -7 src/sys/compat/freebsd32/syscalls.master From brooks at FreeBSD.org Thu Jul 10 17:47:08 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Thu Jul 10 17:47:19 2008 Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c Message-ID: <200807101747.m6AHl7rd058518@repoman.freebsd.org> brooks 2008-07-10 17:46:58 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c Log: SVN rev 180434 on 2008-07-10 17:46:58Z by brooks Regen Revision Changes Path 1.87 +38 -1 src/sys/compat/freebsd32/freebsd32_proto.h 1.85 +5 -5 src/sys/compat/freebsd32/freebsd32_syscall.h 1.76 +5 -5 src/sys/compat/freebsd32/freebsd32_syscalls.c 1.86 +5 -5 src/sys/compat/freebsd32/freebsd32_sysent.c From kris at FreeBSD.org Thu Jul 10 17:53:23 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jul 10 17:53:35 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c Message-ID: <200807101753.m6AHrNCX059003@repoman.freebsd.org> kris 2008-07-10 17:53:10 UTC FreeBSD src repository Modified files: sbin/mount_nfs mount_nfs.c Log: SVN rev 180435 on 2008-07-10 17:53:10Z by kris Fix -o mntudp after the conversion to default TCP mounts Submitted by: danfe MFC after: 1 week Revision Changes Path 1.78 +4 -1 src/sbin/mount_nfs/mount_nfs.c From olli at fromme.com Thu Jul 10 18:25:57 2008 From: olli at fromme.com (Oliver Fromme) Date: Thu Jul 10 18:26:08 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c In-Reply-To: <200807101753.m6AHrNCX059003@repoman.freebsd.org> from "Kris Kennaway" at Jul 10, 2008 05:53:10 PM Message-ID: <200807101825.m6AIPsoO016253@haluter.fromme.com> Kris Kennaway wrote: > > kris 2008-07-10 17:53:10 UTC > > FreeBSD src repository > > Modified files: > sbin/mount_nfs mount_nfs.c > Log: > SVN rev 180435 on 2008-07-10 17:53:10Z by kris > > Fix -o mntudp after the conversion to default TCP mounts > > Submitted by: danfe > MFC after: 1 week Does that mean you will also MFC the conversion to default TCP mounts? RELENG_7 still uses UDP by default. If you MFC that, I suggest you add an entry to src/UPDATING and possibly post a headsup to the -stable list, because the change might affect people in unexpected ways. Currently I happen to work at a customer with several NetApp filers that support TCP mounts only if the -U option is used. UDP mounts work fine. TCP mounts without the -U option just hang and require a reboot. It is probably a bug in the filers' firmware, but said customer cannot update the firmware for other, unrelated reasons. Another case where people might be bitten is when there are packet filter rules that allow UDP mounts only. An appropriate UPDATING entry and/or a HEADSUP in -stable might save some people's day. Best regards Oliver -- Oliver Fromme, Bunsenstr. 13, 81735 Muenchen, Germany ``We are all but compressed light'' (Albert Einstein) From kris at FreeBSD.org Thu Jul 10 18:31:24 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jul 10 18:31:30 2008 Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c In-Reply-To: <200807101825.m6AIPsoO016253@haluter.fromme.com> References: <200807101825.m6AIPsoO016253@haluter.fromme.com> Message-ID: <48765579.1060000@FreeBSD.org> Oliver Fromme wrote: > Kris Kennaway wrote: > > > > kris 2008-07-10 17:53:10 UTC > > > > FreeBSD src repository > > > > Modified files: > > sbin/mount_nfs mount_nfs.c > > Log: > > SVN rev 180435 on 2008-07-10 17:53:10Z by kris > > > > Fix -o mntudp after the conversion to default TCP mounts > > > > Submitted by: danfe > > MFC after: 1 week > > Does that mean you will also MFC the conversion to default > TCP mounts? RELENG_7 still uses UDP by default. > > If you MFC that, I suggest you add an entry to src/UPDATING > and possibly post a headsup to the -stable list, because > the change might affect people in unexpected ways. Yeah I will. I had planned to MFC it already actually (and had forgotten), but there were problems reported initially that turned out to be non-problems. > Currently I happen to work at a customer with several > NetApp filers that support TCP mounts only if the -U > option is used. UDP mounts work fine. TCP mounts without > the -U option just hang and require a reboot. It is > probably a bug in the filers' firmware, but said customer > cannot update the firmware for other, unrelated reasons. > > Another case where people might be bitten is when there > are packet filter rules that allow UDP mounts only. > > An appropriate UPDATING entry and/or a HEADSUP in -stable > might save some people's day. Kris From brde at optusnet.com.au Thu Jul 10 18:38:25 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Thu Jul 10 18:38:37 2008 Subject: cvs commit: src/share/man/man9 style.9 In-Reply-To: <200807101125.m6ABP0tf097941@repoman.freebsd.org> References: <200807101125.m6ABP0tf097941@repoman.freebsd.org> Message-ID: <20080711043805.W31440@delplex.bde.org> On Thu, 10 Jul 2008, Daniel Gerzo wrote: > danger 2008-07-10 11:24:41 UTC > > FreeBSD src repository > > Modified files: > share/man/man9 style.9 > Log: > SVN rev 180424 on 2008-07-10 11:24:41Z by danger > > Back-out my previous change. See the thread at > http://lists.freebsd.org/pipermail/cvs-all/2008-July/263779.html > > Revision Changes Path > 1.127 +6 -3 src/share/man/man9/style.9 Thanks. Bruce From brooks at FreeBSD.org Thu Jul 10 19:54:42 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Thu Jul 10 19:54:56 2008 Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_misc.c Message-ID: <200807101954.m6AJsgaS071385@repoman.freebsd.org> brooks 2008-07-10 19:54:34 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_misc.c Log: SVN rev 180436 on 2008-07-10 19:54:34Z by brooks style(9): put parentheses around return values. Revision Changes Path 1.77 +4 -4 src/sys/compat/freebsd32/freebsd32_misc.c From remko at FreeBSD.org Thu Jul 10 21:37:01 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Thu Jul 10 21:37:12 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200807102136.m6ALaxgw093827@repoman.freebsd.org> remko 2008-07-10 21:36:53 UTC FreeBSD src repository Modified files: sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 180437 on 2008-07-10 21:36:53Z by remko Detect ATA controllers in the Macbook3. PR: 118135 Submitted by: ed Approved by: imp (mentor, implicit) MFC after: 1 week Revision Changes Path 1.224 +2 -1 src/sys/dev/ata/ata-chipset.c 1.89 +3 -2 src/sys/dev/ata/ata-pci.h From obrien at freebsd.org Thu Jul 10 23:37:22 2008 From: obrien at freebsd.org (David O'Brien) Date: Thu Jul 10 23:37:34 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: References: <200807101635.m6AGZv7I090311@svn.freebsd.org> Message-ID: <20080710233721.GA55073@dragon.NUXI.org> On Thu, Jul 10, 2008 at 10:35:35AM -0700, Peter Wemm wrote: > On Thu, Jul 10, 2008 at 9:35 AM, David E. O'Brien wrote: > > Author: obrien > > Date: Thu Jul 10 16:35:57 2008 > > New Revision: 180431 > > URL: http://svn.freebsd.org/changeset/base/180431 > > > > Log: > > Allow 'elf_file_t' to be used in a wider scope. > > > > Modified: > > head/sys/kern/link_elf.c > > head/sys/sys/link_elf.h > > This really was intentional. elf_file_t was supposed to be opaque and > changeable. What do you need this for? Juniper needs to be able to call functions in the loadable modules before the modules are actually linked into the kernel. This will be used to call platform specific initialization functions early in the bootup process. Will also need un-static link_elf_preload_parse_symbols, parse_dynamic, symbol_name, link_elf_lookup_symbol, link_elf_symbol_values. -- -- David (obrien@FreeBSD.org) From peter at wemm.org Thu Jul 10 23:58:07 2008 From: peter at wemm.org (Peter Wemm) Date: Thu Jul 10 23:58:14 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: <20080710233721.GA55073@dragon.NUXI.org> References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> Message-ID: On Thu, Jul 10, 2008 at 4:37 PM, David O'Brien wrote: > On Thu, Jul 10, 2008 at 10:35:35AM -0700, Peter Wemm wrote: >> On Thu, Jul 10, 2008 at 9:35 AM, David E. O'Brien wrote: >> > Author: obrien >> > Date: Thu Jul 10 16:35:57 2008 >> > New Revision: 180431 >> > URL: http://svn.freebsd.org/changeset/base/180431 >> > >> > Log: >> > Allow 'elf_file_t' to be used in a wider scope. >> > >> > Modified: >> > head/sys/kern/link_elf.c >> > head/sys/sys/link_elf.h >> >> This really was intentional. elf_file_t was supposed to be opaque and >> changeable. What do you need this for? > > Juniper needs to be able to call functions in the loadable modules before > the modules are actually linked into the kernel. This will be used to > call platform specific initialization functions early in the bootup > process. Will also need un-static link_elf_preload_parse_symbols, > parse_dynamic, symbol_name, link_elf_lookup_symbol, > link_elf_symbol_values. I think you should leave it in Juniper's tree for a tad longer: ../../../kern/link_elf_obj.c:88: error: redefinition of 'struct elf_file' ../../../kern/link_elf_obj.c:119: error: redefinition of typedef 'elf_file_t' ../../../sys/link_elf.h:133: error: previous declaration of 'elf_file_t' was here There is a better way to do what you want though. You're using loader still, right? I have old code kicking around that allowed linking the kernel against a hal module properly. I did this to support linking the kernel against an apic / smp / apic / 8259 module and combinations. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From peter at wemm.org Fri Jul 11 00:00:03 2008 From: peter at wemm.org (Peter Wemm) Date: Fri Jul 11 00:00:09 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> Message-ID: On Thu, Jul 10, 2008 at 4:58 PM, Peter Wemm wrote: > On Thu, Jul 10, 2008 at 4:37 PM, David O'Brien wrote: >> On Thu, Jul 10, 2008 at 10:35:35AM -0700, Peter Wemm wrote: >>> On Thu, Jul 10, 2008 at 9:35 AM, David E. O'Brien wrote: >>> > Author: obrien >>> > Date: Thu Jul 10 16:35:57 2008 >>> > New Revision: 180431 >>> > URL: http://svn.freebsd.org/changeset/base/180431 >>> > >>> > Log: >>> > Allow 'elf_file_t' to be used in a wider scope. >>> > >>> > Modified: >>> > head/sys/kern/link_elf.c >>> > head/sys/sys/link_elf.h >>> >>> This really was intentional. elf_file_t was supposed to be opaque and >>> changeable. What do you need this for? >> >> Juniper needs to be able to call functions in the loadable modules before >> the modules are actually linked into the kernel. This will be used to >> call platform specific initialization functions early in the bootup >> process. Will also need un-static link_elf_preload_parse_symbols, >> parse_dynamic, symbol_name, link_elf_lookup_symbol, >> link_elf_symbol_values. > > I think you should leave it in Juniper's tree for a tad longer: > ../../../kern/link_elf_obj.c:88: error: redefinition of 'struct elf_file' > ../../../kern/link_elf_obj.c:119: error: redefinition of typedef 'elf_file_t' > ../../../sys/link_elf.h:133: error: previous declaration of > 'elf_file_t' was here > > There is a better way to do what you want though. You're using loader > still, right? I have old code kicking around that allowed linking the > kernel against a hal module properly. I did this to support linking > the kernel against an apic / smp / apic / 8259 module and > combinations. I forgot to mention.. the fact that kld's happen to currently be ELF is very specifically and deliberately not part of any public API. All references go via linker_* because there is no guarantee about elf, a.out, pecoff, raw binary, whatever. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From obrien at freebsd.org Fri Jul 11 00:51:13 2008 From: obrien at freebsd.org (David O'Brien) Date: Fri Jul 11 00:51:18 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> Message-ID: <20080711005112.GA60061@dragon.NUXI.org> On Thu, Jul 10, 2008 at 04:58:05PM -0700, Peter Wemm wrote: > On Thu, Jul 10, 2008 at 4:37 PM, David O'Brien wrote: > > On Thu, Jul 10, 2008 at 10:35:35AM -0700, Peter Wemm wrote: > >> On Thu, Jul 10, 2008 at 9:35 AM, David E. O'Brien wrote: > >> > Author: obrien > >> > Date: Thu Jul 10 16:35:57 2008 > >> > New Revision: 180431 > >> > URL: http://svn.freebsd.org/changeset/base/180431 > >> > > >> > Log: > >> > Allow 'elf_file_t' to be used in a wider scope. > >> > > >> > Modified: > >> > head/sys/kern/link_elf.c > >> > head/sys/sys/link_elf.h > >> > >> This really was intentional. elf_file_t was supposed to be opaque and > >> changeable. What do you need this for? > > > > Juniper needs to be able to call functions in the loadable modules before > > the modules are actually linked into the kernel. This will be used to > > call platform specific initialization functions early in the bootup > > process. Will also need un-static link_elf_preload_parse_symbols, > > parse_dynamic, symbol_name, link_elf_lookup_symbol, > > link_elf_symbol_values. > > I think you should leave it in Juniper's tree for a tad longer: > ../../../kern/link_elf_obj.c:88: error: redefinition of 'struct elf_file' > ../../../kern/link_elf_obj.c:119: error: redefinition of typedef 'elf_file_t' > ../../../sys/link_elf.h:133: error: previous declaration of > 'elf_file_t' was here What arch are you building on? I built i386 LINT with this change. So I need some help reproducing the build break. -- -- David (obrien@FreeBSD.org) From obrien at freebsd.org Fri Jul 11 00:52:55 2008 From: obrien at freebsd.org (David O'Brien) Date: Fri Jul 11 00:53:00 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: <20080711005112.GA60061@dragon.NUXI.org> References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> <20080711005112.GA60061@dragon.NUXI.org> Message-ID: <20080711005254.GA71536@dragon.NUXI.org> On Thu, Jul 10, 2008 at 05:51:12PM -0700, David O'Brien (@FreeBSD) wrote: > On Thu, Jul 10, 2008 at 04:58:05PM -0700, Peter Wemm wrote: > > I think you should leave it in Juniper's tree for a tad longer: > > ../../../kern/link_elf_obj.c:88: error: redefinition of 'struct elf_file' > > ../../../kern/link_elf_obj.c:119: error: redefinition of typedef 'elf_file_t' > > ../../../sys/link_elf.h:133: error: previous declaration of > > 'elf_file_t' was here > > What arch are you building on? I built i386 LINT with this change. So > I need some help reproducing the build break. Ah, kern/link_elf_obj.c is only used in the AMD64 build. -- -- David (obrien@FreeBSD.org) From obrien at freebsd.org Fri Jul 11 00:54:36 2008 From: obrien at freebsd.org (David O'Brien) Date: Fri Jul 11 00:54:43 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> Message-ID: <20080711005435.GB60061@dragon.NUXI.org> On Thu, Jul 10, 2008 at 04:58:05PM -0700, Peter Wemm wrote: > There is a better way to do what you want though. You're using loader > still, right? Correct - however loader.conf is ignored. > I have old code kicking around that allowed linking the > kernel against a hal module properly. I did this to support linking > the kernel against an apic / smp / apic / 8259 module and > combinations. I'd be happy to try your code. :-) -- -- David (obrien@FreeBSD.org) From kris at FreeBSD.org Fri Jul 11 00:54:52 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Fri Jul 11 00:54:59 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: <20080711005112.GA60061@dragon.NUXI.org> References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> <20080711005112.GA60061@dragon.NUXI.org> Message-ID: <4876AF59.2070107@FreeBSD.org> David O'Brien wrote: > On Thu, Jul 10, 2008 at 04:58:05PM -0700, Peter Wemm wrote: >> On Thu, Jul 10, 2008 at 4:37 PM, David O'Brien wrote: >>> On Thu, Jul 10, 2008 at 10:35:35AM -0700, Peter Wemm wrote: >>>> On Thu, Jul 10, 2008 at 9:35 AM, David E. O'Brien wrote: >>>>> Author: obrien >>>>> Date: Thu Jul 10 16:35:57 2008 >>>>> New Revision: 180431 >>>>> URL: http://svn.freebsd.org/changeset/base/180431 >>>>> >>>>> Log: >>>>> Allow 'elf_file_t' to be used in a wider scope. >>>>> >>>>> Modified: >>>>> head/sys/kern/link_elf.c >>>>> head/sys/sys/link_elf.h >>>> This really was intentional. elf_file_t was supposed to be opaque and >>>> changeable. What do you need this for? >>> Juniper needs to be able to call functions in the loadable modules before >>> the modules are actually linked into the kernel. This will be used to >>> call platform specific initialization functions early in the bootup >>> process. Will also need un-static link_elf_preload_parse_symbols, >>> parse_dynamic, symbol_name, link_elf_lookup_symbol, >>> link_elf_symbol_values. >> I think you should leave it in Juniper's tree for a tad longer: >> ../../../kern/link_elf_obj.c:88: error: redefinition of 'struct elf_file' >> ../../../kern/link_elf_obj.c:119: error: redefinition of typedef 'elf_file_t' >> ../../../sys/link_elf.h:133: error: previous declaration of >> 'elf_file_t' was here > > What arch are you building on? I built i386 LINT with this change. So I > need some help reproducing the build break. > amd64 is broken Kris From jhb at freebsd.org Fri Jul 11 00:57:19 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Jul 11 00:57:24 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: <20080710233721.GA55073@dragon.NUXI.org> References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> Message-ID: <200807101947.02351.jhb@freebsd.org> On Thursday 10 July 2008 07:37:21 pm David O'Brien wrote: > On Thu, Jul 10, 2008 at 10:35:35AM -0700, Peter Wemm wrote: > > On Thu, Jul 10, 2008 at 9:35 AM, David E. O'Brien wrote: > > > Author: obrien > > > Date: Thu Jul 10 16:35:57 2008 > > > New Revision: 180431 > > > URL: http://svn.freebsd.org/changeset/base/180431 > > > > > > Log: > > > Allow 'elf_file_t' to be used in a wider scope. > > > > > > Modified: > > > head/sys/kern/link_elf.c > > > head/sys/sys/link_elf.h > > > > This really was intentional. elf_file_t was supposed to be opaque and > > changeable. What do you need this for? > > Juniper needs to be able to call functions in the loadable modules before > the modules are actually linked into the kernel. This will be used to > call platform specific initialization functions early in the bootup > process. Will also need un-static link_elf_preload_parse_symbols, > parse_dynamic, symbol_name, link_elf_lookup_symbol, > link_elf_symbol_values. Might a better approach be to fix the loader to do the link instead of the kernel so that modules loaded via the loader are available from the very start of boot. As it is, it seems that this would be a very fragile thing to do (what happens if your platform routines call any other routines that aren't already in the module (like printf) that need to have their symbols resolved?). -- John Baldwin From obrien at FreeBSD.org Fri Jul 11 01:14:01 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Jul 11 01:14:12 2008 Subject: cvs commit: src/sys/kern link_elf.c src/sys/sys link_elf.h Message-ID: <200807110114.m6B1E1pF050367@repoman.freebsd.org> obrien 2008-07-11 01:10:40 UTC FreeBSD src repository Modified files: sys/kern link_elf.c sys/sys link_elf.h Log: SVN rev 180438 on 2008-07-11 01:10:40Z by obrien Revert r180431. r180431 broke the AMD64 build (the only arch using kern/link_elf_obj.c) Revision Changes Path 1.100 +47 -0 src/sys/kern/link_elf.c 1.29 +0 -51 src/sys/sys/link_elf.h From peter at wemm.org Fri Jul 11 01:16:33 2008 From: peter at wemm.org (Peter Wemm) Date: Fri Jul 11 01:16:46 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: <20080711005435.GB60061@dragon.NUXI.org> References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> <20080711005435.GB60061@dragon.NUXI.org> Message-ID: On Thu, Jul 10, 2008 at 5:54 PM, David O'Brien wrote: > On Thu, Jul 10, 2008 at 04:58:05PM -0700, Peter Wemm wrote: >> There is a better way to do what you want though. You're using loader >> still, right? > > Correct - however loader.conf is ignored. > >> I have old code kicking around that allowed linking the >> kernel against a hal module properly. I did this to support linking >> the kernel against an apic / smp / apic / 8259 module and >> combinations. > > I'd be happy to try your code. :-) Heh. I just knew it! I knew I should have kept my mouth shut. :) What I had working was essentially moving the preload code from link_elf.c (relative to early freebsd-5 trees) into the loader. This allowed the kernel to have symbol references to preload modules. Run-time module became relatively simple. What I didn't finish was passing metadata through to the running kernel. That meant that the pre-boot link was both permanent (no unloads) and wasn't able to be referenced after boot. Other .ko files wouldn't see the preloaded one. This was a lack of completion issue, not so much a fundamental design requirement. However, even if re-adding the ability to unload a preloaded module was done, you couldn't unload something that the kernel itself depended on, naturally enough. I'll find the machine. Its got all sorts of other goodies on it that I've been meaning to liberate for years. (ps: this is a good example of why code should always be checked into a public repo instead of a private repo) -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From mtm at FreeBSD.org Fri Jul 11 08:11:54 2008 From: mtm at FreeBSD.org (Mike Makonnen) Date: Fri Jul 11 08:12:06 2008 Subject: cvs commit: src/etc/rc.d pf Message-ID: <200807110811.m6B8BswI004269@repoman.freebsd.org> mtm 2008-07-11 08:11:49 UTC FreeBSD src repository Modified files: etc/rc.d pf Log: SVN rev 180440 on 2008-07-11 08:11:49Z by mtm The pfctl(8) program is already pretty verbose, so don't print extra information in quiet mode. Revision Changes Path 1.17 +2 -2 src/etc/rc.d/pf From danger at FreeBSD.org Fri Jul 11 09:35:29 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Fri Jul 11 09:35:35 2008 Subject: cvs commit: src/lib/libc/stdlib hcreate.3 Message-ID: <200807110935.m6B9ZSGQ021242@repoman.freebsd.org> danger 2008-07-11 09:35:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/stdlib hcreate.3 Log: SVN rev 180441 on 2008-07-11 09:35:20Z by danger MFC r180325 and r180329: - This code was intially obtained from NetBSD, but it's missing licence statement. Add the one from the current NetBSD version. - Add description about a missing return value [1] PR: docs/75995 Submitted by: Tarc Revision Changes Path 1.5.10.1 +35 -3 src/lib/libc/stdlib/hcreate.3 From danger at FreeBSD.org Fri Jul 11 09:37:31 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Fri Jul 11 09:37:38 2008 Subject: cvs commit: src/lib/libc/stdlib hcreate.3 Message-ID: <200807110937.m6B9bT5G021411@repoman.freebsd.org> danger 2008-07-11 09:37:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/stdlib hcreate.3 Log: SVN rev 180442 on 2008-07-11 09:37:24Z by danger MFC r180325 and r180329: - This code was intially obtained from NetBSD, but it's missing licence statement. Add the one from the current NetBSD version. - Add description about a missing return value [1] PR: docs/75995 Submitted by: Tarc Revision Changes Path 1.5.2.1 +35 -3 src/lib/libc/stdlib/hcreate.3 From danger at FreeBSD.org Fri Jul 11 09:39:45 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Fri Jul 11 09:39:52 2008 Subject: cvs commit: src/lib/libc/stdlib hcreate.c Message-ID: <200807110939.m6B9djcs021585@repoman.freebsd.org> danger 2008-07-11 09:39:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/stdlib hcreate.c Log: SVN rev 180443 on 2008-07-11 09:39:33Z by danger MFC r180323: - remove superfluous word - remove contractions Revision Changes Path 1.3.14.1 +3 -3 src/lib/libc/stdlib/hcreate.c From danger at FreeBSD.org Fri Jul 11 09:40:36 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Fri Jul 11 09:40:50 2008 Subject: cvs commit: src/lib/libc/stdlib hcreate.c Message-ID: <200807110940.m6B9ea99021738@repoman.freebsd.org> danger 2008-07-11 09:40:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/stdlib hcreate.c Log: SVN rev 180444 on 2008-07-11 09:40:14Z by danger MFC r180323: - remove superfluous word - remove contractions Revision Changes Path 1.3.24.1 +3 -3 src/lib/libc/stdlib/hcreate.c From kib at FreeBSD.org Fri Jul 11 11:22:38 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Jul 11 11:22:50 2008 Subject: cvs commit: src/sys/kern kern_conf.c Message-ID: <200807111122.m6BBMcLi031979@repoman.freebsd.org> kib 2008-07-11 11:22:19 UTC FreeBSD src repository Modified files: sys/kern kern_conf.c Log: SVN rev 180445 on 2008-07-11 11:22:19Z by kib Make it atomic for the devfs_populate_loop() to see the setting of SI_ALIAS flag and initialization of the si_parent when alias is created. Assert that supplied parent device is not NULL. Both situations could cause NULL dereference in the devfs_populate_loop() when creating a symlink for SI_ALIAS'ed device. Namely, cdp->cdp_c.si_parent may be NULL. Reported by: mav MFC after: 2 weeks Revision Changes Path 1.219 +2 -1 src/sys/kern/kern_conf.c From kib at FreeBSD.org Fri Jul 11 11:27:54 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Jul 11 11:28:05 2008 Subject: cvs commit: src/sys/vm swap_pager.c Message-ID: <200807111127.m6BBRs9M032431@repoman.freebsd.org> kib 2008-07-11 11:27:42 UTC FreeBSD src repository Modified files: sys/vm swap_pager.c Log: SVN rev 180446 on 2008-07-11 11:27:42Z by kib Use the VM_ALLOC_INTERRUPT for the page requests when allocating memory for the bio for swapout write. It allows the page allocator to drain free page list deeper. As result, a deadlock where pageout deamon sleeps waiting for bio to be allocated for swapout is no more reproducable in practice. Alan said that M_USE_RESERVE shall be ressurrected and used there, but until this is implemented, M_NOWAIT does exactly what is needed. Tested by: pho, kris Reviewed by: alc No objections from: phk MFC after: 2 weeks (RELENG_7 only) Revision Changes Path 1.302 +5 -7 src/sys/vm/swap_pager.c From obrien at FreeBSD.org Fri Jul 11 14:48:43 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Fri Jul 11 14:48:54 2008 Subject: cvs commit: src/sys/kern link_elf_obj.c Message-ID: <200807111448.m6BEmgSm066006@repoman.freebsd.org> obrien 2008-07-11 14:48:28 UTC FreeBSD src repository Modified files: sys/kern link_elf_obj.c Log: SVN rev 180447 on 2008-07-11 14:48:28Z by obrien Improve readability and cscope searches a little bit by not using the same variable name in closely related (but not conflicting) contexts. Revision Changes Path 1.102 +38 -38 src/sys/kern/link_elf_obj.c From brooks at FreeBSD.org Fri Jul 11 15:17:14 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Fri Jul 11 15:17:20 2008 Subject: cvs commit: src/lib/libc/sys Symbol.map Message-ID: <200807111517.m6BFHDvx070211@repoman.freebsd.org> brooks 2008-07-11 15:17:06 UTC FreeBSD src repository Modified files: lib/libc/sys Symbol.map Log: SVN rev 180448 on 2008-07-11 15:17:06Z by brooks Put the _cpuset* symbols in FBSDprivate_1.0 instead of trying to put nonexistant __cpuset* there. Revision Changes Path 1.17 +5 -5 src/lib/libc/sys/Symbol.map From nyan at FreeBSD.org Fri Jul 11 15:43:18 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Jul 11 15:43:24 2008 Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c Message-ID: <200807111543.m6BFhFIm072526@repoman.freebsd.org> nyan 2008-07-11 15:43:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/i386/boot2 boot2.c Log: SVN rev 180449 on 2008-07-11 15:43:07Z by nyan MFC: r180145 Fix off-by-one error. Revision Changes Path 1.83.2.4 +1 -1 src/sys/boot/i386/boot2/boot2.c From brooks at FreeBSD.org Fri Jul 11 15:47:20 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Fri Jul 11 15:47:27 2008 Subject: cvs commit: src/lib/libc/sys Symbol.map In-Reply-To: <200807111517.m6BFHDvx070211@repoman.freebsd.org> References: <200807111517.m6BFHDvx070211@repoman.freebsd.org> Message-ID: <20080711151922.GA24600@lor.one-eyed-alien.net> On Fri, Jul 11, 2008 at 03:17:06PM +0000, Brooks Davis wrote: > brooks 2008-07-11 15:17:06 UTC > > FreeBSD src repository > > Modified files: > lib/libc/sys Symbol.map > Log: > SVN rev 180448 on 2008-07-11 15:17:06Z by brooks > > Put the _cpuset* symbols in FBSDprivate_1.0 instead of trying to put > nonexistant __cpuset* there. I'm actually a bit curious why we put these and the __sys_* symbols in any map at all unless they are actually used by something. -- Brooks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080711/2f3c7e21/attachment.pgp From nyan at FreeBSD.org Fri Jul 11 15:50:18 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Fri Jul 11 15:50:29 2008 Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c Message-ID: <200807111550.m6BFoFwp073112@repoman.freebsd.org> nyan 2008-07-11 15:50:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/boot/i386/boot2 boot2.c Log: SVN rev 180450 on 2008-07-11 15:50:09Z by nyan MFC: r180145 Fix off-by-one error. Revision Changes Path 1.72.2.9 +1 -1 src/sys/boot/i386/boot2/boot2.c From deischen at freebsd.org Fri Jul 11 16:30:40 2008 From: deischen at freebsd.org (Daniel Eischen) Date: Fri Jul 11 16:30:46 2008 Subject: cvs commit: src/lib/libc/sys Symbol.map In-Reply-To: <20080711151922.GA24600@lor.one-eyed-alien.net> References: <200807111517.m6BFHDvx070211@repoman.freebsd.org> <20080711151922.GA24600@lor.one-eyed-alien.net> Message-ID: On Fri, 11 Jul 2008, Brooks Davis wrote: > On Fri, Jul 11, 2008 at 03:17:06PM +0000, Brooks Davis wrote: >> brooks 2008-07-11 15:17:06 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libc/sys Symbol.map >> Log: >> SVN rev 180448 on 2008-07-11 15:17:06Z by brooks >> >> Put the _cpuset* symbols in FBSDprivate_1.0 instead of trying to put >> nonexistant __cpuset* there. > > I'm actually a bit curious why we put these and the __sys_* symbols in > any map at all unless they are actually used by something. That's a good point, I guess. The usual consumer of some of these private symbols are the thread libraries, but if they don't need to be exported to anything, then perhaps we should remove them. -- DE From lulf at FreeBSD.org Fri Jul 11 16:46:47 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Fri Jul 11 16:46:53 2008 Subject: cvs commit: src/sys/geom/vinum geom_vinum_subr.c Message-ID: <200807111646.m6BGkltp078668@repoman.freebsd.org> lulf 2008-07-11 16:46:29 UTC FreeBSD src repository Modified files: sys/geom/vinum geom_vinum_subr.c Log: SVN rev 180451 on 2008-07-11 16:46:29Z by lulf - Fix a logic error when updating plex configuration. Approved by: pjd (mentor) Revision Changes Path 1.17 +2 -1 src/sys/geom/vinum/geom_vinum_subr.c From emax at FreeBSD.org Fri Jul 11 17:13:57 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Fri Jul 11 17:14:08 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/drivers/ubt TODO ng_ubt.c ng_ubt_var.h Message-ID: <200807111713.m6BHDmhH091219@repoman.freebsd.org> emax 2008-07-11 17:13:43 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/drivers/ubt TODO ng_ubt.c ng_ubt_var.h Log: SVN rev 180452 on 2008-07-11 17:13:43Z by emax Dust off old code for support of USB isochronous transfers. USB isochronous transfer support is required for Bluetooth SCO. While i'm here change u_int to uint and update TODO. This should produce no visible changes unless the device is broken (or really old). MFC after: 3 months Revision Changes Path 1.3 +6 -0 src/sys/netgraph/bluetooth/drivers/ubt/TODO 1.34 +320 -205 src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c 1.8 +19 -14 src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h From delphij at FreeBSD.org Fri Jul 11 18:26:22 2008 From: delphij at FreeBSD.org (Xin LI) Date: Fri Jul 11 18:26:29 2008 Subject: cvs commit: src/sys/dev/et if_et.c Message-ID: <200807111826.m6BIQK3u000159@repoman.freebsd.org> delphij 2008-07-11 18:26:12 UTC FreeBSD src repository Modified files: sys/dev/et if_et.c Log: SVN rev 180453 on 2008-07-11 18:26:12Z by delphij Don't leak DMA map if not freed. Submitted by: kevlo Revision Changes Path 1.2 +2 -0 src/sys/dev/et/if_et.c From scottl at FreeBSD.org Fri Jul 11 21:21:08 2008 From: scottl at FreeBSD.org (Scott Long) Date: Fri Jul 11 21:21:19 2008 Subject: cvs commit: src/sys/dev/ciss ciss.c cissio.h cissreg.h cissvar.h Message-ID: <200807112121.m6BLL70t031426@repoman.freebsd.org> scottl 2008-07-11 21:20:51 UTC FreeBSD src repository Modified files: sys/dev/ciss ciss.c cissio.h cissreg.h cissvar.h Log: SVN rev 180454 on 2008-07-11 21:20:51Z by scottl A number of significant enhancements to the ciss driver: 1. The FreeBSD driver was setting an interrupt coalesce delay of 1000us for reasons that I can only speculate on. This was hurting everything from lame sequential I/O "benchmarks" to legitimate filesystem metadata operations that relied on serialized barrier writes. One of my filesystem tests went from 35s to complete down to 6s. 2. Implemented the Performant transport method. Without the fix in (1), I saw almost no difference. With it, my filesystem tests showed another 5-10% improvement in speed. It was hard to measure CPU utilization in any meaningful way, so it's not clear if there was a benefit there, though there should have been since the interrupt handler was reduced from 2 or more PCI reads down to 1. 3. Implemented MSI-X. Without any docs on this, I was just taking a guess, and it appears to only work with the Performant method. This could be a programming or understanding mistake on my part. While this by itself made almost no difference to performance since the Performant method already eliminated most of the synchronous reads over the PCI bus, it did allow the CISS hardware to stop sharing its interrupt with the USB hardware, which in turn allowed the driver to become decoupled from the Giant-locked USB driver stack. This increased performance by almost 20%. The MSI-X setup was done with 4 vectors allocated, but only 1 vector used since the performant method was told to only use 1 of 4 queues. Fiddling with this might make it work with the simpleq method, not sure. I did not implement MSI since I have no MSI-specific hardware in my test lab. 4. Improved the locking in the driver, trimmed some data structures. This didn't improve test times in any measurable way, but it does look like it gave a minor improvement to CPU usage when many processes/threads were doing I/O in parallel. Again, this was hard to accurately test. Revision Changes Path 1.90 +388 -93 src/sys/dev/ciss/ciss.c 1.6 +19 -0 src/sys/dev/ciss/cissio.h 1.17 +36 -0 src/sys/dev/ciss/cissreg.h 1.12 +51 -57 src/sys/dev/ciss/cissvar.h From jeremie at le-hen.org Fri Jul 11 21:24:20 2008 From: jeremie at le-hen.org (Jeremie Le Hen) Date: Fri Jul 11 21:24:32 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080707155017.6850f3a5.stas@FreeBSD.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> Message-ID: <20080711211909.GB33517@obiwan.tataz.chchile.org> Hi Stanislas, Sorry for the late reply, I was abroad this week with limited Internet access. On Mon, Jul 07, 2008 at 03:50:17PM +0400, Stanislav Sedov wrote: > This break world on at91rm9200 and, probably, on other arm targets. > I haven't digged into the problem deeply, but the kernel doesn't seem to > be able to execute any ssp-enabled binaries (coredumps with bus error). Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? Thanks, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From edwin at FreeBSD.org Sat Jul 12 06:19:45 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Sat Jul 12 06:19:56 2008 Subject: cvs commit: src/usr.bin/ipcrm Makefile ipcrm.1 ipcrm.c src/usr.bin/ipcs Makefile ipc.c ipc.h ipcs.c Message-ID: <200807120619.m6C6JiUX016898@repoman.freebsd.org> edwin 2008-07-12 06:19:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/ipcrm Makefile ipcrm.1 ipcrm.c usr.bin/ipcs Makefile ipcs.c Added files: (Branch: RELENG_7) usr.bin/ipcs ipc.c ipc.h Log: SVN rev 180459 on 2008-07-12 06:19:25Z by edwin MFC of svn revision 174891 and 174750 Add the ability to clean up all shared memory segments which are unused in one go. PR: bin/118292 Submitted by: Callum Gibson Revision Changes Path 1.6.24.1 +5 -0 src/usr.bin/ipcrm/Makefile 1.14.2.1 +36 -1 src/usr.bin/ipcrm/ipcrm.1 1.11.24.1 +258 -126 src/usr.bin/ipcrm/ipcrm.c 1.7.18.1 +1 -0 src/usr.bin/ipcs/Makefile 1.1.2.1 +207 -0 src/usr.bin/ipcs/ipc.c (new) 1.1.2.1 +71 -0 src/usr.bin/ipcs/ipc.h (new) 1.29.2.1 +319 -430 src/usr.bin/ipcs/ipcs.c From edwin at FreeBSD.org Sat Jul 12 06:49:21 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Sat Jul 12 06:49:29 2008 Subject: cvs commit: src/usr.bin/ipcrm Makefile ipcrm.1 ipcrm.c src/usr.bin/ipcs Makefile ipc.c ipc.h ipcs.c Message-ID: <200807120649.m6C6nLaG019302@repoman.freebsd.org> edwin 2008-07-12 06:48:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/ipcrm Makefile ipcrm.1 ipcrm.c usr.bin/ipcs Makefile ipcs.c Added files: (Branch: RELENG_6) usr.bin/ipcs ipc.c ipc.h Log: SVN rev 180462 on 2008-07-12 06:48:59Z by edwin MFC of svn revision 174891 and 174750 Add the ability to clean up all shared memory segments which are unused in one go. PR: bin/118292 Submitted by: Callum Gibson Revision Changes Path 1.6.14.1 +5 -0 src/usr.bin/ipcrm/Makefile 1.13.8.1 +36 -1 src/usr.bin/ipcrm/ipcrm.1 1.11.14.1 +258 -126 src/usr.bin/ipcrm/ipcrm.c 1.7.8.1 +1 -0 src/usr.bin/ipcs/Makefile 1.1.4.1 +207 -0 src/usr.bin/ipcs/ipc.c (new) 1.1.4.1 +71 -0 src/usr.bin/ipcs/ipc.h (new) 1.27.2.2 +319 -430 src/usr.bin/ipcs/ipcs.c From trhodes at FreeBSD.org Sat Jul 12 08:01:23 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sat Jul 12 08:01:29 2008 Subject: cvs commit: src/share/man/man7 ports.7 Message-ID: <200807120801.m6C81NJ7026111@repoman.freebsd.org> trhodes 2008-07-12 08:01:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man7 ports.7 Log: SVN rev 180468 on 2008-07-12 08:01:05Z by trhodes MFC of SVN r175563: The config-recursive target is not run during the normal install process, move it down to where it belongs. Document 'all-depends-list' target and bump doc date. PR: 119519 Submitted by: Yuri Pankov Reviewed by: flz Revision Changes Path 1.61.2.3 +8 -6 src/share/man/man7/ports.7 From dougb at FreeBSD.org Sat Jul 12 08:07:14 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Sat Jul 12 08:07:20 2008 Subject: cvs commit: src/contrib/bind9/lib/bind aclocal.m4 config.h.in configure Message-ID: <200807120807.m6C87Exp027705@repoman.freebsd.org> dougb 2008-07-12 08:06:55 UTC FreeBSD src repository Removed files: (Branch: RELENG_6) contrib/bind9/lib/bind aclocal.m4 config.h.in configure Log: SVN rev 180469 on 2008-07-12 08:06:55Z by dougb These files are unused, and due to a more thorough FREEBSD-Xlist are no longer updated. Revision Changes Path 1.1.1.2.2.1 +0 -2 src/contrib/bind9/lib/bind/aclocal.m4 (dead) 1.1.1.2.2.3 +0 -58 src/contrib/bind9/lib/bind/config.h.in (dead) 1.1.1.2.2.3 +0 -33512 src/contrib/bind9/lib/bind/configure (dead) From dougb at FreeBSD.org Sat Jul 12 08:46:33 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Sat Jul 12 08:46:39 2008 Subject: cvs commit: src/contrib/bind9 FREEBSD-Upgrade FREEBSD-Xlist Message-ID: <200807120846.m6C8kXjl030861@repoman.freebsd.org> dougb 2008-07-12 08:46:21 UTC FreeBSD src repository Removed files: contrib/bind9 FREEBSD-Upgrade FREEBSD-Xlist Log: SVN rev 180475 on 2008-07-12 08:46:21Z by dougb The vendor area is the proper home for these files now. Revision Changes Path 1.10 +0 -120 src/contrib/bind9/FREEBSD-Upgrade (dead) 1.5 +0 -67 src/contrib/bind9/FREEBSD-Xlist (dead) From dougb at FreeBSD.org Sat Jul 12 09:38:52 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Sat Jul 12 09:39:04 2008 Subject: cvs commit: src/contrib/bind9 CHANGES version src/contrib/bind9/bin/named client.c server.c src/contrib/bind9/doc/arm Bv9ARM-book.xml Bv9ARM.ch06.html Bv9ARM.pdf src/contrib/bind9/lib/bind aclocal.m4 config.h.in ... Message-ID: <200807120938.m6C9cqqj045430@repoman.freebsd.org> dougb 2008-07-12 09:38:35 UTC FreeBSD src repository Modified files: contrib/bind9 CHANGES version contrib/bind9/bin/named client.c server.c contrib/bind9/doc/arm Bv9ARM-book.xml Bv9ARM.ch06.html Bv9ARM.pdf contrib/bind9/lib/bind9 check.c contrib/bind9/lib/dns api dispatch.c resolver.c contrib/bind9/lib/dns/include/dns dispatch.h Removed files: contrib/bind9/lib/bind aclocal.m4 config.h.in configure Log: SVN rev 180477 on 2008-07-12 09:38:35Z by dougb Merge from vendor/bind9/dist as of the 9.4.2-P1 import, including the patch from ISC for lib/bind9/check.c and deletion of unused files in lib/bind. This version will by default randomize the UDP query source port (and sequence number of course) for every query. In order to take advantage of this randomization users MUST have an appropriate firewall configuration to allow UDP queries to be sent and answers to be received on random ports; and users MUST NOT specify a port number using the query-source[-v6] options. The avoid-v[46]-udp-ports options exist for users who wish to eliminate certain port numbers from being chosen by named for this purpose. See the ARM Chatper 6 for more information. Also please note, this issue applies only to UDP query ports. A random ephemeral port is always chosen for TCP queries. This issue applies primarily to name servers whose main purpose is to resolve random queries (sometimes referred to as "caching" servers, or more properly as "resolving" servers), although even an "authoritative" name server will make some queries, primarily at startup time. All users of BIND are strongly encouraged to upgrade to the latest version, and to utilize the source port randomization feature. This update addresses issues raised in: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447 http://www.kb.cert.org/vuls/id/800113 http://tools.ietf.org/html/draft-ietf-dnsext-forgery-resilience Revision Changes Path 1.2 +2565 -920 src/contrib/bind9/CHANGES 1.2 +336 -62 src/contrib/bind9/bin/named/client.c 1.2 +986 -220 src/contrib/bind9/bin/named/server.c 1.2 +11732 -5969 src/contrib/bind9/doc/arm/Bv9ARM-book.xml 1.2 +6991 -11348 src/contrib/bind9/doc/arm/Bv9ARM.ch06.html 1.2 +9953 -6020 src/contrib/bind9/doc/arm/Bv9ARM.pdf 1.2 +0 -2 src/contrib/bind9/lib/bind/aclocal.m4 (dead) 1.2 +0 -45 src/contrib/bind9/lib/bind/config.h.in (dead) 1.2 +0 -31829 src/contrib/bind9/lib/bind/configure (dead) 1.2 +800 -169 src/contrib/bind9/lib/bind9/check.c 1.2 +1 -1 src/contrib/bind9/lib/dns/api 1.2 +349 -114 src/contrib/bind9/lib/dns/dispatch.c 1.2 +102 -94 src/contrib/bind9/lib/dns/include/dns/dispatch.h 1.2 +1053 -311 src/contrib/bind9/lib/dns/resolver.c 1.2 +5 -5 src/contrib/bind9/version From dougb at FreeBSD.org Sat Jul 12 10:00:39 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Sat Jul 12 10:00:50 2008 Subject: cvs commit: src/etc/namedb named.conf Message-ID: <200807121000.m6CA0dp7047153@repoman.freebsd.org> dougb 2008-07-12 10:00:36 UTC FreeBSD src repository Modified files: etc/namedb named.conf Log: SVN rev 180478 on 2008-07-12 10:00:36Z by dougb Strongly discourage the use of the query-source option, and explain why. Give a better example if a user absolutely must use this option, and suggest they pick something from the ephemeral port range rather than port 53. This means that the example will not work if it is merely uncommented, but this will hopefully encourage users to read the comment. Revision Changes Path 1.28 +13 -7 src/etc/namedb/named.conf From dougb at FreeBSD.org Sat Jul 12 10:07:48 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Sat Jul 12 10:08:00 2008 Subject: cvs commit: src/contrib/bind9 CHANGES version src/contrib/bind9/bin/named client.c server.c src/contrib/bind9/doc/arm Bv9ARM-book.xml Bv9ARM.ch06.html Bv9ARM.pdf src/contrib/bind9/lib/dns api dispatch.c resolver.c ... Message-ID: <200807121007.m6CA7mNR050345@repoman.freebsd.org> dougb 2008-07-12 10:07:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) contrib/bind9 CHANGES version contrib/bind9/bin/named client.c server.c contrib/bind9/doc/arm Bv9ARM-book.xml Bv9ARM.ch06.html Bv9ARM.pdf contrib/bind9/lib/dns api dispatch.c resolver.c contrib/bind9/lib/dns/include/dns dispatch.h Log: SVN rev 180479 on 2008-07-12 10:07:33Z by dougb Merge from vendor/bind9/dist-9.3 as of the 9.3.5-P1 import. This version will by default randomize the UDP query source port (and sequence number of course) for every query. In order to take advantage of this randomization users MUST have an appropriate firewall configuration to allow UDP queries to be sent and answers to be received on random ports; and users MUST NOT specify a port number using the query-source[-v6] options. The avoid-v[46]-udp-ports options exist for users who wish to eliminate certain port numbers from being chosen by named for this purpose. See the ARM Chatper 6 for more information. Also please note, this issue applies only to UDP query ports. A random ephemeral port is always chosen for TCP queries. This issue applies primarily to name servers whose main purpose is to resolve random queries (sometimes referred to as "caching" servers, or more properly as "resolving" servers), although even an "authoritative" name server will make some queries, primarily at startup time. All users of BIND are strongly encouraged to upgrade to the latest version, and to utilize the source port randomization feature. This update addresses issues raised in: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447 http://www.kb.cert.org/vuls/id/800113 http://tools.ietf.org/html/draft-ietf-dnsext-forgery-resilience Revision Changes Path 1.1.1.3.2.8 +5 -0 src/contrib/bind9/CHANGES 1.1.1.2.2.5 +1 -9 src/contrib/bind9/bin/named/client.c 1.1.1.2.2.4 +27 -7 src/contrib/bind9/bin/named/server.c 1.1.1.2.2.4 +10 -2 src/contrib/bind9/doc/arm/Bv9ARM-book.xml 1.1.1.2.2.4 +10 -2 src/contrib/bind9/doc/arm/Bv9ARM.ch06.html 1.1.1.1.2.4 +840 -860 src/contrib/bind9/doc/arm/Bv9ARM.pdf 1.1.1.2.2.5 +3 -3 src/contrib/bind9/lib/dns/api 1.1.1.1.4.4 +234 -473 src/contrib/bind9/lib/dns/dispatch.c 1.1.1.1.4.3 +5 -8 src/contrib/bind9/lib/dns/include/dns/dispatch.h 1.1.1.2.2.8 +38 -5 src/contrib/bind9/lib/dns/resolver.c 1.1.1.3.2.8 +3 -3 src/contrib/bind9/version From nyan at FreeBSD.org Sat Jul 12 11:35:37 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Sat Jul 12 11:35:43 2008 Subject: cvs commit: src/sys/boot/pc98/boot2 README.serial.98 Message-ID: <200807121135.m6CBZabn058332@repoman.freebsd.org> nyan 2008-07-12 11:35:27 UTC FreeBSD src repository Removed files: (Branch: RELENG_7) sys/boot/pc98/boot2 README.serial.98 Log: SVN rev 180480 on 2008-07-12 11:35:27Z by nyan MFC: r180253 Remove Japanese document. Revision Changes Path 1.2.24.1 +0 -65 src/sys/boot/pc98/boot2/README.serial.98 (dead) From nyan at FreeBSD.org Sat Jul 12 11:43:52 2008 From: nyan at FreeBSD.org (Takahashi Yoshihiro) Date: Sat Jul 12 11:44:04 2008 Subject: cvs commit: src/sys/boot/pc98/boot2 README.serial.98 Message-ID: <200807121143.m6CBhqhZ058933@repoman.freebsd.org> nyan 2008-07-12 11:43:38 UTC FreeBSD src repository Removed files: (Branch: RELENG_6) sys/boot/pc98/boot2 README.serial.98 Log: SVN rev 180481 on 2008-07-12 11:43:38Z by nyan MFC: r180253 Remove Japanese document. Revision Changes Path 1.2.14.1 +0 -65 src/sys/boot/pc98/boot2/README.serial.98 (dead) From bz at FreeBSD.org Sat Jul 12 12:41:39 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Jul 12 12:41:51 2008 Subject: cvs commit: src/sys/netinet ip_input.c Message-ID: <200807121241.m6CCfcPA064760@repoman.freebsd.org> bz 2008-07-12 12:41:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet ip_input.c Log: SVN rev 180482 on 2008-07-12 12:41:21Z by bz MFC: rev. 1.337, svn 180215 Remove a bogusly introduced rtalloc_ign() in rev. 1.335/SVN 178029, generating an RTM_MISS for every IP packet forwarded making user space routing daemons unhappy. PR: kern/123621, kern/124540, kern/122338 Revision Changes Path 1.332.2.3 +0 -1 src/sys/netinet/ip_input.c From alc at FreeBSD.org Sat Jul 12 18:44:14 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sat Jul 12 18:44:26 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807121844.m6CIiE5i020533@repoman.freebsd.org> alc 2008-07-12 18:43:57 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180483 on 2008-07-12 18:43:57Z by alc In order to apply pmap_demote_pde() to a page directory entry (PDE) from the direct map, the PDE must have PG_M and PG_A preset. Noticed by: Magesh Dhasayyan Revision Changes Path 1.630 +3 -2 src/sys/amd64/amd64/pmap.c From rodrigc at FreeBSD.org Sat Jul 12 20:12:49 2008 From: rodrigc at FreeBSD.org (Craig Rodrigues) Date: Sat Jul 12 20:12:55 2008 Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <200807122012.m6CKClfx029626@repoman.freebsd.org> rodrigc 2008-07-12 20:12:40 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: SVN rev 180484 on 2008-07-12 20:12:40Z by rodrigc In nmount(), if we see "update" in the mount options, set MNT_UPDATE in fsflags, and delete the "update" option from the global mount options. MNT_UPDATE is a command, and not a property of a mount that should persist after the command is executed. We need to do similar things for MNT_FORCE and MNT_RELOAD. All mount flags are prefixed by MNT_..... it would be nice if flags which were commands were named differently from flags which are persistent properties of a mount. This was not such a big deal in the pre-nmount() days, but with nmount() it is more important. Requested by: yar MFC after: 2 weeks Revision Changes Path 1.285 +5 -4 src/sys/kern/vfs_mount.c From alc at FreeBSD.org Sat Jul 12 21:24:50 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sat Jul 12 21:25:02 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807122124.m6CLOoQ6045697@repoman.freebsd.org> alc 2008-07-12 21:24:42 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180485 on 2008-07-12 21:24:42Z by alc Refine the changes made in SVN rev 180430. Specifically, instantiate a new page table page only if the 2MB page mapping has been used. Also, refactor some assertions. Revision Changes Path 1.631 +26 -16 src/sys/amd64/amd64/pmap.c From ticso at FreeBSD.org Sat Jul 12 23:40:56 2008 From: ticso at FreeBSD.org (Bernd Walter) Date: Sat Jul 12 23:41:06 2008 Subject: cvs commit: src/sys/arm/at91 if_atereg.h Message-ID: <200807122340.m6CNetZD058501@repoman.freebsd.org> ticso 2008-07-12 23:40:07 UTC FreeBSD src repository Modified files: sys/arm/at91 if_atereg.h Log: SVN rev 180486 on 2008-07-12 23:40:07Z by ticso fix multicast hash register definition Revision Changes Path 1.3 +2 -2 src/sys/arm/at91/if_atereg.h From ed at FreeBSD.org Sun Jul 13 07:27:41 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Sun Jul 13 07:27:52 2008 Subject: cvs commit: src UPDATING src/etc/etc.amd64 ttys src/etc/etc.i386 ttys src/sys/amd64/conf GENERIC GENERIC.hints src/sys/i386/conf GENERIC GENERIC.hints Message-ID: <200807130727.m6D7ReJl030797@repoman.freebsd.org> ed 2008-07-13 07:20:14 UTC FreeBSD src repository Modified files: . UPDATING etc/etc.amd64 ttys etc/etc.i386 ttys sys/amd64/conf GENERIC GENERIC.hints sys/i386/conf GENERIC GENERIC.hints Log: SVN rev 180487 on 2008-07-13 07:20:14Z by ed Make uart(4) the default serial port driver on i386 and amd64. The uart(4) driver has the advantage of supporting a wider variety of hardware on a greater amount of platforms. This driver has already been the standard on platforms such as ia64, powerpc and sparc64. I've decided not to change anything on pc98. I'd rather let people from the pc98 team look at this. Approved by: philip (mentor), marcel Revision Changes Path 1.535 +11 -0 src/UPDATING 1.14 +4 -4 src/etc/etc.amd64/ttys 1.14 +4 -4 src/etc/etc.i386/ttys 1.504 +0 -1 src/sys/amd64/conf/GENERIC 1.19 +15 -15 src/sys/amd64/conf/GENERIC.hints 1.494 +0 -1 src/sys/i386/conf/GENERIC 1.21 +15 -15 src/sys/i386/conf/GENERIC.hints From remko at FreeBSD.org Sun Jul 13 11:53:13 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Jul 13 11:53:25 2008 Subject: cvs commit: src UPDATING Message-ID: <200807131153.m6DBrDkX067657@repoman.freebsd.org> remko 2008-07-13 11:48:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING Log: SVN rev 180488 on 2008-07-13 11:48:44Z by remko MFC r180345 Add missing information for geom_mirror metadata. PR: 124434 Submitted by: Philip M. Golluci MFC after: 3 days Prodded through: bugbusters@ Approved by: imp (mentor, implicit) Revision Changes Path 1.507.2.6 +14 -0 src/UPDATING From remko at FreeBSD.org Sun Jul 13 11:57:06 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Jul 13 11:57:14 2008 Subject: cvs commit: src/sys/pci if_rl.c if_rlreg.h Message-ID: <200807131157.m6DBv6XW067991@repoman.freebsd.org> remko 2008-07-13 11:56:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/pci if_rl.c if_rlreg.h Log: SVN rev 180489 on 2008-07-13 11:56:55Z by remko MFC r179831 Add another 8139D variant. PR: 124622 Submitted by: Evgeny Zhirnov Approved by: imp (mentor, implicit) MFC after: 3 days Approved by: imp (mentor, implicit) Revision Changes Path 1.170.2.5 +2 -0 src/sys/pci/if_rl.c 1.67.2.8 +1 -0 src/sys/pci/if_rlreg.h From remko at FreeBSD.org Sun Jul 13 11:58:07 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Jul 13 11:58:13 2008 Subject: cvs commit: src/sys/pci if_rl.c if_rlreg.h Message-ID: <200807131158.m6DBw6PX068087@repoman.freebsd.org> remko 2008-07-13 11:57:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/pci if_rl.c if_rlreg.h Log: SVN rev 180490 on 2008-07-13 11:57:59Z by remko MFC r179831 Add another 8139D variant. PR: 124622 Submitted by: Evgeny Zhirnov Approved by: imp (mentor, implicit) MFC after: 3 days Approved by: imp (mentor, implicit) Revision Changes Path 1.152.2.10 +2 -0 src/sys/pci/if_rl.c 1.51.2.14 +1 -0 src/sys/pci/if_rlreg.h From remko at FreeBSD.org Sun Jul 13 13:43:10 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Jul 13 13:43:20 2008 Subject: cvs commit: src/lib/libc/sys ktrace.2 Message-ID: <200807131343.m6DDh9rF089942@repoman.freebsd.org> remko 2008-07-13 13:42:52 UTC FreeBSD src repository Modified files: lib/libc/sys ktrace.2 Log: SVN rev 180491 on 2008-07-13 13:42:52Z by remko Update the ktr_header structure, which changed over time. PR: 125546 Submitted by: Mateusz Guzik MFC after: 3 days Revision Changes Path 1.26 +4 -4 src/lib/libc/sys/ktrace.2 From remko at FreeBSD.org Sun Jul 13 13:56:41 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Jul 13 13:56:49 2008 Subject: cvs commit: src/share/man/man4 ahc.4 Message-ID: <200807131356.m6DDue3s092942@repoman.freebsd.org> remko 2008-07-13 13:56:21 UTC FreeBSD src repository Modified files: share/man/man4 ahc.4 Log: SVN rev 180492 on 2008-07-13 13:56:21Z by remko More explicitly mention that we support the 2920C with the ahc driver. PR: 125535 Submitted by: Bob Bishop MFC after: 3 days Revision Changes Path 1.40 +2 -2 src/share/man/man4/ahc.4 From rwatson at FreeBSD.org Sun Jul 13 16:38:01 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Jul 13 16:38:12 2008 Subject: cvs commit: src/lib/libc/posix1e acl_support.c Message-ID: <200807131638.m6DGc1T7009570@repoman.freebsd.org> rwatson 2008-07-13 16:37:51 UTC FreeBSD src repository Modified files: lib/libc/posix1e acl_support.c Log: SVN rev 180493 on 2008-07-13 16:37:51Z by rwatson The libc acl_valid(3) function validates the contents of a POSIX.1e ACL. This change removes the requirement that an ACL contain no ACL_USER entries with a uid the same as those of a file, or ACL_GROUP entries with a gid the same as those of a file. This requirement is not in the specification, and not enforced by the kernel's ACL implementation. Reported by: Iustin Pop MFC after: 1 week Revision Changes Path 1.15 +2 -8 src/lib/libc/posix1e/acl_support.c From marius at FreeBSD.org Sun Jul 13 17:09:52 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Jul 13 17:09:58 2008 Subject: cvs commit: src/sys/dev/gem if_gem.c Message-ID: <200807131709.m6DH9l68022477@repoman.freebsd.org> marius 2008-07-13 17:09:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/gem if_gem.c Log: SVN rev 180494 on 2008-07-13 17:09:22Z by marius MFC: r179925 o The FreeBSD bus_dmamap_sync(9) supports ored together flags for quite some time now so collapse calls accordingly. o Given that gem_load_txmbuf() is allowed to fail resulting in a packet drop also for quite some time now implement the functionality of gem_txcksum() by means of m_pullup(9), which de-obfuscates the code and allows to always retrieve the correct length of the IP header. o Add missing BUS_DMASYNC_PREREAD when syncing the control DMA maps in gem_rint() and gem_start_locked(). o Correct some bus_barrier(9) calls to do a read/write barrier as we do a read after a write. Add some missing ones in gem_mii_readreg() and gem_mii_writereg(). o According to the Apple GMAC driver, the GEM ASIC specification and the OpenSolaris eri(7D) the TX FIFO threshold has to be set to 0x4ff for the Gigabit variants and 0x100 for the ERI in order do avoid TX underruns. o In gem_init_locked(): - be conservative and enable the RX and TX MACs, - don't clear GEM_LINK otherwise we don't ever mark the link as up again if gem_init_locked() is called from gem_watchdog(), - remove superfluous setting of sc_ifflags. o Don't bother to check whether the interface is running or whether its queue is empty before calling gem_start_locked() in gem_tint(), the former will check these anyway. o Call gem_start_locked() in gem_watchdog() in order to try to get some more packets going. o In gem_mii_writereg() after reseting the PCS restore its configuration. GMAC testing: grehan, marcel Revision Changes Path 1.44.2.5 +90 -90 src/sys/dev/gem/if_gem.c From svn at FreeBSD.org Sun Jul 13 17:15:28 2008 From: svn at FreeBSD.org (Subversion owner) Date: Sun Jul 13 17:15:35 2008 Subject: cvs commit: src/sys/kern subr_stack.c Message-ID: <200807131715.m6DHFR55023063@repoman.freebsd.org> svn 2008-07-13 17:15:19 UTC FreeBSD src repository Modified files: sys/kern subr_stack.c Log: SVN rev 180495 on 2008-07-13 17:15:19Z by svn Staticize M_STACK. Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.7 +1 -1 src/sys/kern/subr_stack.c From antoine at FreeBSD.org Sun Jul 13 17:23:31 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Sun Jul 13 17:23:42 2008 Subject: cvs commit: src ObsoleteFiles.inc Message-ID: <200807131723.m6DHNVvV023674@repoman.freebsd.org> antoine 2008-07-13 17:17:35 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: SVN rev 180496 on 2008-07-13 17:17:35Z by antoine Add an obsolete header after pecoff removal. Approved by: rwatson (mentor) Revision Changes Path 1.152 +4 -0 src/ObsoleteFiles.inc From remko at FreeBSD.org Sun Jul 13 18:18:52 2008 From: remko at FreeBSD.org (Remko Lodder) Date: Sun Jul 13 18:19:05 2008 Subject: cvs commit: src UPDATING Message-ID: <200807131818.m6DIIqJr032621@repoman.freebsd.org> remko 2008-07-13 18:11:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING Log: SVN rev 180497 on 2008-07-13 18:11:50Z by remko Merge r180349 as well. SVN rev 180349 on 2008-07-07 13:08:30Z by remko Fix some spelling errors (improper review from my side). Submitted by: ed, danger Submitted by: Florian Smeets Revision Changes Path 1.507.2.7 +1 -1 src/UPDATING From alc at FreeBSD.org Sun Jul 13 18:20:03 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sun Jul 13 18:20:17 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807131820.m6DIK3rW032793@repoman.freebsd.org> alc 2008-07-13 18:19:53 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180498 on 2008-07-13 18:19:53Z by alc Handle a race between pmap_kextract() and pmap_promote_pde(). This race caused ZFS to crash when restoring a snapshot with superpage promotion enabled. Reported by: kris Revision Changes Path 1.632 +13 -5 src/sys/amd64/amd64/pmap.c From cperciva at FreeBSD.org Sun Jul 13 18:46:48 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sun Jul 13 18:47:00 2008 Subject: cvs commit: src UPDATING src/contrib/bind9/bin/named client.c server.c src/contrib/bind9/lib/dns api dispatch.c resolver.c src/contrib/bind9/lib/dns/include/dns dispatch.h src/sys/conf newvers.sh Message-ID: <200807131846.m6DIkmbv035067@repoman.freebsd.org> cperciva 2008-07-13 18:42:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) . UPDATING contrib/bind9/bin/named client.c server.c contrib/bind9/lib/dns api dispatch.c resolver.c contrib/bind9/lib/dns/include/dns dispatch.h sys/conf newvers.sh Log: SVN rev 180499 on 2008-07-13 18:42:38Z by cperciva Improve randomization in BIND to prevent response spoofing. Security: FreeBSD-SA-08:06.bind Approved by: so (cperciva) Thanks to: remko, csjp No thanks to: bronchitis Revision Changes Path 1.507.2.3.2.7 +3 -0 src/UPDATING 1.1.1.6.2.1.2.1 +0 -8 src/contrib/bind9/bin/named/client.c 1.1.1.6.2.1.2.1 +26 -6 src/contrib/bind9/bin/named/server.c 1.1.1.6.2.1.2.1 +3 -3 src/contrib/bind9/lib/dns/api 1.1.1.4.2.1.2.1 +233 -473 src/contrib/bind9/lib/dns/dispatch.c 1.1.1.3.2.1.2.1 +4 -7 src/contrib/bind9/lib/dns/include/dns/dispatch.h 1.1.1.9.2.1.2.1 +40 -6 src/contrib/bind9/lib/dns/resolver.c 1.72.2.5.2.7 +1 -1 src/sys/conf/newvers.sh From cperciva at FreeBSD.org Sun Jul 13 18:52:18 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sun Jul 13 18:52:24 2008 Subject: cvs commit: src UPDATING src/contrib/bind9/bin/named client.c server.c src/contrib/bind9/lib/dns api dispatch.c resolver.c src/contrib/bind9/lib/dns/include/dns dispatch.h src/sys/conf newvers.sh Message-ID: <200807131852.m6DIqISl035566@repoman.freebsd.org> cperciva 2008-07-13 18:42:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_3) . UPDATING contrib/bind9/bin/named client.c server.c contrib/bind9/lib/dns api dispatch.c resolver.c contrib/bind9/lib/dns/include/dns dispatch.h sys/conf newvers.sh Log: SVN rev 180499 on 2008-07-13 18:42:38Z by cperciva Improve randomization in BIND to prevent response spoofing. Security: FreeBSD-SA-08:06.bind Approved by: so (cperciva) Thanks to: remko, csjp No thanks to: bronchitis Revision Changes Path 1.416.2.37.2.8 +3 -0 src/UPDATING 1.1.1.2.2.3.2.1 +0 -8 src/contrib/bind9/bin/named/client.c 1.1.1.2.2.2.2.1 +26 -6 src/contrib/bind9/bin/named/server.c 1.1.1.2.2.3.2.1 +3 -3 src/contrib/bind9/lib/dns/api 1.1.1.1.4.2.2.1 +233 -472 src/contrib/bind9/lib/dns/dispatch.c 1.1.1.1.4.1.2.1 +4 -7 src/contrib/bind9/lib/dns/include/dns/dispatch.h 1.1.1.2.2.6.2.1 +37 -4 src/contrib/bind9/lib/dns/resolver.c 1.69.2.15.2.7 +1 -1 src/sys/conf/newvers.sh From cperciva at FreeBSD.org Sun Jul 13 18:53:14 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Sun Jul 13 18:53:19 2008 Subject: cvs commit: src/contrib/bind9 CHANGES version src/contrib/bind9/bin/named client.c server.c src/contrib/bind9/doc/arm Bv9ARM-book.xml Bv9ARM.ch06.html Bv9ARM.pdf src/contrib/bind9/lib/bind aclocal.m4 config.h.in ... Message-ID: <200807131853.m6DIrDKc035766@repoman.freebsd.org> cperciva 2008-07-13 18:42:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/bind9 CHANGES version contrib/bind9/bin/named client.c server.c contrib/bind9/doc/arm Bv9ARM-book.xml Bv9ARM.ch06.html Bv9ARM.pdf contrib/bind9/lib/bind9 check.c contrib/bind9/lib/dns api dispatch.c resolver.c contrib/bind9/lib/dns/include/dns dispatch.h Removed files: (Branch: RELENG_7) contrib/bind9/lib/bind aclocal.m4 config.h.in configure Log: SVN rev 180499 on 2008-07-13 18:42:38Z by cperciva Improve randomization in BIND to prevent response spoofing. Security: FreeBSD-SA-08:06.bind Approved by: so (cperciva) Thanks to: remko, csjp No thanks to: bronchitis Revision Changes Path 1.1.1.10.2.2 +4 -0 src/contrib/bind9/CHANGES 1.1.1.6.2.2 +1 -9 src/contrib/bind9/bin/named/client.c 1.1.1.6.2.2 +27 -7 src/contrib/bind9/bin/named/server.c 1.1.1.6.2.2 +10 -2 src/contrib/bind9/doc/arm/Bv9ARM-book.xml 1.1.1.6.2.2 +13 -5 src/contrib/bind9/doc/arm/Bv9ARM.ch06.html 1.1.1.4.2.2 +2182 -2170 src/contrib/bind9/doc/arm/Bv9ARM.pdf 1.1.1.2.10.1 +0 -2 src/contrib/bind9/lib/bind/aclocal.m4 (dead) 1.1.1.4.2.2 +0 -61 src/contrib/bind9/lib/bind/config.h.in (dead) 1.1.1.5.2.2 +0 -33825 src/contrib/bind9/lib/bind/configure (dead) 1.1.1.5.2.2 +2 -2 src/contrib/bind9/lib/bind9/check.c 1.1.1.6.2.2 +3 -3 src/contrib/bind9/lib/dns/api 1.1.1.4.2.2 +234 -474 src/contrib/bind9/lib/dns/dispatch.c 1.1.1.3.2.2 +5 -8 src/contrib/bind9/lib/dns/include/dns/dispatch.h 1.1.1.9.2.2 +41 -7 src/contrib/bind9/lib/dns/resolver.c 1.1.1.10.2.2 +3 -3 src/contrib/bind9/version From trhodes at FreeBSD.org Sun Jul 13 19:09:47 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Jul 13 19:09:59 2008 Subject: cvs commit: src/lib/libc/sys flock.2 Message-ID: <200807131909.m6DJ9k2X038185@repoman.freebsd.org> trhodes 2008-07-13 19:09:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys flock.2 Log: SVN rev 180501 on 2008-07-13 19:09:35Z by trhodes MFC: r175565: Xref flopen.3 which references this manual page. PR: 112650 Revision Changes Path 1.25.2.1 +2 -1 src/lib/libc/sys/flock.2 From trhodes at FreeBSD.org Sun Jul 13 19:34:33 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Jul 13 19:34:40 2008 Subject: cvs commit: src/lib/libc/sys flock.2 Message-ID: <200807131934.m6DJYXue040292@repoman.freebsd.org> trhodes 2008-07-13 19:34:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/sys flock.2 Log: SVN rev 180502 on 2008-07-13 19:34:21Z by trhodes MFC: r175565: Xref flopen.3 which references this manual page. PR: 112650 Revision Changes Path 1.24.2.1 +2 -1 src/lib/libc/sys/flock.2 From dougb at FreeBSD.org Sun Jul 13 20:08:50 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Sun Jul 13 20:08:56 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200807132008.m6DK8nUR044237@repoman.freebsd.org> dougb 2008-07-13 20:08:38 UTC FreeBSD src repository Modified files: sys/conf newvers.sh Log: SVN rev 180503 on 2008-07-13 20:08:38Z by dougb Change the character prefixed to the svn version to "r" since that seems to be how they are commonly referred to. Revision Changes Path 1.76 +1 -1 src/sys/conf/newvers.sh From marius at FreeBSD.org Sun Jul 13 21:44:16 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Jul 13 21:44:27 2008 Subject: cvs commit: src/share/man/man4 gem.4 src/sys/conf NOTES src/sys/dev/gem if_gem.c if_gem_pci.c if_gemreg.h if_gemvar.h src/sys/modules Makefile src/sys/powerpc/conf NOTES Message-ID: <200807132144.m6DLiF6Q067059@repoman.freebsd.org> marius 2008-07-13 21:36:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 gem.4 sys/conf NOTES sys/dev/gem if_gem.c if_gem_pci.c if_gemreg.h if_gemvar.h sys/modules Makefile sys/powerpc/conf NOTES Log: SVN rev 180504 on 2008-07-13 21:36:42Z by marius MFC: r170285; r170273; r172334; r172607; r174987; r176996; r177560; r179925 Sync gem(4) with head as of r179925 except for r169269 (skipped for performance reasons) and r175418 (doesn't apply). Amongst others this brings: - lots of bug fixes and improvements, - support for some additional Apple GMAC variants, - actual support for Sun GEM, - machine-independency. Revision Changes Path 1.4.8.2 +14 -6 src/share/man/man4/gem.4 1.1325.2.42 +2 -0 src/sys/conf/NOTES 1.29.2.8 +1237 -970 src/sys/dev/gem/if_gem.c 1.19.2.2 +178 -102 src/sys/dev/gem/if_gem_pci.c 1.3.2.1 +145 -45 src/sys/dev/gem/if_gemreg.h 1.10.2.3 +133 -89 src/sys/dev/gem/if_gemvar.h 1.450.2.38 +1 -3 src/sys/modules/Makefile 1.2.2.2 +0 -1 src/sys/powerpc/conf/NOTES From edwin at FreeBSD.org Mon Jul 14 10:49:08 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Mon Jul 14 10:49:19 2008 Subject: cvs commit: src/games/fortune/fortune fortune.6 fortune.c Message-ID: <200807141049.m6EAn7D7088323@repoman.freebsd.org> edwin 2008-07-14 10:49:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) games/fortune/fortune fortune.6 fortune.c Log: SVN rev 180505 on 2008-07-14 10:49:01Z by edwin MFC of revision 173401, 173414 and 173396: gaames/fortune: add FORTUNE_PATH env var, so ports of fortunes can work sanely This patch adds an environment variable FORTUNE_PATH, which works like PATH for fortune files. PR: bin/36867 Submitted by: Alan Eldridge [patch] fortune -e implementation bug Fix the behaviour of "-e file1 file2" to equally pick them instead of only picking the first one. PR: bin/70182 Submitted by: Martin Kulas Revision Changes Path 1.20.10.1 +36 -31 src/games/fortune/fortune/fortune.6 1.29.2.1 +117 -19 src/games/fortune/fortune/fortune.c From edwin at FreeBSD.org Mon Jul 14 10:49:38 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Mon Jul 14 10:50:06 2008 Subject: cvs commit: src/games/fortune/fortune fortune.6 fortune.c Message-ID: <200807141049.m6EAncgE088383@repoman.freebsd.org> edwin 2008-07-14 10:49:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) games/fortune/fortune fortune.6 fortune.c Log: SVN rev 180506 on 2008-07-14 10:49:32Z by edwin MFC of revision 173401, 173414 and 173396: gaames/fortune: add FORTUNE_PATH env var, so ports of fortunes can work sanely This patch adds an environment variable FORTUNE_PATH, which works like PATH for fortune files. PR: bin/36867 Submitted by: Alan Eldridge [patch] fortune -e implementation bug Fix the behaviour of "-e file1 file2" to equally pick them instead of only picking the first one. PR: bin/70182 Submitted by: Martin Kulas Revision Changes Path 1.20.2.1 +36 -31 src/games/fortune/fortune/fortune.6 1.27.2.1 +117 -19 src/games/fortune/fortune/fortune.c From gabor at FreeBSD.org Mon Jul 14 10:57:04 2008 From: gabor at FreeBSD.org (=?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?=) Date: Mon Jul 14 10:57:15 2008 Subject: cvs commit: src/games/fortune/fortune fortune.6 fortune.c In-Reply-To: <200807141049.m6EAn7D7088323@repoman.freebsd.org> References: <200807141049.m6EAn7D7088323@repoman.freebsd.org> Message-ID: <487B30FA.1030502@FreeBSD.org> Edwin Groothuis escribi?: > > PR: bin/36867 > Submitted by: Alan Eldridge > For those who don't know: http://freebsd.kde.org/memoriam/alane.php Rest in peace. -- Gabor Kovesdan EMAIL: gabor@FreeBSD.org WWW: http://www.kovesdan.org From gahr at FreeBSD.org Mon Jul 14 13:22:25 2008 From: gahr at FreeBSD.org (Pietro Cerutti) Date: Mon Jul 14 13:22:32 2008 Subject: cvs commit: src/usr.sbin/cdcontrol cdcontrol.1 cdcontrol.c Message-ID: <200807141322.m6EDMPfW015092@repoman.freebsd.org> gahr 2008-07-14 13:22:09 UTC FreeBSD src repository Modified files: usr.sbin/cdcontrol cdcontrol.1 cdcontrol.c Log: SVN rev 180507 on 2008-07-14 13:22:09Z by gahr - Enhance volume handling PR: 125054 Submitted by: gahr Approved by: cperciva Revision Changes Path 1.41 +9 -1 src/usr.sbin/cdcontrol/cdcontrol.1 1.51 +29 -9 src/usr.sbin/cdcontrol/cdcontrol.c From trhodes at FreeBSD.org Mon Jul 14 13:45:14 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Mon Jul 14 13:45:26 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/common ng_bluetooth.c Message-ID: <200807141345.m6EDjBls016966@repoman.freebsd.org> trhodes 2008-07-14 13:45:05 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/common ng_bluetooth.c Log: SVN rev 180508 on 2008-07-14 13:45:05Z by trhodes Fill in the string portion of the bluetooth stack version sysctl. Approved by: emax Revision Changes Path 1.9 +1 -1 src/sys/netgraph/bluetooth/common/ng_bluetooth.c From brueffer at FreeBSD.org Mon Jul 14 18:16:00 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Mon Jul 14 18:16:12 2008 Subject: cvs commit: src/share/man/man4 Makefile et.4 Message-ID: <200807141816.m6EIG0B6056267@repoman.freebsd.org> brueffer 2008-07-14 18:15:43 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Added files: share/man/man4 et.4 Log: SVN rev 180509 on 2008-07-14 18:15:43Z by brueffer Manpage for the et(4) driver. Obtained from: DragonFly Revision Changes Path 1.422 +2 -0 src/share/man/man4/Makefile 1.1 +180 -0 src/share/man/man4/et.4 (new) From jfv at FreeBSD.org Mon Jul 14 18:39:02 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Jul 14 18:39:13 2008 Subject: cvs commit: src/sys/sys eventhandler.h Message-ID: <200807141839.m6EId17V058221@repoman.freebsd.org> jfv 2008-07-14 18:38:52 UTC FreeBSD src repository Modified files: sys/sys eventhandler.h Log: SVN rev 180510 on 2008-07-14 18:38:52Z by jfv Add an event handler to the vlan driver so the NIC driver becomes aware of it, and gets the VLAN ID. This will allow the easy use of VLAN hardware filtering by adapters that support it. Revision Changes Path 1.43 +7 -0 src/sys/sys/eventhandler.h From jfv at FreeBSD.org Mon Jul 14 18:40:46 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Mon Jul 14 18:40:53 2008 Subject: cvs commit: src/sys/net if_vlan.c Message-ID: <200807141840.m6EIek8r058442@repoman.freebsd.org> jfv 2008-07-14 18:40:21 UTC FreeBSD src repository Modified files: sys/net if_vlan.c Log: SVN rev 180511 on 2008-07-14 18:40:21Z by jfv Add event notification at attach/detach so the NIC is able to detect it and do hardware filtering. Revision Changes Path 1.126 +6 -0 src/sys/net/if_vlan.c From phk at FreeBSD.org Mon Jul 14 18:45:18 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Mon Jul 14 18:45:25 2008 Subject: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <200807141845.m6EIjHdl058846@repoman.freebsd.org> phk 2008-07-14 18:45:06 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: SVN rev 180512 on 2008-07-14 18:45:06Z by phk Unmangle an E.W.Dijkstra quote. Revision Changes Path 1.268 +5 -3 src/games/fortune/datfiles/fortunes From eri at FreeBSD.org Mon Jul 14 20:12:04 2008 From: eri at FreeBSD.org (Ermal Luçi) Date: Mon Jul 14 20:12:10 2008 Subject: cvs commit: src/sys/netinet ip_carp.c Message-ID: <200807142012.m6EKC4wO069509@repoman.freebsd.org> eri 2008-07-14 20:11:51 UTC FreeBSD src repository Modified files: sys/netinet ip_carp.c Log: SVN rev 180513 on 2008-07-14 20:11:51Z by eri Fix carp(4) panics that can occur during carp interface configuration. Approved by: mlaier (mentor) Reported by: Scott Ullrich MFC after: 1 week Revision Changes Path 1.55 +8 -0 src/sys/netinet/ip_carp.c From stas at FreeBSD.org Mon Jul 14 20:15:04 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Mon Jul 14 20:15:20 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080711211909.GB33517@obiwan.tataz.chchile.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> Message-ID: <20080714234809.32cb8042.stas@FreeBSD.org> On Fri, 11 Jul 2008 23:19:09 +0200 Jeremie Le Hen mentioned: > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > I'll try tomorrow. Currently, I have no access to the board. Thanks! -- Stanislav Sedov ST4096-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080714/abc24503/attachment.pgp From obrien at FreeBSD.org Mon Jul 14 21:36:55 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Jul 14 21:37:08 2008 Subject: cvs commit: src/sys/libkern memset.c src/sys/sys libkern.h Message-ID: <200807142136.m6ELat6a093898@repoman.freebsd.org> obrien 2008-07-14 21:36:02 UTC FreeBSD src repository Modified files: sys/libkern memset.c sys/sys libkern.h Log: SVN rev 180514 on 2008-07-14 21:36:02Z by obrien Match the implementation of the inline function from libkern.h. Revision Changes Path 1.3 +8 -4 src/sys/libkern/memset.c 1.57 +9 -1 src/sys/sys/libkern.h From jkim at FreeBSD.org Mon Jul 14 22:41:58 2008 From: jkim at FreeBSD.org (Jung-uk Kim) Date: Mon Jul 14 22:42:10 2008 Subject: cvs commit: src/sys/net bpf.c Message-ID: <200807142241.m6EMfvON004724@repoman.freebsd.org> jkim 2008-07-14 22:41:48 UTC FreeBSD src repository Modified files: sys/net bpf.c Log: SVN rev 180515 on 2008-07-14 22:41:48Z by jkim Allow injecting big packets via bpf(4) up to min(MTU, 16K-byte). MFC after: 1 week Revision Changes Path 1.198 +9 -3 src/sys/net/bpf.c From yongari at FreeBSD.org Tue Jul 15 01:07:15 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:07:20 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807150107.m6F17EMd030317@repoman.freebsd.org> yongari 2008-07-15 01:07:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 180516 on 2008-07-15 01:07:08Z by yongari MFC r180166. Remove duplicated H/W revision check. Revision Changes Path 1.95.2.19 +0 -5 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Tue Jul 15 01:11:15 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:11:27 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807150111.m6F1BF9q030700@repoman.freebsd.org> yongari 2008-07-15 01:11:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 180517 on 2008-07-15 01:11:08Z by yongari MFC r180167. After the change of r176757 re(4) no longer relys on reading RL_TXCFG register to identify a device in device probe. Reflect the fact by modifing device description with general ethernet controller family. Note, rl_basetype in struct rl_type is not used and the more detailed information is provided with rl_hwrev structure. Revision Changes Path 1.95.2.20 +18 -32 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Tue Jul 15 01:14:46 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:14:58 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807150114.m6F1EkAv030943@repoman.freebsd.org> yongari 2008-07-15 01:14:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 180518 on 2008-07-15 01:14:36Z by yongari MFC r180168. While accessing EEPROM command register use pre-defined constant instead of hardcoded value. Revision Changes Path 1.95.2.21 +3 -3 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Tue Jul 15 01:19:31 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:19:37 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807150119.m6F1JVau031360@repoman.freebsd.org> yongari 2008-07-15 01:18:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180519 on 2008-07-15 01:18:15Z by yongari MFC r180169. Switch to memory space register mapping over IO space. If that mapping fails fall back to traditional IO space access. Revision Changes Path 1.95.2.22 +21 -21 src/sys/dev/re/if_re.c 1.67.2.9 +2 -0 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Tue Jul 15 01:23:38 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:23:49 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807150123.m6F1NcBk031760@repoman.freebsd.org> yongari 2008-07-15 01:23:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180520 on 2008-07-15 01:23:02Z by yongari MFC r180171. Instead of allocating variables for each events/hardware flags, use a dedicated flag that represents controller capabilities/events. This will simplify many part of code that requires different workaround for each controller revisions and will enhance readability. While I'm here move PHY wakeup code up before mii_phy_probe() which seems to help to wake PHY in some cases. Revision Changes Path 1.95.2.23 +41 -47 src/sys/dev/re/if_re.c 1.67.2.10 +6 -2 src/sys/pci/if_rlreg.h From edwin at FreeBSD.org Tue Jul 15 01:26:39 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Jul 15 01:26:45 2008 Subject: cvs commit: src/sys/kern link_elf.c link_elf_obj.c Message-ID: <200807150126.m6F1QdEU032058@repoman.freebsd.org> edwin 2008-07-15 01:26:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern link_elf.c link_elf_obj.c Log: SVN rev 180521 on 2008-07-15 01:26:20Z by edwin MFC of r180374 Improve the output of kldload(8) to show which module can't be loaded. Was: kldload: Unsupported file type Is now: kldload: /boot/modules/test.ko: Unsupported file type PR: kern/121276 Submitted by: Edwin Groothuis Approved by: bde (mentor) MFC after: 1 week Revision Changes Path 1.81.8.7 +14 -11 src/sys/kern/link_elf.c 1.87.2.5 +12 -9 src/sys/kern/link_elf_obj.c From edwin at FreeBSD.org Tue Jul 15 01:28:25 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Tue Jul 15 01:28:32 2008 Subject: cvs commit: src/sys/kern link_elf.c link_elf_obj.c Message-ID: <200807150128.m6F1SPht032201@repoman.freebsd.org> edwin 2008-07-15 01:28:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern link_elf.c link_elf_obj.c Log: SVN rev 180522 on 2008-07-15 01:28:14Z by edwin MFC of r180374 Improve the output of kldload(8) to show which module can't be loaded. Was: kldload: Unsupported file type Is now: kldload: /boot/modules/test.ko: Unsupported file type PR: kern/121276 Submitted by: Edwin Groothuis Approved by: bde (mentor) MFC after: 1 week Revision Changes Path 1.93.2.2 +14 -11 src/sys/kern/link_elf.c 1.95.2.2 +12 -9 src/sys/kern/link_elf_obj.c From yongari at FreeBSD.org Tue Jul 15 01:38:57 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:39:08 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807150138.m6F1cuOm033049@repoman.freebsd.org> yongari 2008-07-15 01:38:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 180523 on 2008-07-15 01:38:41Z by yongari MFC r180172. Toggling IFF_ALLMULTI flag does not require full interface reintialization. Revision Changes Path 1.95.2.24 +1 -1 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Tue Jul 15 01:48:28 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:48:39 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807150148.m6F1mRoI033894@repoman.freebsd.org> yongari 2008-07-15 01:48:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 180524 on 2008-07-15 01:48:19Z by yongari MFC r180173. In device detach don't access ifnet structure unless device is attached. This fixes NULL pointer dereference when polling(9) is active and unsupported hardware is detected in device attach. Revision Changes Path 1.95.2.25 +4 -4 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Tue Jul 15 01:51:44 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:51:50 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807150151.m6F1phAj034211@repoman.freebsd.org> yongari 2008-07-15 01:51:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 180525 on 2008-07-15 01:51:30Z by yongari MFC r180174. If MSI is not active make sure to disable MSI in EEPROM. Revision Changes Path 1.95.2.26 +11 -0 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Tue Jul 15 01:55:13 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:55:25 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807150154.m6F1sxnd034435@repoman.freebsd.org> yongari 2008-07-15 01:54:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 180526 on 2008-07-15 01:54:53Z by yongari MFC r180175. Display detected chip revision in device attach. This will help to diagnose revision specific issues in future. Also add 0x to notify that the revision number is in hex form. Revision Changes Path 1.95.2.27 +5 -2 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Tue Jul 15 01:58:55 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 01:59:07 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807150158.m6F1wsnG034780@repoman.freebsd.org> yongari 2008-07-15 01:58:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180527 on 2008-07-15 01:58:17Z by yongari MFC r180176. Add basic support for RTL8168C, RTL8168CP, RTL8111C and RTL8111CP. ATM Tx/Rx checksum offload is supported but TSO and jumbo frame is not yet supported. Because these newer controllers use different descriptor formats, a flag RL_FLAG_DESCV2 flag was introduced to handle that case in Tx/Rx handler. Also newer controllers seems to require to not touch 'enable Tx/Rx bit' in RL_CPLUS_CMD register so don't blindly try to set that bits. Note, it seems that there is still power-saving related issue where driver fails to attach PHY. Rebooting seems to fix that issue but number of required reboots varys. Many thanks to users that helped during developement. I really appreciate their patient and test/feedbacks. Revision Changes Path 1.95.2.28 +134 -43 src/sys/dev/re/if_re.c 1.67.2.11 +24 -0 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Tue Jul 15 02:01:31 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 02:01:43 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807150201.m6F21Vks035067@repoman.freebsd.org> yongari 2008-07-15 02:01:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180528 on 2008-07-15 02:01:03Z by yongari MFC r180177. Add a new RTL8169 variant, 8169SB(L)/8110SB(L). Revision Changes Path 1.95.2.29 +3 -1 src/sys/dev/re/if_re.c 1.67.2.12 +1 -0 src/sys/pci/if_rlreg.h From yongari at FreeBSD.org Tue Jul 15 02:04:47 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 02:04:54 2008 Subject: cvs commit: src/sys/dev/mii rgephy.c rgephyreg.h Message-ID: <200807150204.m6F24l5l036408@repoman.freebsd.org> yongari 2008-07-15 02:04:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii rgephy.c rgephyreg.h Log: SVN rev 180529 on 2008-07-15 02:04:31Z by yongari MFC r180178. Add RTL8211C(L) support. Disable advanced link-down power saving in phy reset. Revision Changes Path 1.15.2.4 +13 -1 src/sys/dev/mii/rgephy.c 1.2.10.2 +2 -1 src/sys/dev/mii/rgephyreg.h From yongari at FreeBSD.org Tue Jul 15 02:07:33 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 02:07:45 2008 Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200807150207.m6F27X27036699@repoman.freebsd.org> yongari 2008-07-15 02:07:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 180530 on 2008-07-15 02:07:17Z by yongari MFC r180376. Disable jumbo frame support for RTL810x fast ethernet controllers. Revision Changes Path 1.95.2.30 +2 -1 src/sys/dev/re/if_re.c From yongari at FreeBSD.org Tue Jul 15 02:12:37 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 15 02:12:48 2008 Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h Message-ID: <200807150212.m6F2Cae0037168@repoman.freebsd.org> yongari 2008-07-15 02:10:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c sys/pci if_rlreg.h Log: SVN rev 180531 on 2008-07-15 02:10:23Z by yongari MFC r180377. Add driver support for RTL8102E and RTL8102EL which is the second generation of RTL810x PCIe fast ethernet controller. Note, Tx/Rx descriptor format is different from that of first generation of RTL8101E series. Jumbo frame is not supported for RTL810x family. Revision Changes Path 1.95.2.31 +8 -1 src/sys/dev/re/if_re.c 1.67.2.13 +2 -0 src/sys/pci/if_rlreg.h From delphij at FreeBSD.org Tue Jul 15 02:35:00 2008 From: delphij at FreeBSD.org (Xin LI) Date: Tue Jul 15 02:35:12 2008 Subject: cvs commit: src/sys/dev/sound/pci/hda hdac.c Message-ID: <200807150234.m6F2YxoN038919@repoman.freebsd.org> delphij 2008-07-15 02:34:44 UTC FreeBSD src repository Modified files: sys/dev/sound/pci/hda hdac.c Log: SVN rev 180532 on 2008-07-15 02:34:44Z by delphij Add quirk for Dell D630 laptops. Tested by: Quake Lee , Robert Noland MFC after: 1 week Approved by: ariff Revision Changes Path 1.55 +7 -1 src/sys/dev/sound/pci/hda/hdac.c From alc at FreeBSD.org Tue Jul 15 03:35:57 2008 From: alc at FreeBSD.org (Alan Cox) Date: Tue Jul 15 03:36:03 2008 Subject: cvs commit: src/sys/amd64/amd64 busdma_machdep.c src/sys/i386/i386 busdma_machdep.c src/sys/ia64/ia64 busdma_machdep.c Message-ID: <200807150335.m6F3ZvG8045308@repoman.freebsd.org> alc 2008-07-15 03:34:49 UTC FreeBSD src repository Modified files: sys/amd64/amd64 busdma_machdep.c sys/i386/i386 busdma_machdep.c sys/ia64/ia64 busdma_machdep.c Log: SVN rev 180533 on 2008-07-15 03:34:49Z by alc Update bus_dmamem_alloc()'s first call to malloc() such that M_WAITOK is specified when appropriate. Reviewed by: scottl Revision Changes Path 1.86 +4 -4 src/sys/amd64/amd64/busdma_machdep.c 1.93 +3 -3 src/sys/i386/i386/busdma_machdep.c 1.47 +3 -3 src/sys/ia64/ia64/busdma_machdep.c From danger at FreeBSD.org Tue Jul 15 10:06:54 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Tue Jul 15 10:07:00 2008 Subject: cvs commit: src/lib/libc/sys modstat.2 Message-ID: <200807151006.m6FA6rnr015913@repoman.freebsd.org> danger 2008-07-15 10:06:37 UTC FreeBSD src repository Modified files: lib/libc/sys modstat.2 Log: SVN rev 180534 on 2008-07-15 10:06:37Z by danger Update the definition of modspecific structure PR: docs/125630 Revision Changes Path 1.12 +3 -3 src/lib/libc/sys/modstat.2 From rpaulo at FreeBSD.org Tue Jul 15 10:32:40 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Tue Jul 15 10:32:47 2008 Subject: cvs commit: src/sys/netinet tcp_output.c Message-ID: <200807151032.m6FAWdso017862@repoman.freebsd.org> rpaulo 2008-07-15 10:32:35 UTC FreeBSD src repository Modified files: sys/netinet tcp_output.c Log: SVN rev 180535 on 2008-07-15 10:32:35Z by rpaulo Fix commment in typo. M tcp_output.c Revision Changes Path 1.151 +1 -1 src/sys/netinet/tcp_output.c From itetcu at FreeBSD.org Tue Jul 15 10:34:45 2008 From: itetcu at FreeBSD.org (Ion-Mihai Tetcu) Date: Tue Jul 15 10:34:51 2008 Subject: cvs commit: src/games/fortune/fortune fortune.6 fortune.c In-Reply-To: <200807141049.m6EAn7D7088323@repoman.freebsd.org> References: <200807141049.m6EAn7D7088323@repoman.freebsd.org> Message-ID: <20080715131440.1a902a95@it.buh.tecnik93.com> On Mon, 14 Jul 2008 10:49:01 +0000 (UTC) Edwin Groothuis wrote: > edwin 2008-07-14 10:49:01 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > games/fortune/fortune fortune.6 fortune.c > Log: > SVN rev 180505 on 2008-07-14 10:49:01Z by edwin > > MFC of revision 173401, 173414 and 173396: > > gaames/fortune: add FORTUNE_PATH env var, so ports of fortunes can > work sanely > This patch adds an environment variable FORTUNE_PATH, which > works like PATH for fortune files. > > PR: bin/36867 > Submitted by: Alan Eldridge > > [patch] fortune -e implementation bug > > Fix the behaviour of "-e file1 file2" to equally pick them > instead of only picking the first one. > > PR: bin/70182 > Submitted by: Martin Kulas Thank you! -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080715/2e4bddd4/signature.pgp From rwatson at FreeBSD.org Tue Jul 15 15:38:59 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 15 15:39:05 2008 Subject: cvs commit: src/sys/netinet in_pcb.h udp_usrreq.c Message-ID: <200807151538.m6FFcwPq061100@repoman.freebsd.org> rwatson 2008-07-15 15:38:47 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.h udp_usrreq.c Log: SVN rev 180536 on 2008-07-15 15:38:47Z by rwatson Merge last of a series of rwlock conversion changes to UDP, which completes the move to a fully parallel UDP transmit path by using global read, rather than write, locking of inpcbinfo in further semi-connected cases: - Add macros to allow try-locking of inpcb and inpcbinfo. - Always acquire an incpcb read lock in udp_output(), which stablizes the local inpcb address and port bindings in order to determine what further locking is required: - If the inpcb is currently not bound (at all) and are implicitly connecting, we require inpcbinfo and inpcb write locks, so drop the read lock and re-acquire. - If the inpcb is bound for at least one of the port or address, but an explicit source or destination is requested, trylock the inpcbinfo lock, and if that fails, drop the inpcb lock, lock the global lock, and relock the inpcb lock. - Otherwise, no further locking is required (common case). - Update comments. In practice, this means that the vast majority of consumers of UDP sockets will not acquire any exclusive locks at the socket or UDP levels of the network stack. This leads to a marked performance improvement in several important workloads, including BIND, nsd, and memcached over UDP, as well as significant improvements in pps microbenchmarks. The plan is to MFC all of the rwlock changes to RELENG_7 once they have settled for a weeks in the tree. Tested by: ps, kris (older revision), bde MFC after: 3 weeks Revision Changes Path 1.110 +4 -0 src/sys/netinet/in_pcb.h 1.231 +85 -34 src/sys/netinet/udp_usrreq.c From rwatson at FreeBSD.org Tue Jul 15 15:49:23 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 15 15:49:30 2008 Subject: cvs commit: src/sys/netinet in_pcb.h udp_usrreq.c In-Reply-To: <200807151538.m6FFcwPq061100@repoman.freebsd.org> References: <200807151538.m6FFcwPq061100@repoman.freebsd.org> Message-ID: <20080715164849.V20441@fledge.watson.org> On Tue, 15 Jul 2008, Robert Watson wrote: > Tested by: ps, kris (older revision), bde On reflection, it looks like I was confused -- bde has tested the older code in HEAD but not this latest patch, so ignore that. :-) Robert N M Watson Computer Laboratory University of Cambridge From rwatson at FreeBSD.org Tue Jul 15 16:07:45 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 15 16:07:51 2008 Subject: cvs commit: src/usr.sbin/extattr rmextattr.c Message-ID: <200807151607.m6FG7iDE064566@repoman.freebsd.org> rwatson 2008-07-15 16:07:34 UTC FreeBSD src repository Modified files: usr.sbin/extattr rmextattr.c Log: SVN rev 180537 on 2008-07-15 16:07:34Z by rwatson Invoke err() with a format string rather than directly with a passed command line argument. Submitted by: Alfredo Ortega Thanks to: Core Security Technologies MFC after: 3 days Revision Changes Path 1.7 +1 -1 src/usr.sbin/extattr/rmextattr.c From ticso at cicely7.cicely.de Tue Jul 15 21:32:37 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Tue Jul 15 21:32:51 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080714234809.32cb8042.stas@FreeBSD.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> Message-ID: <20080715210512.GK35340@cicely7.cicely.de> On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > On Fri, 11 Jul 2008 23:19:09 +0200 > Jeremie Le Hen mentioned: > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > I'll try tomorrow. Currently, I have no access to the board. Is it this kind of problem: ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited SD CARD: 1023934464 bytes mmcsd0: on mmc0 mmc0: setting transfer rate to 30.000MHz Trying to mount root from ufs:/dev/mmcsd0s1a pid 20 (sh), uid 0: exited on signal 11 Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh: This happens for me with recent kernel and few days old 7-stable userland, so it shouldn't have anything to do with installed libc. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From stas at FreeBSD.org Tue Jul 15 22:14:07 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Tue Jul 15 22:14:23 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080715210512.GK35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> Message-ID: <20080716021322.52f895c9.stas@FreeBSD.org> On Tue, 15 Jul 2008 23:05:14 +0200 Bernd Walter mentioned: > On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > > On Fri, 11 Jul 2008 23:19:09 +0200 > > Jeremie Le Hen mentioned: > > > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > > > > I'll try tomorrow. Currently, I have no access to the board. > > Is it this kind of problem: > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited > SD CARD: 1023934464 bytes > mmcsd0: on mmc0 > mmc0: setting transfer rate to 30.000MHz > Trying to mount root from ufs:/dev/mmcsd0s1a > pid 20 (sh), uid 0: exited on signal 11 > Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > Enter full pathname of shell or RETURN for /bin/sh: > > This happens for me with recent kernel and few days old 7-stable > userland, so it shouldn't have anything to do with installed libc. > Seems to be the same problem. However, it seems that just using libc compiled w/out SSP solves it, although I haven't tested the entire world yet. -- Stanislav Sedov ST4096-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080715/8f13db8d/attachment.pgp From ticso at cicely7.cicely.de Tue Jul 15 22:55:00 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Tue Jul 15 22:55:11 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080716021322.52f895c9.stas@FreeBSD.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> <20080716021322.52f895c9.stas@FreeBSD.org> Message-ID: <20080715225443.GM35340@cicely7.cicely.de> On Wed, Jul 16, 2008 at 02:13:22AM +0400, Stanislav Sedov wrote: > On Tue, 15 Jul 2008 23:05:14 +0200 > Bernd Walter mentioned: > > > On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > > > On Fri, 11 Jul 2008 23:19:09 +0200 > > > Jeremie Le Hen mentioned: > > > > > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > > > > > > > I'll try tomorrow. Currently, I have no access to the board. > > > > Is it this kind of problem: > > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited > > SD CARD: 1023934464 bytes > > mmcsd0: on mmc0 > > mmc0: setting transfer rate to 30.000MHz > > Trying to mount root from ufs:/dev/mmcsd0s1a > > pid 20 (sh), uid 0: exited on signal 11 > > Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > > Enter full pathname of shell or RETURN for /bin/sh: > > > > This happens for me with recent kernel and few days old 7-stable > > userland, so it shouldn't have anything to do with installed libc. > > > > Seems to be the same problem. However, it seems that just using libc > compiled w/out SSP solves it, although I haven't tested the entire > world yet. Mmm... But don't have the SSP change at all, since I still have a 7-stable userland. Static compiled binaries (/rescue) works fine. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From yongari at FreeBSD.org Wed Jul 16 00:45:06 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 00:45:17 2008 Subject: cvs commit: src/sys/dev/mii jmphy.c jmphyreg.h miidevs Message-ID: <200807160045.m6G0j5K0045311@repoman.freebsd.org> yongari 2008-07-16 00:44:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii miidevs Added files: (Branch: RELENG_7) sys/dev/mii jmphy.c jmphyreg.h Log: SVN rev 180538 on 2008-07-16 00:44:49Z by yongari MFC r179335. Add JMicron JMP202/JMP211 PHY driver. Revision Changes Path 1.1.2.1 +379 -0 src/sys/dev/mii/jmphy.c (new) 1.1.2.1 +108 -0 src/sys/dev/mii/jmphyreg.h (new) 1.46.2.8 +5 -0 src/sys/dev/mii/miidevs From yongari at FreeBSD.org Wed Jul 16 00:49:56 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 00:50:07 2008 Subject: cvs commit: src/sys/conf files src/sys/modules/mii Makefile Message-ID: <200807160049.m6G0nt6c054940@repoman.freebsd.org> yongari 2008-07-16 00:49:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files sys/modules/mii Makefile Log: SVN rev 180539 on 2008-07-16 00:49:22Z by yongari MFC r179336. Connect jmphy(4) to the build. Revision Changes Path 1.1243.2.28 +1 -0 src/sys/conf/files 1.30.2.5 +1 -1 src/sys/modules/mii/Makefile From yongari at FreeBSD.org Wed Jul 16 00:52:42 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 00:52:48 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c if_jmereg.h if_jmevar.h Message-ID: <200807160052.m6G0qgra055214@repoman.freebsd.org> yongari 2008-07-16 00:52:33 UTC FreeBSD src repository Added files: (Branch: RELENG_7) sys/dev/jme if_jme.c if_jmereg.h if_jmevar.h Log: SVN rev 180540 on 2008-07-16 00:52:33Z by yongari MFC r179337. Add driver support for PCIe adapters based on JMicron JMC250 gigabit ethernet and JMC260 fast ethernet controllers. ATM jme(4) supports all hardware features except RSS and multiple Tx/Rx queue. In these days most ethernet controller vendors take a ply of concealing hardware detailes from open source developers. As contrasted with these vendors JMicron provided all necessary information needed to write a stable driver during driver writing and answered many questions I had. They even helped fixing driver bugs with protocol analyzer. Many thanks to JMicron for their support of FreeBSD. H/W donated by: JMicron Revision Changes Path 1.1.2.1 +3083 -0 src/sys/dev/jme/if_jme.c (new) 1.1.2.1 +1010 -0 src/sys/dev/jme/if_jmereg.h (new) 1.1.2.1 +232 -0 src/sys/dev/jme/if_jmevar.h (new) From yongari at FreeBSD.org Wed Jul 16 01:02:58 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 01:03:09 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200807160102.m6G12vFf056003@repoman.freebsd.org> yongari 2008-07-16 01:02:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/jme if_jme.c Log: SVN rev 180541 on 2008-07-16 01:02:44Z by yongari taskqueue_block(9)/taskqueue_unblock(9) is not available in RELENG_7. Add '#ifdef notyet' to exclude them. Revision Changes Path 1.1.2.2 +4 -0 src/sys/dev/jme/if_jme.c From yongari at FreeBSD.org Wed Jul 16 01:13:07 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 01:13:12 2008 Subject: cvs commit: src/sys/conf NOTES files src/sys/modules Makefile src/sys/modules/jme Makefile Message-ID: <200807160113.m6G1D6Jc058041@repoman.freebsd.org> yongari 2008-07-16 01:12:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf NOTES files sys/modules Makefile Added files: (Branch: RELENG_7) sys/modules/jme Makefile Log: SVN rev 180542 on 2008-07-16 01:12:02Z by yongari MFC r179338. Hook up jme(4) to the build. Revision Changes Path 1.1454.2.13 +1 -0 src/sys/conf/NOTES 1.1243.2.29 +1 -0 src/sys/conf/files 1.540.2.17 +1 -0 src/sys/modules/Makefile 1.1.2.1 +8 -0 src/sys/modules/jme/Makefile (new) From yongari at FreeBSD.org Wed Jul 16 01:24:42 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 01:24:53 2008 Subject: cvs commit: src/share/man/man4 jme.4 Message-ID: <200807160124.m6G1ObW7058915@repoman.freebsd.org> yongari 2008-07-16 01:24:27 UTC FreeBSD src repository Added files: (Branch: RELENG_7) share/man/man4 jme.4 Log: SVN rev 180543 on 2008-07-16 01:24:27Z by yongari MFC r179339. Add man page for jme(4). Revision Changes Path 1.1.2.1 +153 -0 src/share/man/man4/jme.4 (new) From yongari at FreeBSD.org Wed Jul 16 01:25:58 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 01:26:04 2008 Subject: cvs commit: src/share/man/man4 vlan.4 Message-ID: <200807160125.m6G1PvDE059083@repoman.freebsd.org> yongari 2008-07-16 01:25:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 vlan.4 Log: SVN rev 180544 on 2008-07-16 01:25:50Z by yongari MFC r179340. Add jme(4) to the list of devices supporting full VLAN processing in hardware. Revision Changes Path 1.44.2.3 +2 -1 src/share/man/man4/vlan.4 From yongari at FreeBSD.org Wed Jul 16 01:27:13 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 01:27:19 2008 Subject: cvs commit: src/share/man/man4 altq.4 Message-ID: <200807160127.m6G1RDaE059191@repoman.freebsd.org> yongari 2008-07-16 01:27:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 altq.4 Log: SVN rev 180545 on 2008-07-16 01:27:04Z by yongari MFC r179341. Add jme(4) to the list of drivers supporting ALTQ. Revision Changes Path 1.32.2.2 +2 -1 src/share/man/man4/altq.4 From yongari at FreeBSD.org Wed Jul 16 01:28:15 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 01:28:21 2008 Subject: cvs commit: src/share/man/man4 miibus.4 Message-ID: <200807160128.m6G1SE9P059285@repoman.freebsd.org> yongari 2008-07-16 01:28:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 miibus.4 Log: SVN rev 180546 on 2008-07-16 01:28:01Z by yongari MFC r179342. Add jme(4) to the list of drivers use the miibus interface. Revision Changes Path 1.21.2.2 +4 -1 src/share/man/man4/miibus.4 From yongari at FreeBSD.org Wed Jul 16 01:56:16 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 01:56:27 2008 Subject: cvs commit: src/sys/boot/forth loader.conf Message-ID: <200807160156.m6G1uGPx061515@repoman.freebsd.org> yongari 2008-07-16 01:56:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/forth loader.conf Log: SVN rev 180547 on 2008-07-16 01:56:00Z by yongari MFC r179343. Add an entry for the jme(4) module. Revision Changes Path 1.122.2.2 +1 -0 src/sys/boot/forth/loader.conf From yongari at FreeBSD.org Wed Jul 16 01:59:18 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 01:59:24 2008 Subject: cvs commit: src/usr.sbin/sysinstall devices.c Message-ID: <200807160159.m6G1xHAJ061721@repoman.freebsd.org> yongari 2008-07-16 01:59:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/sysinstall devices.c Log: SVN rev 180548 on 2008-07-16 01:59:08Z by yongari MFC r179344. Add jme(4) to the list of supported network interface. Revision Changes Path 1.173.2.2 +1 -0 src/usr.sbin/sysinstall/devices.c From yongari at FreeBSD.org Wed Jul 16 02:02:04 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 02:02:15 2008 Subject: cvs commit: src/share/man/man4 Makefile Message-ID: <200807160202.m6G223pM062009@repoman.freebsd.org> yongari 2008-07-16 02:01:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 Makefile Log: SVN rev 180549 on 2008-07-16 02:01:49Z by yongari MFC r179346. Hook up jme(4) to the build. Revision Changes Path 1.393.2.14 +1 -0 src/share/man/man4/Makefile From yongari at FreeBSD.org Wed Jul 16 02:06:14 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 02:06:26 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC src/sys/i386/conf GENERIC Message-ID: <200807160206.m6G26EVg063515@repoman.freebsd.org> yongari 2008-07-16 02:05:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/conf GENERIC sys/i386/conf GENERIC Log: SVN rev 180550 on 2008-07-16 02:05:40Z by yongari MFC r179347. Add jme(4) to the list of drivers supported by GENERIC kernel. Revision Changes Path 1.484.2.10 +1 -0 src/sys/amd64/conf/GENERIC 1.474.2.10 +1 -0 src/sys/i386/conf/GENERIC From yongari at FreeBSD.org Wed Jul 16 08:02:35 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 08:02:47 2008 Subject: cvs commit: src/sys/dev/vr if_vr.c if_vrreg.h Message-ID: <200807160802.m6G82YVw006702@repoman.freebsd.org> yongari 2008-07-16 08:02:23 UTC FreeBSD src repository Modified files: sys/dev/vr if_vr.c if_vrreg.h Log: SVN rev 180551 on 2008-07-16 08:02:23Z by yongari Fix VR_RXSTAT_RX_OK bit definition which lasted for more than 9 years. All datasheet I have indicates the bit 15 is the VR_RXSTAT_RX_OK. The bit 14 is reserved for all Rhine family except VT6105M. VT6105M uses that bit to indicate a VLAN frame with matching CAM VLAN id. Use the VR_RXSTAT_RX_OK instead of VR_RXSTAT_RXERR when vr(4) checks the validity of received frame. This should fix occasional dropping frames on VT6105M. Tested by: Goran Lowkrantz ( goran.lowkrantz at ismobile dot com ) MFC after: 1 week Revision Changes Path 1.131 +2 -2 src/sys/dev/vr/if_vr.c 1.37 +2 -1 src/sys/dev/vr/if_vrreg.h From yongari at FreeBSD.org Wed Jul 16 08:35:38 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 16 08:35:50 2008 Subject: cvs commit: src/sys/dev/vr if_vr.c if_vrreg.h Message-ID: <200807160835.m6G8ZZjt010416@repoman.freebsd.org> yongari 2008-07-16 08:35:29 UTC FreeBSD src repository Modified files: sys/dev/vr if_vr.c if_vrreg.h Log: SVN rev 180552 on 2008-07-16 08:35:29Z by yongari Fix a multicast handling regression on VT6105M introduced in vr(4) overhauling(r177050). It seems that filtering multicast addresses with multicast CAM entries require accessing 'CAM enable bit' for each CAM entry. Subsequent accessing multicast CAM control register without toggling the 'CAM enable bit' seem to no effects. In order to fix that separate CAM setup from CAM mask configuration and CAM entry modification. While I'm here add VLAN CAM filtering feature which will be enabled in future(FreeBSD now can receive VLAN id insertion/removal event from vlan(4) on the fly). For VT6105M hardware, explicitly disable VLAN hardware tag insertion/stripping and enable VLAN CAM filtering for VLAN id 0. This shall make non-VLAN frames set VR_RXSTAT_VIDHIT bit in Rx status word. Added multicast/VLAN CAM address definition to header file. PR: kern/125010, kern/125024 MFC after: 1 week Revision Changes Path 1.132 +48 -25 src/sys/dev/vr/if_vr.c 1.38 +12 -0 src/sys/dev/vr/if_vrreg.h From dougb at FreeBSD.org Wed Jul 16 10:02:22 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Wed Jul 16 10:02:29 2008 Subject: cvs commit: src/etc/namedb named.conf Message-ID: <200807161002.m6GA2MNL027850@repoman.freebsd.org> dougb 2008-07-16 10:02:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/namedb named.conf Log: SVN rev 180555 on 2008-07-16 10:02:15Z by dougb MFC r180478, stronger wording to warn users about not using the query-source option, and a better example. Revision Changes Path 1.21.2.8 +13 -7 src/etc/namedb/named.conf From dougb at FreeBSD.org Wed Jul 16 10:02:23 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Wed Jul 16 10:02:45 2008 Subject: cvs commit: src/etc/namedb named.conf Message-ID: <200807161002.m6GA2Nvw027881@repoman.freebsd.org> dougb 2008-07-16 10:02:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/namedb named.conf Log: SVN rev 180555 on 2008-07-16 10:02:15Z by dougb MFC r180478, stronger wording to warn users about not using the query-source option, and a better example. Revision Changes Path 1.26.2.2 +13 -7 src/etc/namedb/named.conf From dougb at FreeBSD.org Wed Jul 16 10:27:40 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Wed Jul 16 10:27:51 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200807161027.m6GARege030991@repoman.freebsd.org> dougb 2008-07-16 10:27:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf newvers.sh Log: SVN rev 180556 on 2008-07-16 10:27:26Z by dougb MFC r179637, r179655, and r180503, the inclusion of the svnversion info for uname. Revision Changes Path 1.72.2.8 +18 -2 src/sys/conf/newvers.sh From dougb at FreeBSD.org Wed Jul 16 10:29:56 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Wed Jul 16 10:30:06 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200807161029.m6GATt4V031164@repoman.freebsd.org> dougb 2008-07-16 10:29:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/conf newvers.sh Log: SVN rev 180557 on 2008-07-16 10:29:42Z by dougb MFC r179637, r179655, and r180503, the inclusion of the svnversion info for uname. Revision Changes Path 1.69.2.17 +18 -2 src/sys/conf/newvers.sh From rwatson at FreeBSD.org Wed Jul 16 10:55:58 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 16 10:56:09 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200807161055.m6GAtvCW033359@repoman.freebsd.org> rwatson 2008-07-16 10:55:50 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: SVN rev 180558 on 2008-07-16 10:55:50Z by rwatson Fix error in comment. MFC after: 3 weeks Revision Changes Path 1.232 +3 -3 src/sys/netinet/udp_usrreq.c From ed at FreeBSD.org Wed Jul 16 11:24:42 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Jul 16 11:24:49 2008 Subject: cvs commit: src/bin/stty print.c src/sys/sys ioctl_compat.h src/usr.sbin/pstat pstat.c Message-ID: <200807161124.m6GBOgx3036772@repoman.freebsd.org> ed 2008-07-16 11:20:04 UTC FreeBSD src repository Modified files: bin/stty print.c sys/sys ioctl_compat.h usr.sbin/pstat pstat.c Log: SVN rev 180559 on 2008-07-16 11:20:04Z by ed Remove OTTYDISC, NETLDISC and NTTYDISC definitions. When I ported most applications away from , I noticed none of them were actually using these definitions. I kept them in place, because I didn't want to touch tools like pstat(8) and stty(1). In preparation for the MPSAFE TTY layer, remove these definitions. This doesn't have any impact with respect to binary compatibility (see tty_conf.c). We couldn now add an #error to when included outside the kernel. Unfortunately, kdump's mkioctls includes this file unconditionally. Approved by: philip (mentor) Revision Changes Path 1.21 +0 -5 src/bin/stty/print.c 1.12 +0 -8 src/sys/sys/ioctl_compat.h 1.104 +0 -4 src/usr.sbin/pstat/pstat.c From ed at FreeBSD.org Wed Jul 16 11:26:42 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Jul 16 11:26:54 2008 Subject: cvs commit: src/sys/sys ttycom.h Message-ID: <200807161126.m6GBQgih036974@repoman.freebsd.org> ed 2008-07-16 11:23:15 UTC FreeBSD src repository Modified files: sys/sys ttycom.h Log: SVN rev 180560 on 2008-07-16 11:23:15Z by ed Sort the ioctl's in by number. I think one of the reasons why we have so many conflicts in the TTY ioctl category, is because the ioctl's aren't ordered logically. This commit only sorts them by number. The comments may still be inaccurate. Approved by: philip (mentor) Revision Changes Path 1.27 +48 -48 src/sys/sys/ttycom.h From ed at FreeBSD.org Wed Jul 16 12:36:44 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Jul 16 12:36:50 2008 Subject: cvs commit: src/sys/sys termios.h Message-ID: <200807161236.m6GCaiWi043722@repoman.freebsd.org> ed 2008-07-16 12:36:39 UTC FreeBSD src repository Modified files: sys/sys termios.h Log: SVN rev 180561 on 2008-07-16 12:36:39Z by ed Move the TCSA* definitions out of _KERNEL. They are processed in libc. The tcsetattr() routine already converts the TCSA* arguments to their respective TIOCSETA* ioctl's in the C library. There is no need to have these definitions inside the kernel. Approved by: philip (mentor, implicit) Revision Changes Path 1.22 +10 -10 src/sys/sys/termios.h From cokane at FreeBSD.org Wed Jul 16 16:28:33 2008 From: cokane at FreeBSD.org (Coleman Kane) Date: Wed Jul 16 16:28:44 2008 Subject: cvs commit: src/sys/compat/ndis subr_ntoskrnl.c Message-ID: <200807161628.m6GGSWeo076010@repoman.freebsd.org> cokane 2008-07-16 16:28:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/ndis subr_ntoskrnl.c Log: SVN rev 180562 on 2008-07-16 16:28:12Z by cokane MFC of r179806 to 7-STABLE: Silence warning about missing IoGetDeviceObjectPointer by implementing a simple stub that always returns STATUS_SUCCESS. Submitted by: Paul B. Mahol Reviewed by: thompsa Revision Changes Path 1.90.2.2 +13 -0 src/sys/compat/ndis/subr_ntoskrnl.c From dougb at FreeBSD.org Wed Jul 16 19:50:39 2008 From: dougb at FreeBSD.org (Doug Barton) Date: Wed Jul 16 19:50:50 2008 Subject: cvs commit: src/etc/rc.d amd apmd bsnmpd bthidd devd ftp-proxy ftpd hcsecd idmapd keyserv lockd lpd mountd moused nfsd nscd ntpd powerd rpcbind rtadvd rwho sdpd sendmail sshd statd timed ugidfw watchdogd ypbind yppasswdd ypserv ypset ypupdated ypxfrd Message-ID: <200807161950.m6GJobXk005403@repoman.freebsd.org> dougb 2008-07-16 19:50:29 UTC FreeBSD src repository Modified files: etc/rc.d amd apmd bsnmpd bthidd devd ftp-proxy ftpd hcsecd idmapd keyserv lockd lpd mountd moused nfsd nscd ntpd powerd rpcbind rtadvd rwho sdpd sendmail sshd statd timed ugidfw watchdogd ypbind yppasswdd ypserv ypset ypupdated ypxfrd Log: SVN rev 180564 on 2008-07-16 19:50:29Z by dougb Add the shutdown KEYWORD to those scripts that start persistent services to allow them to do a "clean" shutdown. I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel. I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it. Revision Changes Path 1.22 +1 -1 src/etc/rc.d/amd 1.14 +1 -1 src/etc/rc.d/apmd 1.2 +1 -1 src/etc/rc.d/bsnmpd 1.2 +1 -1 src/etc/rc.d/bthidd 1.11 +1 -1 src/etc/rc.d/devd 1.3 +1 -0 src/etc/rc.d/ftp-proxy 1.2 +1 -0 src/etc/rc.d/ftpd 1.6 +1 -1 src/etc/rc.d/hcsecd 1.2 +1 -1 src/etc/rc.d/idmapd 1.5 +1 -0 src/etc/rc.d/keyserv 1.22 +1 -1 src/etc/rc.d/lockd 1.10 +1 -0 src/etc/rc.d/lpd 1.21 +1 -1 src/etc/rc.d/mountd 1.14 +1 -1 src/etc/rc.d/moused 1.15 +1 -1 src/etc/rc.d/nfsd 1.7 +1 -0 src/etc/rc.d/nscd 1.15 +1 -1 src/etc/rc.d/ntpd 1.5 +1 -1 src/etc/rc.d/powerd 1.14 +1 -0 src/etc/rc.d/rpcbind 1.12 +1 -1 src/etc/rc.d/rtadvd 1.6 +1 -0 src/etc/rc.d/rwho 1.6 +1 -1 src/etc/rc.d/sdpd 1.19 +1 -0 src/etc/rc.d/sendmail 1.14 +1 -0 src/etc/rc.d/sshd 1.21 +1 -1 src/etc/rc.d/statd 1.7 +1 -1 src/etc/rc.d/timed 1.7 +1 -1 src/etc/rc.d/ugidfw 1.6 +1 -1 src/etc/rc.d/watchdogd 1.12 +1 -0 src/etc/rc.d/ypbind 1.13 +1 -0 src/etc/rc.d/yppasswdd 1.14 +1 -0 src/etc/rc.d/ypserv 1.8 +1 -0 src/etc/rc.d/ypset 1.7 +1 -0 src/etc/rc.d/ypupdated 1.9 +1 -0 src/etc/rc.d/ypxfrd From jhb at FreeBSD.org Thu Jul 17 13:48:07 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 13:48:15 2008 Subject: cvs commit: src/usr.sbin/pw pwupd.c Message-ID: <200807171348.m6HDm484060853@repoman.freebsd.org> jhb 2008-07-17 13:47:59 UTC FreeBSD src repository Modified files: usr.sbin/pw pwupd.c Log: SVN rev 180565 on 2008-07-17 13:47:59Z by jhb Before updating the password database, the pw(8) utility first performs a sanity check by invoking "pwd_mkdb -C". However, if this failed it silently returned success. Fix this so it fails the update operation instead. MFC after: 1 week Revision Changes Path 1.21 +2 -1 src/usr.sbin/pw/pwupd.c From ticso at cicely7.cicely.de Thu Jul 17 14:09:14 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Thu Jul 17 14:09:20 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080715225443.GM35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> <20080716021322.52f895c9.stas@FreeBSD.org> <20080715225443.GM35340@cicely7.cicely.de> Message-ID: <20080717140905.GX35340@cicely7.cicely.de> On Wed, Jul 16, 2008 at 12:54:46AM +0200, Bernd Walter wrote: > On Wed, Jul 16, 2008 at 02:13:22AM +0400, Stanislav Sedov wrote: > > On Tue, 15 Jul 2008 23:05:14 +0200 > > Bernd Walter mentioned: > > > > > On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > > > > On Fri, 11 Jul 2008 23:19:09 +0200 > > > > Jeremie Le Hen mentioned: > > > > > > > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > > > > > > > > > > I'll try tomorrow. Currently, I have no access to the board. > > > > > > Is it this kind of problem: > > > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited > > > SD CARD: 1023934464 bytes > > > mmcsd0: on mmc0 > > > mmc0: setting transfer rate to 30.000MHz > > > Trying to mount root from ufs:/dev/mmcsd0s1a > > > pid 20 (sh), uid 0: exited on signal 11 > > > Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > > > Enter full pathname of shell or RETURN for /bin/sh: > > > > > > This happens for me with recent kernel and few days old 7-stable > > > userland, so it shouldn't have anything to do with installed libc. > > > > > > > Seems to be the same problem. However, it seems that just using libc > > compiled w/out SSP solves it, although I haven't tested the entire > > world yet. > > Mmm... > But don't have the SSP change at all, since I still have a 7-stable > userland. > Static compiled binaries (/rescue) works fine. Strange enough disabling SSP did make a difference, but I still have problems at some point: Trying to mount root from ufs:/dev/mmcsd0s1a Loading configuration files. usb_new_device: set address 2 failed - trying a port reset No suitable dump device was found. usb_new_device: set address 2 failed - trying a port reset Entropy harvesting: interrupts ethernet point_to_pointusb_new_device: set address 2 failed - trying a port reset usbd_new_device: addr=2, getting first desc failed uhub_explore: usb_new_device failed, error=IOERROR uhub0: device problem (IOERROR), disabling port 2 kickstart. swapon: adding /dev/mmcsd0s1b as swap device Starting file system checks: /dev/mmcsd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0s1a: clean, 264157 free (25021 frags, 29892 blocks, 6.0% fragmentation) pid 59 (mount), uid 0: exited on signal 11 (core dumped) Segmentation fault (core dumped) Mounting root filesystem rw failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! Jul 17 16:04:26 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh: I'll try more recent code. Maybe I got something bad. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From jhb at freebsd.org Thu Jul 17 14:25:04 2008 From: jhb at freebsd.org (John Baldwin) Date: Thu Jul 17 14:25:15 2008 Subject: cvs commit: src/sys/dev/ciss ciss.c cissio.h cissreg.h cissvar.h In-Reply-To: <200807112121.m6BLL70t031426@repoman.freebsd.org> References: <200807112121.m6BLL70t031426@repoman.freebsd.org> Message-ID: <200807170857.13575.jhb@freebsd.org> On Friday 11 July 2008 05:20:51 pm Scott Long wrote: > scottl 2008-07-11 21:20:51 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ciss ciss.c cissio.h cissreg.h cissvar.h > Log: > SVN rev 180454 on 2008-07-11 21:20:51Z by scottl > > A number of significant enhancements to the ciss driver: > > 3. Implemented MSI-X. Without any docs on this, I was just taking a > guess, and it appears to only work with the Performant method. This > could be a programming or understanding mistake on my part. While this > by itself made almost no difference to performance since the Performant > method already eliminated most of the synchronous reads over the PCI > bus, it did allow the CISS hardware to stop sharing its interrupt with > the USB hardware, which in turn allowed the driver to become decoupled > from the Giant-locked USB driver stack. This increased performance by > almost 20%. The MSI-X setup was done with 4 vectors allocated, but only > 1 vector used since the performant method was told to only use 1 of 4 > queues. Fiddling with this might make it work with the simpleq method, > not sure. I did not implement MSI since I have no MSI-specific hardware > in my test lab. One note here is that since you only use 1 message currently, you should really only alloc 1 message. That is: val = pci_msix_count(dev); if (val != CISS_MSI_COUNT) return (ENXIO); /* Currently only a single message is used. */ val = 1; error = pci_alloc_msix(dev, &val); ... The reason being that this "plays nicer" as far as system resource are concerned (only reserves 1 IDT slot vs 4 on x86 for example). In the case of MSI-X it also results in the same exact register updates since for MSI-X the count is never set in the config registers, instead we adjust each table entry during bus_setup_intr(). -- John Baldwin From flz at FreeBSD.org Thu Jul 17 15:08:36 2008 From: flz at FreeBSD.org (Florent Thoumie) Date: Thu Jul 17 15:08:49 2008 Subject: cvs commit: src/usr.sbin/sysinstall package.c Message-ID: <200807171508.m6HF8aSN076997@repoman.freebsd.org> flz 2008-07-17 15:08:26 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall package.c Log: SVN rev 180566 on 2008-07-17 15:08:26Z by flz Don't set PACKAGE_BUILDING while installing packages. Submitted by: erwin Discussed on: http://lists.freebsd.org/pipermail/freebsd-ports/2008-June/049074.html MFC after: 1 week Revision Changes Path 1.105 +0 -1 src/usr.sbin/sysinstall/package.c From gallatin at FreeBSD.org Thu Jul 17 15:46:53 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Thu Jul 17 15:47:00 2008 Subject: cvs commit: src/sys/dev/mxge if_mxge.c Message-ID: <200807171546.m6HFkrK9081309@repoman.freebsd.org> gallatin 2008-07-17 15:46:35 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: SVN rev 180567 on 2008-07-17 15:46:35Z by gallatin Clean up mxge's use of callouts as pointed out by jhb, and handle NIC hardware watchdog resets. - remove buggy code at the top of mxge_tick() which tried to detect a race which is already detected in the kernel's callout code. - move callout_stop() and callout_reset() into mxge_close() mxge_open() rather than doing the callout manipulation all over the place. - use callout_drain(), rather than callout_stop() to prevent a potential race between mxge_tick() and mxge_detach() which could lead to softclock using a destroyed mutex - restructure the mxge_tick() and mxge_watchdog_reset() routines to avoid resetting a callout, and then immediately stopping it if the watchdog reset routine is called, and fails. - enable the driver to handle NIC hardware watchdog resets by restoring the NIC's PCI config space, which is lost when the NIC hardware watchdog triggers. Reviewed by: jhb (previus version) Revision Changes Path 1.50 +19 -36 src/sys/dev/mxge/if_mxge.c From jhb at FreeBSD.org Thu Jul 17 16:04:55 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 16:05:07 2008 Subject: cvs commit: src/lib/libftpio ftpio.c Message-ID: <200807171604.m6HG4sKF084154@repoman.freebsd.org> jhb 2008-07-17 16:04:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libftpio ftpio.c Log: SVN rev 180568 on 2008-07-17 16:04:41Z by jhb MFC: Don't set the _file member of the FILE when opening a FTP connection. Revision Changes Path 1.44.10.1 +0 -1 src/lib/libftpio/ftpio.c From jhb at FreeBSD.org Thu Jul 17 16:05:25 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 16:05:37 2008 Subject: cvs commit: src/lib/libftpio ftpio.c Message-ID: <200807171605.m6HG5P54084300@repoman.freebsd.org> jhb 2008-07-17 16:05:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libftpio ftpio.c Log: SVN rev 180569 on 2008-07-17 16:05:14Z by jhb MFC: Don't set the _file member of the FILE when opening a FTP connection. Revision Changes Path 1.44.2.1 +0 -1 src/lib/libftpio/ftpio.c From kib at FreeBSD.org Thu Jul 17 16:45:19 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Thu Jul 17 16:45:31 2008 Subject: cvs commit: src/sys/kern kern_exec.c src/sys/sys imgact.h Message-ID: <200807171645.m6HGjJss087520@repoman.freebsd.org> kib 2008-07-17 16:44:07 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c sys/sys imgact.h Log: SVN rev 180570 on 2008-07-17 16:44:07Z by kib Pair the VOP_OPEN call from do_execve() with the reciprocal VOP_CLOSE. This was unnoticed because local filesystems usually do nothing non-trivial in the close vop. Reported and tested by: Rick Macklem MFC after: 2 weeks Revision Changes Path 1.319 +9 -0 src/sys/kern/kern_exec.c 1.42 +1 -0 src/sys/sys/imgact.h From jhb at FreeBSD.org Thu Jul 17 17:54:26 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 17:54:38 2008 Subject: cvs commit: src/sys/sys semaphore.h Message-ID: <200807171754.m6HHsPP8004655@repoman.freebsd.org> jhb 2008-07-17 17:54:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys semaphore.h Log: SVN rev 180571 on 2008-07-17 17:54:11Z by jhb MFC: Change SEM_VALUE_MAX (maximum value of a POSIX semaphore) from UINT_MAX to INT_MAX. Revision Changes Path 1.12.2.1 +3 -1 src/sys/sys/semaphore.h From jhb at FreeBSD.org Thu Jul 17 18:45:29 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 18:45:35 2008 Subject: cvs commit: src/sys/posix4 semaphore.h Message-ID: <200807171845.m6HIjRQM010152@repoman.freebsd.org> jhb 2008-07-17 18:45:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/posix4 semaphore.h Log: SVN rev 180572 on 2008-07-17 18:45:20Z by jhb MFC: Change SEM_VALUE_MAX (maximum value of a POSIX semaphore) from UINT_MAX to INT_MAX. Revision Changes Path 1.11.8.1 +3 -1 src/sys/posix4/semaphore.h From jhb at FreeBSD.org Thu Jul 17 18:54:28 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 18:54:40 2008 Subject: cvs commit: src/sys/dev/mfi mfi.c Message-ID: <200807171854.m6HIsSAY011456@repoman.freebsd.org> jhb 2008-07-17 18:54:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mfi mfi.c Log: SVN rev 180573 on 2008-07-17 18:54:08Z by jhb MFC: Improve the handling of pending events in the controller's event log during boot. Revision Changes Path 1.33.2.4 +75 -50 src/sys/dev/mfi/mfi.c From jhb at FreeBSD.org Thu Jul 17 18:57:00 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 18:57:11 2008 Subject: cvs commit: src/sys/dev/mfi mfi.c Message-ID: <200807171856.m6HIux9v011707@repoman.freebsd.org> jhb 2008-07-17 18:56:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mfi mfi.c Log: SVN rev 180574 on 2008-07-17 18:56:56Z by jhb MFC: Improve the handling of pending events in the controller's event log during boot. Revision Changes Path 1.3.2.13 +75 -50 src/sys/dev/mfi/mfi.c From jhb at FreeBSD.org Thu Jul 17 19:02:46 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 19:02:58 2008 Subject: cvs commit: src/sys/dev/mfi mfi.c Message-ID: <200807171902.m6HJ2kpC012194@repoman.freebsd.org> jhb 2008-07-17 19:02:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mfi mfi.c Log: SVN rev 180575 on 2008-07-17 19:02:38Z by jhb MFC: Tweak the output of controller event log messages to reduce verbosity and add some simple formatting of timestamps and event classes. Revision Changes Path 1.33.2.5 +48 -283 src/sys/dev/mfi/mfi.c From jhb at FreeBSD.org Thu Jul 17 19:10:19 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 17 19:10:26 2008 Subject: cvs commit: src/sys/dev/mfi mfi.c Message-ID: <200807171910.m6HJAIZV014039@repoman.freebsd.org> jhb 2008-07-17 19:10:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mfi mfi.c Log: SVN rev 180576 on 2008-07-17 19:10:07Z by jhb MFC: Tweak the output of controller event log messages to reduce verbosity and add some simple formatting of timestamps and event classes. Revision Changes Path 1.3.2.14 +48 -283 src/sys/dev/mfi/mfi.c From danger at FreeBSD.org Thu Jul 17 20:00:44 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Thu Jul 17 20:00:56 2008 Subject: cvs commit: src/etc rc.firewall Message-ID: <200807172000.m6HK0iIh018197@repoman.freebsd.org> danger 2008-07-17 20:00:18 UTC FreeBSD src repository Modified files: etc rc.firewall Log: SVN rev 180577 on 2008-07-17 20:00:18Z by danger - dns queries might go also over TCP, so allow it. Approved by: rink MFC after: 1 week Revision Changes Path 1.56 +2 -0 src/etc/rc.firewall From das at FreeBSD.ORG Thu Jul 17 20:20:32 2008 From: das at FreeBSD.ORG (David Schultz) Date: Thu Jul 17 20:20:44 2008 Subject: cvs commit: src/etc rc.firewall In-Reply-To: <200807172000.m6HK0iIh018197@repoman.freebsd.org> References: <200807172000.m6HK0iIh018197@repoman.freebsd.org> Message-ID: <20080717202051.GA27450@zim.MIT.EDU> On Thu, Jul 17, 2008, Daniel Gerzo wrote: > @@ -194,6 +194,7 @@ > ${fwcmd} add deny tcp from any to any setup > > # Allow DNS queries out in the world > + ${fwcmd} add pass tcp from me to any 53 setup keep-state > ${fwcmd} add pass udp from me to any 53 keep-state > > # Allow NTP queries out in the world > @@ -294,6 +295,7 @@ > ${fwcmd} add pass tcp from any to any setup > > # Allow DNS queries out in the world > + ${fwcmd} add pass tcp from ${oip} to any 53 setup keep-state > ${fwcmd} add pass udp from ${oip} to any 53 keep-state > > # Allow NTP queries out in the world Hmm, it doesn't look like this could possibly work, unless I'm missing something. Did you test it? In one case the rule you added comes after an 'add pass tcp from any to any setup', and in the other case it comes after an 'add deny tcp from any to any setup', so in both cases, the line you added should be ineffectual. Furthermore, I don't believe there's any reason to use keep-state with TCP. The rule to allow packets for already-established connections suffices. From simon at FreeBSD.org Thu Jul 17 21:54:35 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Thu Jul 17 21:54:41 2008 Subject: cvs commit: src/lib/libc/gen signal.3 Message-ID: <200807172154.m6HLsVLw038850@repoman.freebsd.org> simon 2008-07-17 21:54:23 UTC FreeBSD src repository Modified files: lib/libc/gen signal.3 Log: SVN rev 180578 on 2008-07-17 21:54:23Z by simon Make it more clear what it means that SA_RESTART is set for signal handlers added with signal(3). Submitted by: gnn (slightly modified by me) MFC after: 1 week Revision Changes Path 1.43 +5 -3 src/lib/libc/gen/signal.3 From luoqi at FreeBSD.org Thu Jul 17 22:40:33 2008 From: luoqi at FreeBSD.org (Luoqi Chen) Date: Thu Jul 17 22:40:39 2008 Subject: cvs commit: src/sys/dev/usb ohci.c Message-ID: <200807172240.m6HMeX5q043843@repoman.freebsd.org> luoqi 2008-07-17 22:40:23 UTC FreeBSD src repository Modified files: sys/dev/usb ohci.c Log: SVN rev 180579 on 2008-07-17 22:40:23Z by luoqi Fix a benign typo that would give out an incorrect warning message. Change a get-or-set sequence on OHCI_COMMAND_STATUS register which is "write to set" to a simple set. Revision Changes Path 1.173 +3 -4 src/sys/dev/usb/ohci.c From yongari at FreeBSD.org Fri Jul 18 01:01:07 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Fri Jul 18 01:01:18 2008 Subject: cvs commit: src/sys/dev/age if_age.c Message-ID: <200807180101.m6I116x0068468@repoman.freebsd.org> yongari 2008-07-18 01:00:54 UTC FreeBSD src repository Modified files: sys/dev/age if_age.c Log: SVN rev 180580 on 2008-07-18 01:00:54Z by yongari Use DELAY() instead of pause if waiting time is less than 1ms. This will fix driver hang if hz < 1000. Pointed out by: thompsa Revision Changes Path 1.3 +2 -2 src/sys/dev/age/if_age.c From das at FreeBSD.org Fri Jul 18 02:18:38 2008 From: das at FreeBSD.org (David Schultz) Date: Fri Jul 18 02:18:45 2008 Subject: cvs commit: src/lib/msun Makefile Message-ID: <200807180218.m6I2IcpU076740@repoman.freebsd.org> das 2008-07-18 02:18:34 UTC FreeBSD src repository Modified files: lib/msun Makefile Log: SVN rev 180581 on 2008-07-18 02:18:34Z by das Sort the .PATH entries to give a more reasonable order of precedence: 1. architecture-specific files 2. long double format-specific files 3. bsdsrc 4. src 5. man The original order was virtually the opposite of this. This should not cause any functional changes at this time. The difference is only significant when one wants to override, say, a generic foo.c with a more specialized foo.c (as opposed to foo.S). Revision Changes Path 1.95 +5 -4 src/lib/msun/Makefile From yongari at FreeBSD.org Fri Jul 18 04:20:57 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Fri Jul 18 04:21:10 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200807180420.m6I4Ku63089018@repoman.freebsd.org> yongari 2008-07-18 04:20:48 UTC FreeBSD src repository Modified files: sys/dev/jme if_jme.c Log: SVN rev 180582 on 2008-07-18 04:20:48Z by yongari Correct 1000Mbps link handling logic for JMC250. This should make jme(4) run on 1000Mbps link. Revision Changes Path 1.2 +1 -1 src/sys/dev/jme/if_jme.c From kmacy at FreeBSD.org Fri Jul 18 06:15:28 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Jul 18 06:15:39 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_osdep.h cxgb_sge.c src/sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_mc5.c cxgb_mv88e1xxx.c cxgb_t3_cpl.h cxgb_t3_hw.c cxgb_vsc8211.c cxgb_xgmac.c ... Message-ID: <200807180615.m6I6FRLS009835@repoman.freebsd.org> kmacy 2008-07-18 06:12:31 UTC FreeBSD src repository Modified files: sys/conf files sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_osdep.h cxgb_sge.c sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_mc5.c cxgb_mv88e1xxx.c cxgb_t3_cpl.h cxgb_t3_hw.c cxgb_vsc8211.c cxgb_xgmac.c sys/dev/cxgb/ulp/tom cxgb_cpl_io.c sys/kern kern_intr.c subr_taskqueue.c sys/modules/cxgb/cxgb Makefile sys/sys _task.h interrupt.h taskqueue.h Log: SVN rev 180583 on 2008-07-18 06:12:31Z by kmacy import vendor fixes to cxgb Revision Changes Path 1.1315 +1 -0 src/sys/conf/files 1.6 +408 -45 src/sys/dev/cxgb/common/cxgb_ael1002.c 1.10 +41 -27 src/sys/dev/cxgb/common/cxgb_common.h 1.7 +12 -6 src/sys/dev/cxgb/common/cxgb_mc5.c 1.4 +2 -2 src/sys/dev/cxgb/common/cxgb_mv88e1xxx.c 1.8 +28 -4 src/sys/dev/cxgb/common/cxgb_t3_cpl.h 1.11 +78 -26 src/sys/dev/cxgb/common/cxgb_t3_hw.c 1.5 +5 -2 src/sys/dev/cxgb/common/cxgb_vsc8211.c 1.9 +29 -26 src/sys/dev/cxgb/common/cxgb_xgmac.c 1.32 +1 -1 src/sys/dev/cxgb/cxgb_adapter.h 1.56 +46 -16 src/sys/dev/cxgb/cxgb_main.c 1.23 +9 -0 src/sys/dev/cxgb/cxgb_osdep.h 1.53 +47 -15 src/sys/dev/cxgb/cxgb_sge.c 1.12 +9 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.165 +6 -0 src/sys/kern/kern_intr.c 1.44 +176 -27 src/sys/kern/subr_taskqueue.c 1.10 +1 -1 src/sys/modules/cxgb/cxgb/Makefile 1.5 +21 -3 src/sys/sys/_task.h 1.42 +1 -0 src/sys/sys/interrupt.h 1.19 +8 -0 src/sys/sys/taskqueue.h From alc at FreeBSD.org Fri Jul 18 06:16:03 2008 From: alc at FreeBSD.org (Alan Cox) Date: Fri Jul 18 06:16:09 2008 Subject: cvs commit: src/sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c src/sys/arm/xscale/i8134x crb_machdep.c src/sys/arm/xscale/ixp425 avila_machdep.c src/sys/arm/xscale/pxa pxa_machdep.c Message-ID: <200807180616.m6I6G2At009953@repoman.freebsd.org> alc 2008-07-18 06:14:36 UTC FreeBSD src repository Modified files: sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c sys/arm/xscale/i8134x crb_machdep.c sys/arm/xscale/ixp425 avila_machdep.c sys/arm/xscale/pxa pxa_machdep.c Log: SVN rev 180584 on 2008-07-18 06:14:36Z by alc Eliminate unused global variables. (These global variables became fields of struct kva_md_info many years ago.) Revision Changes Path 1.11 +0 -1 src/sys/arm/xscale/i80321/ep80219_machdep.c 1.32 +0 -1 src/sys/arm/xscale/i80321/iq31244_machdep.c 1.8 +0 -1 src/sys/arm/xscale/i8134x/crb_machdep.c 1.11 +0 -1 src/sys/arm/xscale/ixp425/avila_machdep.c 1.3 +0 -1 src/sys/arm/xscale/pxa/pxa_machdep.c From kmacy at FreeBSD.org Fri Jul 18 06:23:09 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Jul 18 06:23:25 2008 Subject: cvs commit: src/sys/sys _task.h interrupt.h taskqueue.h Message-ID: <200807180623.m6I6N38I010550@repoman.freebsd.org> kmacy 2008-07-18 06:22:57 UTC FreeBSD src repository Modified files: sys/sys _task.h interrupt.h taskqueue.h Log: SVN rev 180585 on 2008-07-18 06:22:57Z by kmacy revert changes accidentally included in last commit Revision Changes Path 1.6 +3 -21 src/sys/sys/_task.h 1.43 +0 -1 src/sys/sys/interrupt.h 1.20 +0 -8 src/sys/sys/taskqueue.h From kmacy at FreeBSD.org Fri Jul 18 07:02:05 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Jul 18 07:02:16 2008 Subject: cvs commit: src/sys/dev/cxgb/common cxgb_tn1010.c Message-ID: <200807180702.m6I724bO013558@repoman.freebsd.org> kmacy 2008-07-18 07:01:51 UTC FreeBSD src repository Added files: sys/dev/cxgb/common cxgb_tn1010.c Log: SVN rev 180586 on 2008-07-18 07:01:51Z by kmacy new vendor PHY support Revision Changes Path 1.1 +225 -0 src/sys/dev/cxgb/common/cxgb_tn1010.c (new) From kmacy at FreeBSD.org Fri Jul 18 07:08:08 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Jul 18 07:08:20 2008 Subject: cvs commit: src/sys/kern kern_intr.c Message-ID: <200807180708.m6I785QP015170@repoman.freebsd.org> kmacy 2008-07-18 07:07:57 UTC FreeBSD src repository Modified files: sys/kern kern_intr.c Log: SVN rev 180587 on 2008-07-18 07:07:57Z by kmacy revert change from local tree Revision Changes Path 1.166 +0 -6 src/sys/kern/kern_intr.c From kmacy at FreeBSD.org Fri Jul 18 07:10:37 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Jul 18 07:10:47 2008 Subject: cvs commit: src/sys/kern subr_taskqueue.c Message-ID: <200807180710.m6I7AaQ6015441@repoman.freebsd.org> kmacy 2008-07-18 07:10:33 UTC FreeBSD src repository Modified files: sys/kern subr_taskqueue.c Log: SVN rev 180588 on 2008-07-18 07:10:33Z by kmacy revert local change Revision Changes Path 1.45 +27 -176 src/sys/kern/subr_taskqueue.c From rwatson at FreeBSD.org Fri Jul 18 10:47:10 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Jul 18 10:47:21 2008 Subject: cvs commit: src/sys/netinet raw_ip.c Message-ID: <200807181047.m6IAl9o1045612@repoman.freebsd.org> rwatson 2008-07-18 10:47:07 UTC FreeBSD src repository Modified files: sys/netinet raw_ip.c Log: SVN rev 180589 on 2008-07-18 10:47:07Z by rwatson Eliminate use of the global ripsrc which was being used to pass address information from rip_input() to rip_append(). Instead, pass the source address for an IP datagram to rip_append() using a stack-allocated sockaddr_in, similar to udp_input() and udp_append(). Prior to the move to rwlocks for inpcbinfo, this was not a problem, as use of the global was synchronized using the ripcbinfo mutex, but with read-locking there is the potential for a race during concurrent receive. This problem is not present in the IPv6 raw IP socket code, which already used a stack variable for the address. Spotted by: mav MFC after: 1 week (before inpcbinfo rwlock changes) Revision Changes Path 1.188 +10 -7 src/sys/netinet/raw_ip.c From ticso at cicely7.cicely.de Fri Jul 18 11:41:11 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Fri Jul 18 11:41:24 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080717140905.GX35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> <20080716021322.52f895c9.stas@FreeBSD.org> <20080715225443.GM35340@cicely7.cicely.de> <20080717140905.GX35340@cicely7.cicely.de> Message-ID: <20080718114058.GB35340@cicely7.cicely.de> On Thu, Jul 17, 2008 at 04:09:05PM +0200, Bernd Walter wrote: > On Wed, Jul 16, 2008 at 12:54:46AM +0200, Bernd Walter wrote: > > On Wed, Jul 16, 2008 at 02:13:22AM +0400, Stanislav Sedov wrote: > > > On Tue, 15 Jul 2008 23:05:14 +0200 > > > Bernd Walter mentioned: > > > > > > > On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > > > > > On Fri, 11 Jul 2008 23:19:09 +0200 > > > > > Jeremie Le Hen mentioned: > > > > > > > > > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > > > > > > > > > > > > > I'll try tomorrow. Currently, I have no access to the board. > > > > > > > > Is it this kind of problem: > > > > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited > > > > SD CARD: 1023934464 bytes > > > > mmcsd0: on mmc0 > > > > mmc0: setting transfer rate to 30.000MHz > > > > Trying to mount root from ufs:/dev/mmcsd0s1a > > > > pid 20 (sh), uid 0: exited on signal 11 > > > > Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > > > > Enter full pathname of shell or RETURN for /bin/sh: > > > > > > > > This happens for me with recent kernel and few days old 7-stable > > > > userland, so it shouldn't have anything to do with installed libc. > > > > > > > > > > Seems to be the same problem. However, it seems that just using libc > > > compiled w/out SSP solves it, although I haven't tested the entire > > > world yet. > > > > Mmm... > > But don't have the SSP change at all, since I still have a 7-stable > > userland. > > Static compiled binaries (/rescue) works fine. > > Strange enough disabling SSP did make a difference, but I still have > problems at some point: > > Trying to mount root from ufs:/dev/mmcsd0s1a > Loading configuration files. > usb_new_device: set address 2 failed - trying a port reset > No suitable dump device was found. > usb_new_device: set address 2 failed - trying a port reset > Entropy harvesting: interrupts ethernet point_to_pointusb_new_device: set address 2 failed - trying a port reset > usbd_new_device: addr=2, getting first desc failed > uhub_explore: usb_new_device failed, error=IOERROR > uhub0: device problem (IOERROR), disabling port 2 > kickstart. > swapon: adding /dev/mmcsd0s1b as swap device > Starting file system checks: > /dev/mmcsd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/mmcsd0s1a: clean, 264157 free (25021 frags, 29892 blocks, 6.0% fragmentation) > pid 59 (mount), uid 0: exited on signal 11 (core dumped) > Segmentation fault (core dumped) > Mounting root filesystem rw failed, startup aborted > ERROR: ABORTING BOOT (sending SIGTERM to parent)! > Jul 17 16:04:26 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > Enter full pathname of shell or RETURN for /bin/sh: > > I'll try more recent code. > Maybe I got something bad. No change - with SSP all dynamic linked binaries fail the same as the 7-stable did. Without SSP only some binaries fail, but those are the same. And of course since my 7-stable binaries were failing as well this sounds like a kernel thing and not a userland one. What comes to mind after reading the original commit when reading the compiler options used: cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -mcpu=arm9 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -fstack-protector -Werror ../../../arm/at91/at91_twi.c The original message says that -fstack-protector shouldn't be used for the kernel. So why it is there? I never explicitly enabled it anywhere. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From gonzo at FreeBSD.org Fri Jul 18 13:25:12 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Fri Jul 18 13:25:18 2008 Subject: cvs commit: src/sys/kern sysv_sem.c Message-ID: <200807181325.m6IDPC56072347@repoman.freebsd.org> gonzo 2008-07-18 13:24:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern sysv_sem.c Log: SVN rev 180590 on 2008-07-18 13:24:56Z by gonzo MFC r179879: Renew semaphore's pointer after wakeup since during msleep sem_base may have been modified by destroying one of semaphores and semptr would not be valid in this case. PR: kern/123731 MFC after: 1 month Revision Changes Path 1.89.2.1 +7 -0 src/sys/kern/sysv_sem.c From gonzo at FreeBSD.org Fri Jul 18 13:57:14 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Fri Jul 18 13:57:25 2008 Subject: cvs commit: src/sys/kern sysv_sem.c Message-ID: <200807181357.m6IDvD5T075122@repoman.freebsd.org> gonzo 2008-07-18 13:57:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern sysv_sem.c Log: SVN rev 180591 on 2008-07-18 13:57:05Z by gonzo MFC r179879: Renew semaphore's pointer after wakeup since during msleep sem_base may have been modified by destroying one of semaphores and semptr would not be valid in this case. PR: kern/123731 MFC after: 1 month Revision Changes Path 1.78.2.3 +7 -0 src/sys/kern/sysv_sem.c From gonzo at FreeBSD.org Fri Jul 18 14:20:30 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Fri Jul 18 14:20:36 2008 Subject: cvs commit: src/sys/kern uipc_sem.c Message-ID: <200807181420.m6IEKUfN078484@repoman.freebsd.org> gonzo 2008-07-18 14:20:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_sem.c Log: SVN rev 180592 on 2008-07-18 14:20:16Z by gonzo MFC r179716: Keep proper track of nsegs counter: sem_free is called for all allocated semaphores, so it's wrong to increase it conditionally, in this case for every over-the-limit semaphore nsegs is decreased without being previously increased. PR: kern/123685 MFC after: more then 1 month Revision Changes Path 1.28.2.3 +3 -4 src/sys/kern/uipc_sem.c From dwmalone at FreeBSD.org Fri Jul 18 14:45:43 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Fri Jul 18 14:45:49 2008 Subject: cvs commit: src/sys/boot/forth loader.conf src/sys/conf NOTES files options src/sys/modules Makefile src/sys/modules/accf_dns Makefile src/sys/netinet accf_dns.c Message-ID: <200807181445.m6IEjg1j081010@repoman.freebsd.org> dwmalone 2008-07-18 14:44:51 UTC FreeBSD src repository Modified files: sys/boot/forth loader.conf sys/conf NOTES files options sys/modules Makefile Added files: sys/modules/accf_dns Makefile sys/netinet accf_dns.c Log: SVN rev 180593 on 2008-07-18 14:44:51Z by dwmalone Add an accept filter for TCP based DNS requests. It waits until the whole first request is present before returning from accept. Revision Changes Path 1.129 +1 -0 src/sys/boot/forth/loader.conf 1.1499 +1 -0 src/sys/conf/NOTES 1.1316 +1 -0 src/sys/conf/files 1.633 +1 -0 src/sys/conf/options 1.580 +1 -0 src/sys/modules/Makefile 1.1 +8 -0 src/sys/modules/accf_dns/Makefile (new) 1.1 +135 -0 src/sys/netinet/accf_dns.c (new) From gonzo at FreeBSD.org Fri Jul 18 14:45:59 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Fri Jul 18 14:46:05 2008 Subject: cvs commit: src/sys/kern uipc_sem.c Message-ID: <200807181445.m6IEjwNu081052@repoman.freebsd.org> gonzo 2008-07-18 14:45:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern uipc_sem.c Log: SVN rev 180594 on 2008-07-18 14:45:22Z by gonzo MFC r179716: Keep proper track of nsegs counter: sem_free is called for all allocated semaphores, so it's wrong to increase it conditionally, in this case for every over-the-limit semaphore nsegs is decreased without being previously increased. PR: kern/123685 MFC after: more then 1 month Revision Changes Path 1.20.2.3 +3 -4 src/sys/kern/uipc_sem.c From dwmalone at FreeBSD.org Fri Jul 18 14:46:15 2008 From: dwmalone at FreeBSD.org (David Malone) Date: Fri Jul 18 14:46:20 2008 Subject: cvs commit: src/share/man/man9 Makefile accept_filter.9 accf_data.9 accf_dns.9 Message-ID: <200807181446.m6IEkE22081114@repoman.freebsd.org> dwmalone 2008-07-18 14:46:01 UTC FreeBSD src repository Modified files: share/man/man9 Makefile accept_filter.9 accf_data.9 Added files: share/man/man9 accf_dns.9 Log: SVN rev 180595 on 2008-07-18 14:46:01Z by dwmalone Add a man page for the DNS accept filter. Revision Changes Path 1.337 +1 -0 src/share/man/man9/Makefile 1.14 +1 -0 src/share/man/man9/accept_filter.9 1.9 +1 -0 src/share/man/man9/accf_data.9 1.1 +79 -0 src/share/man/man9/accf_dns.9 (new) From kevlo at FreeBSD.org Fri Jul 18 14:55:31 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Fri Jul 18 14:55:42 2008 Subject: cvs commit: src/bin/ps ps.c Message-ID: <200807181455.m6IEtVZf081918@repoman.freebsd.org> kevlo 2008-07-18 14:55:22 UTC FreeBSD src repository Modified files: bin/ps ps.c Log: SVN rev 180596 on 2008-07-18 14:55:22Z by kevlo Remove unnessasary cast Revision Changes Path 1.114 +1 -1 src/bin/ps/ps.c From kevlo at FreeBSD.org Fri Jul 18 15:05:18 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Fri Jul 18 15:05:24 2008 Subject: cvs commit: src/usr.bin/yacc skeleton.c Message-ID: <200807181505.m6IF5HwP083945@repoman.freebsd.org> kevlo 2008-07-18 15:05:14 UTC FreeBSD src repository Modified files: usr.bin/yacc skeleton.c Log: SVN rev 180597 on 2008-07-18 15:05:14Z by kevlo Fix a longstanding bug, from Otto Moerbeck: if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action Obtained from: OpenBSD Revision Changes Path 1.38 +5 -1 src/usr.bin/yacc/skeleton.c From sam at freebsd.org Fri Jul 18 15:42:21 2008 From: sam at freebsd.org (Sam Leffler) Date: Fri Jul 18 15:42:33 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_osdep.h cxgb_sge.c src/sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_mc5.c cxgb_mv88e1xxx.c cxgb_t3_cpl.h cxgb_t3_hw.c cxgb_vsc8211.c cxgb_xgmac.c ... In-Reply-To: <200807180615.m6I6FRLS009835@repoman.freebsd.org> References: <200807180615.m6I6FRLS009835@repoman.freebsd.org> Message-ID: <4880B181.10001@freebsd.org> Kip Macy wrote: > kmacy 2008-07-18 06:12:31 UTC > > FreeBSD src repository > > Modified files: > sys/conf files > sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_osdep.h > cxgb_sge.c > sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_mc5.c > cxgb_mv88e1xxx.c cxgb_t3_cpl.h > cxgb_t3_hw.c cxgb_vsc8211.c cxgb_xgmac.c > sys/dev/cxgb/ulp/tom cxgb_cpl_io.c > sys/kern kern_intr.c subr_taskqueue.c > sys/modules/cxgb/cxgb Makefile > sys/sys _task.h interrupt.h taskqueue.h > Log: > SVN rev 180583 on 2008-07-18 06:12:31Z by kmacy > > import vendor fixes to cxgb > > This is not a useful commit msg; please indicate what the fixes/changes are. Sam From alc at FreeBSD.org Fri Jul 18 17:41:51 2008 From: alc at FreeBSD.org (Alan Cox) Date: Fri Jul 18 17:42:02 2008 Subject: cvs commit: src/sys/vm vm_kern.c Message-ID: <200807181741.m6IHfouR019424@repoman.freebsd.org> alc 2008-07-18 17:41:31 UTC FreeBSD src repository Modified files: sys/vm vm_kern.c Log: SVN rev 180598 on 2008-07-18 17:41:31Z by alc Eliminate stale comments from kmem_malloc(). Revision Changes Path 1.136 +0 -12 src/sys/vm/vm_kern.c From jasone at FreeBSD.org Fri Jul 18 19:35:52 2008 From: jasone at FreeBSD.org (Jason Evans) Date: Fri Jul 18 19:36:04 2008 Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200807181935.m6IJZqAx031577@repoman.freebsd.org> jasone 2008-07-18 19:35:44 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: SVN rev 180599 on 2008-07-18 19:35:44Z by jasone Enhance arena_chunk_map_t to directly support run coalescing, and use the chunk map instead of red-black trees where possible. Remove the red-black trees and node objects that are obsoleted by this change. The net result is a ~1-2% memory savings, and a substantial allocation speed improvement. Revision Changes Path 1.173 +336 -392 src/lib/libc/stdlib/malloc.c From alc at FreeBSD.org Fri Jul 18 20:08:42 2008 From: alc at FreeBSD.org (Alan Cox) Date: Fri Jul 18 20:08:54 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c Message-ID: <200807182008.m6IK8gm0035758@repoman.freebsd.org> alc 2008-07-18 20:07:50 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c Log: SVN rev 180600 on 2008-07-18 20:07:50Z by alc Simplify pmap_extract()'s control flow, making it more like the related functions pmap_extract_and_hold() and pmap_kextract(). Revision Changes Path 1.633 +4 -5 src/sys/amd64/amd64/pmap.c 1.622 +5 -6 src/sys/i386/i386/pmap.c From alc at FreeBSD.org Fri Jul 18 22:06:35 2008 From: alc at FreeBSD.org (Alan Cox) Date: Fri Jul 18 22:06:42 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c Message-ID: <200807182206.m6IM6Z4m062536@repoman.freebsd.org> alc 2008-07-18 22:05:51 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c Log: SVN rev 180601 on 2008-07-18 22:05:51Z by alc Correct an error in pmap_change_attr()'s initial loop that verifies that the given range of addresses are mapped. Previously, the loop was testing the same address every time. Submitted by: Magesh Dhasayyan Revision Changes Path 1.634 +1 -1 src/sys/amd64/amd64/pmap.c 1.623 +1 -1 src/sys/i386/i386/pmap.c From delphij at FreeBSD.org Fri Jul 18 23:35:45 2008 From: delphij at FreeBSD.org (Xin LI) Date: Fri Jul 18 23:35:56 2008 Subject: cvs commit: src/usr.bin/yacc skeleton.c Message-ID: <200807182335.m6INZj19071502@repoman.freebsd.org> delphij 2008-07-18 23:35:31 UTC FreeBSD src repository Modified files: usr.bin/yacc skeleton.c Log: SVN rev 180602 on 2008-07-18 23:35:31Z by delphij Indent the else path, reduce diff against OpenBSD. Revision Changes Path 1.39 +1 -1 src/usr.bin/yacc/skeleton.c From delphij at FreeBSD.org Fri Jul 18 23:37:16 2008 From: delphij at FreeBSD.org (Xin LI) Date: Fri Jul 18 23:37:28 2008 Subject: cvs commit: src/usr.bin/gcore elfcore.c Message-ID: <200807182337.m6INbG2J071627@repoman.freebsd.org> delphij 2008-07-18 23:37:05 UTC FreeBSD src repository Modified files: usr.bin/gcore elfcore.c Log: SVN rev 180603 on 2008-07-18 23:37:05Z by delphij Use %zd for size_t. With this gcore(1) is WARNS=6 clean. Revision Changes Path 1.20 +3 -3 src/usr.bin/gcore/elfcore.c From delphij at FreeBSD.org Sat Jul 19 00:13:34 2008 From: delphij at FreeBSD.org (Xin LI) Date: Sat Jul 19 00:13:40 2008 Subject: cvs commit: src/bin/mv mv.c Message-ID: <200807190013.m6J0DXFp075635@repoman.freebsd.org> delphij 2008-07-19 00:13:26 UTC FreeBSD src repository Modified files: bin/mv mv.c Log: SVN rev 180604 on 2008-07-19 00:13:26Z by delphij Staticify symbols that will not be used in other places. Revision Changes Path 1.51 +11 -11 src/bin/mv/mv.c From cognet at FreeBSD.org Sat Jul 19 00:19:21 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Sat Jul 19 00:19:27 2008 Subject: cvs commit: src/share/mk bsd.sys.mk Message-ID: <200807190019.m6J0JKXB076092@repoman.freebsd.org> cognet 2008-07-19 00:19:16 UTC FreeBSD src repository Modified files: share/mk bsd.sys.mk Log: SVN rev 180605 on 2008-07-19 00:19:16Z by cognet Disable SSP on arm for the time being. The segfaults when using SSP seem to be a gcc bug, a patch is available in the gcc bugzilla, and will be imported once it's committed into the official gcc tree. Revision Changes Path 1.46 +2 -1 src/share/mk/bsd.sys.mk From jkoshy at FreeBSD.org Sat Jul 19 04:31:58 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sat Jul 19 04:32:09 2008 Subject: cvs commit: src/usr.sbin/pmcstat pmcstat.c Message-ID: <200807190431.m6J4Vswi010868@repoman.freebsd.org> jkoshy 2008-07-19 04:31:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pmcstat pmcstat.c Log: SVN rev 180606 on 2008-07-19 04:31:47Z by jkoshy MFC: r180148: Fix a regression. Revision Changes Path 1.17.2.1 +2 -2 src/usr.sbin/pmcstat/pmcstat.c From jeff at FreeBSD.org Sat Jul 19 05:13:56 2008 From: jeff at FreeBSD.org (Jeff Roberson) Date: Sat Jul 19 05:14:03 2008 Subject: cvs commit: src/sys/kern sched_ule.c Message-ID: <200807190513.m6J5DuJm024492@repoman.freebsd.org> jeff 2008-07-19 05:13:47 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: SVN rev 180607 on 2008-07-19 05:13:47Z by jeff - Check whether we've recorded this tick in ts_ticks on another cpu in sched_tick() to prevent multiple increments for one tick. This pushes the value out of range and breaks priority calculation. Reviewed by: kib Found by: pho/nokia Sponsored by: Nokia MFC after: 3 days Revision Changes Path 1.246 +6 -0 src/sys/kern/sched_ule.c From jeff at FreeBSD.org Sat Jul 19 05:18:43 2008 From: jeff at FreeBSD.org (Jeff Roberson) Date: Sat Jul 19 05:18:54 2008 Subject: cvs commit: src/sys/kern kern_timeout.c Message-ID: <200807190518.m6J5IgHm024923@repoman.freebsd.org> jeff 2008-07-19 05:18:29 UTC FreeBSD src repository Modified files: sys/kern kern_timeout.c Log: SVN rev 180608 on 2008-07-19 05:18:29Z by jeff Fix a race which could result in some timeout buckets being skipped. - When a tick occurs on a cpu, iterate from cs_softticks until ticks. The per-cpu tick processing happens asynchronously with the actual adjustment of the 'ticks' variable. Sometimes the results may be visible before the local call and sometimes after. Previously this could cause a one tick window where we didn't evaluate the bucket. - In softclock fetch curticks before incrementing cc_softticks so we don't skip insertions which were made for the current time. Sponsored by: Nokia Revision Changes Path 1.114 +11 -6 src/sys/kern/kern_timeout.c From gonzo at FreeBSD.org Sat Jul 19 12:12:34 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Sat Jul 19 12:12:45 2008 Subject: cvs commit: src/sys/netinet in.c Message-ID: <200807191212.m6JCCYBj076514@repoman.freebsd.org> gonzo 2008-07-19 12:12:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in.c Log: SVN rev 180609 on 2008-07-19 12:12:17Z by gonzo MFC r179971: In case of interface initialization failure remove struct in_ifaddr* from in_ifaddrhashtbl in in_ifinit because error handler in in_control removes entries only for AF_INET addresses. If in_ifinit is called for the cloned inteface that has just been created its address family is not AF_INET and therefor LIST_REMOVE is not called for respective LIST_INSERT_HEAD and freed entries remain in in_ifaddrhashtbl and lead to memory corruption. PR: kern/124384 MFC after: 3 weeks Revision Changes Path 1.102.2.2 +8 -0 src/sys/netinet/in.c From rwatson at FreeBSD.org Sat Jul 19 12:13:06 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Jul 19 12:13:12 2008 Subject: cvs commit: src/sys/kern subr_autoconf.c Message-ID: <200807191213.m6JCD5nb076583@repoman.freebsd.org> rwatson 2008-07-19 12:12:54 UTC FreeBSD src repository Modified files: sys/kern subr_autoconf.c Log: SVN rev 180610 on 2008-07-19 12:12:54Z by rwatson Add DDB "show conifhk" command, which lists hooks currently waiting for completion in run_interrupt_driven_config_hooks(). This is helpful when trying to figure out which device drivers have gone into la-la land during boot-time autoconfiguration. MFC after: 3 days Revision Changes Path 1.26 +27 -0 src/sys/kern/subr_autoconf.c From gonzo at FreeBSD.org Sat Jul 19 13:16:08 2008 From: gonzo at FreeBSD.org (Oleksandr Tymoshenko) Date: Sat Jul 19 13:16:19 2008 Subject: cvs commit: src/sys/netinet in.c Message-ID: <200807191316.m6JDG7CB091933@repoman.freebsd.org> gonzo 2008-07-19 13:15:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet in.c Log: SVN rev 180611 on 2008-07-19 13:15:51Z by gonzo MFC r179971: In case of interface initialization failure remove struct in_ifaddr* from in_ifaddrhashtbl in in_ifinit because error handler in in_control removes entries only for AF_INET addresses. If in_ifinit is called for the cloned inteface that has just been created its address family is not AF_INET and therefor LIST_REMOVE is not called for respective LIST_INSERT_HEAD and freed entries remain in in_ifaddrhashtbl and lead to memory corruption. PR: kern/124384 MFC after: 3 weeks Revision Changes Path 1.85.2.11 +8 -0 src/sys/netinet/in.c From lulf at FreeBSD.org Sat Jul 19 13:53:24 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Sat Jul 19 13:53:36 2008 Subject: cvs commit: src/sys/geom/vinum geom_vinum_rename.c Message-ID: <200807191353.m6JDrOt9095571@repoman.freebsd.org> lulf 2008-07-19 13:53:11 UTC FreeBSD src repository Modified files: sys/geom/vinum geom_vinum_rename.c Log: SVN rev 180612 on 2008-07-19 13:53:11Z by lulf - When renaming a drive, also set the drive name in the gvinum header. PR: kern/125632 Approved by: pjd (mentor) MFC after: 3 days Revision Changes Path 1.4 +1 -0 src/sys/geom/vinum/geom_vinum_rename.c From rwatson at FreeBSD.org Sat Jul 19 17:47:28 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Jul 19 17:47:34 2008 Subject: cvs commit: src/sys/kern subr_witness.c Message-ID: <200807191747.m6JHlSre031675@repoman.freebsd.org> rwatson 2008-07-19 17:47:23 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: SVN rev 180613 on 2008-07-19 17:47:23Z by rwatson witness_addgraph() is required even if DDB isn't compiled into the kernel, so exclude it from #ifdef DDB. Submitted by: attilio Revision Changes Path 1.250 +2 -0 src/sys/kern/subr_witness.c From marcel at FreeBSD.org Sat Jul 19 18:26:33 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 19 18:26:44 2008 Subject: cvs commit: src ObsoleteFiles.inc src/usr.sbin Makefile Message-ID: <200807191826.m6JIQXfi036211@repoman.freebsd.org> marcel 2008-07-19 18:21:52 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc usr.sbin Makefile Log: SVN rev 180614 on 2008-07-19 18:21:52Z by marcel Remove sade(8) on the following platforms: o arm, mips & powerpc: libdisk is non-functional. o ia64: libdisk is insufficient. Revision Changes Path 1.153 +6 -0 src/ObsoleteFiles.inc 1.389 +4 -1 src/usr.sbin/Makefile From marcel at FreeBSD.org Sat Jul 19 19:08:37 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 19 19:08:43 2008 Subject: cvs commit: src/etc remote Message-ID: <200807191908.m6JJ8bsq040646@repoman.freebsd.org> marcel 2008-07-19 19:08:22 UTC FreeBSD src repository Modified files: etc remote Log: SVN rev 180615 on 2008-07-19 19:08:22Z by marcel With uart(4) default, change /dev/cuad# to /dev/cuau# so that out-of-the-box FreeBSD is consistent. Add uart[0-7] as a fingerfriendly shortcut alongside sio[0-7] and com[1-8]. Revision Changes Path 1.17 +10 -10 src/etc/remote From rwatson at FreeBSD.org Sat Jul 19 19:08:38 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sat Jul 19 19:09:00 2008 Subject: cvs commit: src/sys/kern subr_autoconf.c Message-ID: <200807191908.m6JJ8ck4040673@repoman.freebsd.org> rwatson 2008-07-19 19:08:35 UTC FreeBSD src repository Modified files: sys/kern subr_autoconf.c Log: SVN rev 180616 on 2008-07-19 19:08:35Z by rwatson Rather than simply waiting silently and indefinitely for all interrupt-driven configuration handlers to complete, print out a diagnostic message every 60 second indicating which handlers are still running. Do this at most 5 times per run so as to avoid scrolling out any useful information from the kernel message buffer. The interval of 60 seconds was selected based on a best guess as to the nature of "long enough" and may want to be tuned higher or lower depending on real-world tolerances. MFC after: 3 days Discussed with: scottl Revision Changes Path 1.27 +35 -3 src/sys/kern/subr_autoconf.c From marcel at FreeBSD.org Sat Jul 19 20:00:25 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 19 20:00:31 2008 Subject: cvs commit: src/etc/ppp ppp.conf Message-ID: <200807192000.m6JK0Oo4044759@repoman.freebsd.org> marcel 2008-07-19 20:00:18 UTC FreeBSD src repository Modified files: etc/ppp ppp.conf Log: SVN rev 180617 on 2008-07-19 20:00:18Z by marcel With uart(4) default, change /dev/cuad# to /dev/cuau# so that out-of-the-box FreeBSD is consistent. Revision Changes Path 1.11 +2 -2 src/etc/ppp/ppp.conf From marcel at FreeBSD.org Sat Jul 19 20:11:41 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 19 20:11:47 2008 Subject: cvs commit: src/etc/rc.d bluetooth Message-ID: <200807192011.m6JKBfDr047005@repoman.freebsd.org> marcel 2008-07-19 20:11:33 UTC FreeBSD src repository Modified files: etc/rc.d bluetooth Log: SVN rev 180618 on 2008-07-19 20:11:33Z by marcel With uart(4) default, change /dev/cuad# to /dev/cuau# and sio# to uart# so that out-of-the-box FreeBSD is consistent. Revision Changes Path 1.4 +7 -7 src/etc/rc.d/bluetooth From marcel at FreeBSD.org Sat Jul 19 20:12:12 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 19 20:12:18 2008 Subject: cvs commit: src/etc/rc.d serial Message-ID: <200807192012.m6JKCBBA047083@repoman.freebsd.org> marcel 2008-07-19 20:12:02 UTC FreeBSD src repository Modified files: etc/rc.d serial Log: SVN rev 180619 on 2008-07-19 20:12:02Z by marcel With uart(4) default, change /dev/cuad# to /dev/cuau# and sio# to uart# so that out-of-the-box FreeBSD is consistent. Revision Changes Path 1.26 +6 -6 src/etc/rc.d/serial From marcel at FreeBSD.org Sat Jul 19 20:12:43 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 19 20:13:02 2008 Subject: cvs commit: src/etc rc.suspend Message-ID: <200807192012.m6JKCgrc047143@repoman.freebsd.org> marcel 2008-07-19 20:12:33 UTC FreeBSD src repository Modified files: etc rc.suspend Log: SVN rev 180620 on 2008-07-19 20:12:33Z by marcel With uart(4) default, change sio# to uart# so that out-of-the-box FreeBSD is consistent. Revision Changes Path 1.8 +1 -1 src/etc/rc.suspend From pjd at FreeBSD.org Sat Jul 19 22:29:59 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sat Jul 19 22:30:11 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Message-ID: <200807192229.m6JMTxFS070328@repoman.freebsd.org> pjd 2008-07-19 22:29:44 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: SVN rev 180621 on 2008-07-19 22:29:44Z by pjd Say hi to svn, by simplifing ffs_vget() function a bit - there is no need for a variable that is used only once. Revision Changes Path 1.343 +1 -3 src/sys/ufs/ffs/ffs_vfsops.c From alc at FreeBSD.org Sat Jul 19 22:35:31 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sat Jul 19 22:35:46 2008 Subject: cvs commit: src/sys/sys vmmeter.h Message-ID: <200807192235.m6JMZUlj071043@repoman.freebsd.org> alc 2008-07-19 22:35:13 UTC FreeBSD src repository Modified files: sys/sys vmmeter.h Log: SVN rev 180622 on 2008-07-19 22:35:13Z by alc Correct the description of v_cache_count. Eliminate an unused function. Revision Changes Path 1.35 +1 -12 src/sys/sys/vmmeter.h From alc at FreeBSD.org Sat Jul 19 23:42:47 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sat Jul 19 23:42:54 2008 Subject: cvs commit: src/sys/amd64/include param.h Message-ID: <200807192342.m6JNglmL077627@repoman.freebsd.org> alc 2008-07-19 23:42:38 UTC FreeBSD src repository Modified files: sys/amd64/include param.h Log: SVN rev 180623 on 2008-07-19 23:42:38Z by alc Increase the ceiling on the size of the buffer map. Revision Changes Path 1.22 +1 -1 src/sys/amd64/include/param.h From ticso at cicely7.cicely.de Sun Jul 20 01:19:21 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Sun Jul 20 01:19:27 2008 Subject: cvs commit: src/share/mk bsd.sys.mk In-Reply-To: <200807190019.m6J0JKXB076092@repoman.freebsd.org> References: <200807190019.m6J0JKXB076092@repoman.freebsd.org> Message-ID: <20080720011915.GQ35340@cicely7.cicely.de> On Sat, Jul 19, 2008 at 12:19:16AM +0000, Olivier Houchard wrote: > cognet 2008-07-19 00:19:16 UTC > > FreeBSD src repository > > Modified files: > share/mk bsd.sys.mk > Log: > SVN rev 180605 on 2008-07-19 00:19:16Z by cognet > > Disable SSP on arm for the time being. > The segfaults when using SSP seem to be a gcc bug, a patch is available > in the gcc bugzilla, and will be imported once it's committed > into the official gcc tree. > > Revision Changes Path > 1.46 +2 -1 src/share/mk/bsd.sys.mk Thank you for analysing this problem. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From kmacy at FreeBSD.org Sun Jul 20 02:03:05 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Jul 20 02:03:16 2008 Subject: cvs commit: src/sys/netinet toedev.h Message-ID: <200807200203.m6K234Hq001530@repoman.freebsd.org> kmacy 2008-07-20 02:02:50 UTC FreeBSD src repository Modified files: sys/netinet toedev.h Log: SVN rev 180624 on 2008-07-20 02:02:50Z by kmacy remove unused toedev functions and add comments for rest Revision Changes Path 1.5 +22 -2 src/sys/netinet/toedev.h From ken at mthelicon.com Sun Jul 20 02:09:36 2008 From: ken at mthelicon.com (Pegasus Mc cleaft) Date: Sun Jul 20 02:09:42 2008 Subject: cvs commit: src/share/mk bsd.sys.mk In-Reply-To: <20080720011915.GQ35340@cicely7.cicely.de> References: <200807190019.m6J0JKXB076092@repoman.freebsd.org> <20080720011915.GQ35340@cicely7.cicely.de> Message-ID: <200807200241.42454.ken@mthelicon.com> On Sunday 20 July 2008 02:19:15 Bernd Walter wrote: > On Sat, Jul 19, 2008 at 12:19:16AM +0000, Olivier Houchard wrote: > > cognet 2008-07-19 00:19:16 UTC > > > > FreeBSD src repository > > > > Modified files: > > share/mk bsd.sys.mk > > Log: > > SVN rev 180605 on 2008-07-19 00:19:16Z by cognet > > > > Disable SSP on arm for the time being. > > The segfaults when using SSP seem to be a gcc bug, a patch is available > > in the gcc bugzilla, and will be imported once it's committed > > into the official gcc tree. > > > > Revision Changes Path > > 1.46 +2 -1 src/share/mk/bsd.sys.mk > > Thank you for analysing this problem. Is there any possibility of kern/123518 being MCF'ed as well for the AMD64 platform? Ta Peg From alc at FreeBSD.org Sun Jul 20 04:14:08 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sun Jul 20 04:14:15 2008 Subject: cvs commit: src/sys/kern vfs_bio.c Message-ID: <200807200414.m6K4E74U014234@repoman.freebsd.org> alc 2008-07-20 04:13:51 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: SVN rev 180625 on 2008-07-20 04:13:51Z by alc Eliminate dead code. (The commit message for revision 1.287 explains why this code is dead.) Revision Changes Path 1.543 +0 -13 src/sys/kern/vfs_bio.c From pjd at FreeBSD.org Sun Jul 20 07:34:10 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sun Jul 20 07:34:22 2008 Subject: cvs commit: src/sys/crypto/via padlock.c Message-ID: <200807200734.m6K7Y9TL044990@repoman.freebsd.org> pjd 2008-07-20 07:34:00 UTC FreeBSD src repository Modified files: sys/crypto/via padlock.c Log: SVN rev 180626 on 2008-07-20 07:34:00Z by pjd Convert lock that protects sessions list from a mutex to a rwlock. Now we can use read lock in fast path (padlock_process()). Revision Changes Path 1.14 +16 -16 src/sys/crypto/via/padlock.c From maxim at FreeBSD.org Sun Jul 20 09:17:45 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Sun Jul 20 09:17:50 2008 Subject: cvs commit: src/sys Makefile Message-ID: <200807200917.m6K9HiOi064926@repoman.freebsd.org> maxim 2008-07-20 09:16:00 UTC FreeBSD src repository Modified files: sys Makefile Log: SVN rev 180627 on 2008-07-20 09:16:00Z by maxim o Add cddl, nlm and xdr to CSCOPEDIRS. o Add pc98 and sun4v to CSCOPE_ARCHDIR. PR: misc/125792 Submitted by: KOIE Hidetaka MFC after: 1 week Revision Changes Path 1.51 +5 -5 src/sys/Makefile From lme at FreeBSD.org Sun Jul 20 10:06:22 2008 From: lme at FreeBSD.org (Lars Engels) Date: Sun Jul 20 10:06:27 2008 Subject: cvs commit: src/share/man/man8 rc.subr.8 Message-ID: <200807201006.m6KA6KFV070121@repoman.freebsd.org> lme 2008-07-20 10:06:14 UTC FreeBSD src repository Modified files: share/man/man8 rc.subr.8 Log: SVN rev 180628 on 2008-07-20 10:06:14Z by lme Properly underline force_depend's parameter. Reviewed by: brueffer Revision Changes Path 1.21 +1 -1 src/share/man/man8/rc.subr.8 From bz at FreeBSD.org Sun Jul 20 12:31:53 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sun Jul 20 12:32:07 2008 Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200807201231.m6KCVqxM085303@repoman.freebsd.org> bz 2008-07-20 12:31:36 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c Log: SVN rev 180629 on 2008-07-20 12:31:36Z by bz ia is a pointer thus use NULL rather then 0 for initialization and in comparisons to make this more obvious. MFC after: 5 days Revision Changes Path 1.210 +5 -5 src/sys/netinet/in_pcb.c From trhodes at FreeBSD.org Sun Jul 20 15:25:43 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Jul 20 15:25:49 2008 Subject: cvs commit: src/sys/netipx ipx_input.c ipx_usrreq.c Message-ID: <200807201525.m6KFPhoV014088@repoman.freebsd.org> trhodes 2008-07-20 15:25:20 UTC FreeBSD src repository Modified files: sys/netipx ipx_input.c ipx_usrreq.c Log: SVN rev 180630 on 2008-07-20 15:25:20Z by trhodes Document a few sysctls. Reviewed by: rwatson Revision Changes Path 1.59 +4 -4 src/sys/netipx/ipx_input.c 1.63 +2 -2 src/sys/netipx/ipx_usrreq.c From trhodes at FreeBSD.org Sun Jul 20 15:30:14 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Jul 20 15:30:29 2008 Subject: cvs commit: src/sys/netinet tcp_timer.c udp_usrreq.c Message-ID: <200807201530.m6KFUEAK014444@repoman.freebsd.org> trhodes 2008-07-20 15:29:58 UTC FreeBSD src repository Modified files: sys/netinet tcp_timer.c udp_usrreq.c Log: SVN rev 180631 on 2008-07-20 15:29:58Z by trhodes Document a few sysctls. Reviewed by: rwatson Revision Changes Path 1.102 +3 -3 src/sys/netinet/tcp_timer.c 1.233 +1 -1 src/sys/netinet/udp_usrreq.c From trhodes at FreeBSD.org Sun Jul 20 16:00:00 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Jul 20 16:00:07 2008 Subject: cvs commit: src/share/man/man4 xl.4 Message-ID: <200807201600.m6KG00Jp017409@repoman.freebsd.org> trhodes 2008-07-20 15:59:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 xl.4 Log: SVN rev 180632 on 2008-07-20 15:59:44Z by trhodes MFC r175615: Add a diagnostic note about "transmission error ... tx underrun, increasing tx start threshold ..." Looking around on the mailing lists, and even having one of these cards I agree the messages should be documented. Bump doc date. PR: 88477 Revision Changes Path 1.38.2.1 +6 -1 src/share/man/man4/xl.4 From attilio at freebsd.org Sun Jul 20 16:08:02 2008 From: attilio at freebsd.org (Attilio Rao) Date: Sun Jul 20 16:08:07 2008 Subject: cvs commit: src/sys/kern vfs_bio.c In-Reply-To: <200807200414.m6K4E74U014234@repoman.freebsd.org> References: <200807200414.m6K4E74U014234@repoman.freebsd.org> Message-ID: <3bbf2fe10807200907t402892f6pbe26a9abd4a7d695@mail.gmail.com> 2008/7/20, Alan Cox : > alc 2008-07-20 04:13:51 UTC > > FreeBSD src repository > > Modified files: > sys/kern vfs_bio.c > Log: > SVN rev 180625 on 2008-07-20 04:13:51Z by alc > > Eliminate dead code. (The commit message for revision 1.287 explains why > this code is dead.) > > Revision Changes Path > 1.543 +0 -13 src/sys/kern/vfs_bio.c Not related directly to this change but last time I tried VFS_BIO_DEBUG kernel was freezing without any explanation neither useful messages. Do you know if the option still works? In the opposite case it would worth to axe it or such. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From scottl at FreeBSD.org Sun Jul 20 16:50:32 2008 From: scottl at FreeBSD.org (Scott Long) Date: Sun Jul 20 16:50:38 2008 Subject: cvs commit: src/sys/dev/amr amr.c Message-ID: <200807201650.m6KGoVLm031936@repoman.freebsd.org> scottl 2008-07-20 16:50:14 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c Log: SVN rev 180633 on 2008-07-20 16:50:14Z by scottl While spin-waiting for the mailbox semaphore to update, do flushing reads of PCI bus so that we don't have to wait more than needed. Revision Changes Path 1.86 +4 -1 src/sys/dev/amr/amr.c From trhodes at FreeBSD.org Sun Jul 20 16:51:18 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Jul 20 16:51:30 2008 Subject: cvs commit: src/share/man/man4 xl.4 Message-ID: <200807201651.m6KGpHGr032014@repoman.freebsd.org> trhodes 2008-07-20 16:51:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 xl.4 Log: SVN rev 180634 on 2008-07-20 16:51:14Z by trhodes MFC r175615: Add a diagnostic note about "transmission error ... tx underrun, increasing tx start threshold ..." Looking around on the mailing lists, and even having one of these cards I agree the messages should be documented. Bump doc date. PR: 88477 Revision Changes Path 1.34.2.4 +6 -1 src/share/man/man4/xl.4 From trhodes at FreeBSD.org Sun Jul 20 17:39:20 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Jul 20 17:39:32 2008 Subject: cvs commit: src/sbin/routed main.c Message-ID: <200807201739.m6KHdKNU038450@repoman.freebsd.org> trhodes 2008-07-20 17:39:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/routed main.c Log: SVN rev 180635 on 2008-07-20 17:39:07Z by trhodes MFC r163999 Sync up with rhyolite routed 2.31 which fixes the handling of varargs. Remove -p from usage, it's gone completely now. Merge to 7 not applicable, 7 obtained this change when it was branched. PR: 82287 Submitted by: arved Revision Changes Path 1.18.2.1 +15 -12 src/sbin/routed/main.c From trhodes at FreeBSD.org Sun Jul 20 17:52:06 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sun Jul 20 17:52:12 2008 Subject: cvs commit: src/sys/netipsec ipsec.c ipsec6.h Message-ID: <200807201752.m6KHq6xh039551@repoman.freebsd.org> trhodes 2008-07-20 17:51:58 UTC FreeBSD src repository Modified files: sys/netipsec ipsec.c ipsec6.h Log: SVN rev 180636 on 2008-07-20 17:51:58Z by trhodes Document a few sysctls. While here, remove dead code related to ip4_esp_randpad. Reviewed by: gnn, bz (older version) Approved by: gnn Tested with: make universe Revision Changes Path 1.29 +24 -26 src/sys/netipsec/ipsec.c 1.5 +0 -1 src/sys/netipsec/ipsec6.h From keramida at FreeBSD.org Sun Jul 20 18:05:30 2008 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Sun Jul 20 18:05:46 2008 Subject: cvs commit: src/contrib/tcsh tc.func.c Message-ID: <200807201805.m6KI5OaO041994@repoman.freebsd.org> keramida 2008-07-20 18:05:18 UTC FreeBSD src repository Modified files: contrib/tcsh tc.func.c Log: SVN rev 180637 on 2008-07-20 18:05:18Z by keramida tcsh: fix abort in cleanup_until(), caused by internal xgetpass() The xgetpass() function pushes a cleanup entry for &osa, but then attempts to flush the stack until an entry matching &sa. The two object pointers do not match, so the stack is popped too much, and then cleanup_until calls abort() when it unexpectedly hits the bottom of the cleanup stack. Reported by: Paul B. Mahol, onemda at gmail.com, Pietro Cerutti, gahr at gahr.ch PR: bin/124191 Reviewed by: mp, kris MFC after: 2 days Revision Changes Path 1.2 +640 -677 src/contrib/tcsh/tc.func.c From pjd at FreeBSD.org Sun Jul 20 19:56:26 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sun Jul 20 19:56:32 2008 Subject: cvs commit: src/sys/geom/eli g_eli.c Message-ID: <200807201956.m6KJuQYg056771@repoman.freebsd.org> pjd 2008-07-20 19:56:13 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: SVN rev 180638 on 2008-07-20 19:56:13Z by pjd Clear passphrase buffer after use. Submitted by: Fabian Keil (a bit different version) Revision Changes Path 1.40 +2 -0 src/sys/geom/eli/g_eli.c From julian at FreeBSD.org Sun Jul 20 21:45:29 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Sun Jul 20 21:45:43 2008 Subject: cvs commit: src/sys/net if_gre.c Message-ID: <200807202145.m6KLjTQ8078720@repoman.freebsd.org> julian 2008-07-20 21:45:15 UTC FreeBSD src repository Modified files: sys/net if_gre.c Log: SVN rev 180639 on 2008-07-20 21:45:15Z by julian Add support for actually sending WCCP return packets via GRE. This MAY be combined by a clever person with the 'key' code recently added, however a cursary glance suggest that it would be safer to just keep the patches as it is unlikely that the two modes would be used together and the separate patch has been extensively tested. Obtained from: here and there MFC after: 1 week Revision Changes Path 1.51 +9 -3 src/sys/net/if_gre.c From kmacy at FreeBSD.org Mon Jul 21 00:08:47 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 00:08:58 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h Message-ID: <200807210008.m6L08lhJ093525@repoman.freebsd.org> kmacy 2008-07-21 00:08:34 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h Log: SVN rev 180640 on 2008-07-21 00:08:34Z by kmacy add inpcb accessor functions for fields needed by TOE devices Revision Changes Path 1.211 +54 -0 src/sys/netinet/in_pcb.c 1.111 +8 -0 src/sys/netinet/in_pcb.h From kmacy at FreeBSD.org Mon Jul 21 00:50:40 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 00:50:45 2008 Subject: cvs commit: src/sys/kern uipc_socket.c src/sys/netinet in_pcb.c src/sys/sys socket.h Message-ID: <200807210050.m6L0od43006371@repoman.freebsd.org> kmacy 2008-07-21 00:49:34 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c sys/netinet in_pcb.c sys/sys socket.h Log: SVN rev 180641 on 2008-07-21 00:49:34Z by kmacy Add accessor functions for socket fields. MFC after: 1 week Revision Changes Path 1.313 +139 -0 src/sys/kern/uipc_socket.c 1.212 +14 -0 src/sys/netinet/in_pcb.c 1.101 +37 -0 src/sys/sys/socket.h From kevlo at FreeBSD.org Mon Jul 21 01:13:47 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Mon Jul 21 01:13:53 2008 Subject: cvs commit: src/usr.bin/yacc skeleton.c Message-ID: <200807210113.m6L1Dl0f009277@repoman.freebsd.org> kevlo 2008-07-21 01:13:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/yacc skeleton.c Log: SVN rev 180642 on 2008-07-21 01:13:33Z by kevlo MFC: r180597 Fix a longstanding bug, from Otto Moerbeck: if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action Obtained from: OpenBSD Revision Changes Path 1.37.22.1 +5 -1 src/usr.bin/yacc/skeleton.c From kevlo at FreeBSD.org Mon Jul 21 01:16:33 2008 From: kevlo at FreeBSD.org (Kevin Lo) Date: Mon Jul 21 01:16:39 2008 Subject: cvs commit: src/usr.bin/yacc skeleton.c Message-ID: <200807210116.m6L1GWcq009537@repoman.freebsd.org> kevlo 2008-07-21 01:16:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/yacc skeleton.c Log: SVN rev 180643 on 2008-07-21 01:16:28Z by kevlo MFC: r180597 Fix a longstanding bug, from Otto Moerbeck: if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action Obtained from: OpenBSD Revision Changes Path 1.37.12.1 +5 -1 src/usr.bin/yacc/skeleton.c From kmacy at FreeBSD.org Mon Jul 21 01:23:33 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 01:23:45 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_tcp_offload.c cxgb_tcp_offload.h Message-ID: <200807210123.m6L1NX5w010128@repoman.freebsd.org> kmacy 2008-07-21 01:23:19 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_tcp_offload.c cxgb_tcp_offload.h Log: SVN rev 180644 on 2008-07-21 01:23:19Z by kmacy remove cxgb local definitions of socket accessor functions Revision Changes Path 1.13 +18 -9 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.2 +0 -201 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c 1.3 +0 -40 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h From kmacy at FreeBSD.org Mon Jul 21 02:11:23 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 02:11:35 2008 Subject: cvs commit: src/sys/netinet tcp_syncache.c tcp_syncache.h Message-ID: <200807210211.m6L2BNHH015091@repoman.freebsd.org> kmacy 2008-07-21 02:11:06 UTC FreeBSD src repository Modified files: sys/netinet tcp_syncache.c tcp_syncache.h Log: SVN rev 180645 on 2008-07-21 02:11:06Z by kmacy add interface for external consumers to syncache_expand - rename syncache_add in a manner consistent with other bits intended for offload Revision Changes Path 1.148 +14 -1 src/sys/netinet/tcp_syncache.c 1.3 +4 -1 src/sys/netinet/tcp_syncache.h From edwin at FreeBSD.org Mon Jul 21 02:13:25 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Mon Jul 21 02:13:32 2008 Subject: cvs commit: src/usr.bin/ldd ldd.c Message-ID: <200807210213.m6L2DOo9015286@repoman.freebsd.org> edwin 2008-07-21 02:13:14 UTC FreeBSD src repository Modified files: usr.bin/ldd ldd.c Log: SVN rev 180646 on 2008-07-21 02:13:14Z by edwin After the commit of SVN rev 180236, wilko@ noticed that the approach doesn't work on the Alpha platform: machine/elf.h doesn't include sys/elf32.h there. PR: related to bin/124906 Approved by: bde@ MFC after: 1 week Revision Changes Path 1.37 +18 -4 src/usr.bin/ldd/ldd.c From kmacy at FreeBSD.org Mon Jul 21 02:17:41 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 02:17:53 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_tcp_offload.c cxgb_tcp_offload.h Message-ID: <200807210217.m6L2HfXR015660@repoman.freebsd.org> kmacy 2008-07-21 02:17:27 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_tcp_offload.c cxgb_tcp_offload.h Log: SVN rev 180647 on 2008-07-21 02:17:27Z by kmacy remove cxgb local definition of locked syncache_expand Revision Changes Path 1.3 +0 -12 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c 1.4 +0 -3 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h From kmacy at FreeBSD.org Mon Jul 21 02:23:12 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 02:23:24 2008 Subject: cvs commit: src/sys/netinet tcp_offload.c tcp_offload.h Message-ID: <200807210223.m6L2NBNN016146@repoman.freebsd.org> kmacy 2008-07-21 02:23:02 UTC FreeBSD src repository Modified files: sys/netinet tcp_offload.c tcp_offload.h Log: SVN rev 180648 on 2008-07-21 02:23:02Z by kmacy Add versions of tcp_twstart, tcp_close, and tcp_drop that hide the acquisition the tcbinfo lock. MFC after: 1 week Revision Changes Path 1.3 +59 -1 src/sys/netinet/tcp_offload.c 1.4 +6 -0 src/sys/netinet/tcp_offload.h From kmacy at FreeBSD.org Mon Jul 21 02:26:57 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 02:27:16 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c Message-ID: <200807210226.m6L2QvpE016470@repoman.freebsd.org> kmacy 2008-07-21 02:26:49 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_cpl_io.c Log: SVN rev 180649 on 2008-07-21 02:26:49Z by kmacy update syncache function names Revision Changes Path 1.14 +2 -2 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c From kmacy at FreeBSD.org Mon Jul 21 02:29:43 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 02:29:49 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_tcp_offload.c cxgb_tcp_offload.h Message-ID: <200807210229.m6L2ThM2016670@repoman.freebsd.org> kmacy 2008-07-21 02:29:40 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_tcp_offload.c cxgb_tcp_offload.h Log: SVN rev 180650 on 2008-07-21 02:29:40Z by kmacy remove local version of tcp_offload_* functions Revision Changes Path 1.4 +0 -52 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c 1.5 +0 -5 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h From kmacy at FreeBSD.org Mon Jul 21 02:35:06 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 02:35:18 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_tcp_offload.h Message-ID: <200807210234.m6L2Yxjs017149@repoman.freebsd.org> kmacy 2008-07-21 02:34:52 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_tcp_offload.h Log: SVN rev 180651 on 2008-07-21 02:34:52Z by kmacy remove unneeded declarations Revision Changes Path 1.6 +0 -3 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h From pjd at FreeBSD.org Mon Jul 21 09:45:51 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Mon Jul 21 09:45:57 2008 Subject: cvs commit: src/sys/cddl/compat/opensolaris/kern opensolaris_vfs.c Message-ID: <200807210945.m6L9jpQt083349@repoman.freebsd.org> pjd 2008-07-21 09:45:44 UTC FreeBSD src repository Modified files: sys/cddl/compat/opensolaris/kern opensolaris_vfs.c Log: SVN rev 180652 on 2008-07-21 09:45:44Z by pjd We want to check new options given, not the current ones. This fixes 'zpool import -o ' not working properly. Revision Changes Path 1.11 +2 -2 src/sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c From kib at FreeBSD.org Mon Jul 21 10:00:12 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Mon Jul 21 10:00:18 2008 Subject: cvs commit: src/sys/kern kern_event.c kern_fork.c src/sys/sys event.h Message-ID: <200807211000.m6LA0BRT084664@repoman.freebsd.org> kib 2008-07-21 09:59:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_event.c kern_fork.c sys/sys event.h Log: SVN rev 180653 on 2008-07-21 09:59:40Z by kib MFC r180340: The kqueue_register() function assumes that it is called from the top of the syscall code and acquires various event subsystem locks as needed. The handling of the NOTE_TRACK for EVFILT_PROC is currently done by calling the kqueue_register() from filt_proc() filter, causing recursive entrance of the kqueue code. This results in the LORs and recursive acquisition of the locks. Implement the variant of the knote() function designed to only handle the fork() event. It mostly copies the knote() body, but also handles the NOTE_TRACK, removing the handling from the filt_proc(), where it causes problems described above. The function is called from the fork1() instead of knote(). When encountering NOTE_TRACK knote, it marks the knote as influx and drops the knlist and kqueue lock. In this context call to kqueue_register is safe from the problems. An error from the kqueue_register() is reported to the observer as NOTE_TRACKERR fflag. PR: 108201 Revision Changes Path 1.113.2.4 +67 -15 src/sys/kern/kern_event.c 1.282.2.4 +2 -4 src/sys/kern/kern_fork.c 1.37.2.2 +1 -0 src/sys/sys/event.h From maxim at FreeBSD.org Mon Jul 21 10:03:14 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Mon Jul 21 10:03:26 2008 Subject: cvs commit: src/share/man/man4 ddb.4 Message-ID: <200807211003.m6LA3DDK086028@repoman.freebsd.org> maxim 2008-07-21 10:03:02 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 Log: SVN rev 180654 on 2008-07-21 10:03:02Z by maxim o Document "show conifhk", wording from r180610 commit log. Reviewed by: rwatson Revision Changes Path 1.55 +6 -1 src/share/man/man4/ddb.4 From ache at FreeBSD.org Mon Jul 21 10:31:45 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Jul 21 10:31:51 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807211031.m6LAVion088332@repoman.freebsd.org> ache 2008-07-21 10:31:28 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180655 on 2008-07-21 10:31:28Z by ache 1) Set stired flag after forced initialization. 2) Increase arc4_count to the limit OpenBSD use. Submitted by: Thorsten Glaser (1) Obtained from: OpenBSD (2) Revision Changes Path 1.13 +2 -1 src/lib/libc/gen/arc4random.c From ache at FreeBSD.org Mon Jul 21 12:45:02 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Jul 21 12:45:13 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807211245.m6LCj1wW001898@repoman.freebsd.org> ache 2008-07-21 12:44:47 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180656 on 2008-07-21 12:44:47Z by ache Decrease arc4_count only when needed and with proper bytes amount. Obtained from: OpenBSD Revision Changes Path 1.14 +2 -1 src/lib/libc/gen/arc4random.c From ache at FreeBSD.org Mon Jul 21 13:52:19 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Jul 21 13:52:31 2008 Subject: cvs commit: src/lib/libc/gen arc4random.3 arc4random.c Message-ID: <200807211352.m6LDqJ7g017741@repoman.freebsd.org> ache 2008-07-21 13:52:06 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.3 arc4random.c Log: SVN rev 180657 on 2008-07-21 13:52:06Z by ache Implement arc4random_buf() function Obtained from: OpenBSD Revision Changes Path 1.17 +12 -3 src/lib/libc/gen/arc4random.3 1.15 +16 -1 src/lib/libc/gen/arc4random.c From ache at FreeBSD.org Mon Jul 21 14:03:20 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Jul 21 14:03:32 2008 Subject: cvs commit: src/include stdlib.h Message-ID: <200807211403.m6LE3Jbk019769@repoman.freebsd.org> ache 2008-07-21 14:03:04 UTC FreeBSD src repository Modified files: include stdlib.h Log: SVN rev 180658 on 2008-07-21 14:03:04Z by ache Add arc4random_buf. Style: remove arg names from arc4random_addrandom. Revision Changes Path 1.66 +2 -1 src/include/stdlib.h From ache at FreeBSD.org Mon Jul 21 14:33:21 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Jul 21 14:33:28 2008 Subject: cvs commit: src/lib/libc/gen Makefile.inc Message-ID: <200807211433.m6LEXKke027041@repoman.freebsd.org> ache 2008-07-21 14:33:11 UTC FreeBSD src repository Modified files: lib/libc/gen Makefile.inc Log: SVN rev 180659 on 2008-07-21 14:33:11Z by ache Add arc4random_buf.3 to MLINKS Revision Changes Path 1.138 +2 -1 src/lib/libc/gen/Makefile.inc From pjd at FreeBSD.org Mon Jul 21 14:36:07 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Mon Jul 21 14:36:13 2008 Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_zfetch.c Message-ID: <200807211436.m6LEa6H4027311@repoman.freebsd.org> pjd 2008-07-21 14:35:48 UTC FreeBSD src repository Modified files: sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_zfetch.c Log: SVN rev 180660 on 2008-07-21 14:35:48Z by pjd We want to use LBOLT instead of lbolt on FreeBSD. I've this already fixed in p4, but the fix was never integrated into HEAD. Reported by: ed Revision Changes Path 1.3 +3 -3 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c From pjd at FreeBSD.org Mon Jul 21 15:14:00 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Mon Jul 21 15:14:12 2008 Subject: cvs commit: src/share/man/man9 sysctl.9 sysctl_add_oid.9 src/sys/kern kern_environment.c src/sys/sys kernel.h sysctl.h Message-ID: <200807211513.m6LFDxNX031878@repoman.freebsd.org> pjd 2008-07-21 15:05:25 UTC FreeBSD src repository Modified files: share/man/man9 sysctl.9 sysctl_add_oid.9 sys/kern kern_environment.c sys/sys kernel.h sysctl.h Log: SVN rev 180661 on 2008-07-21 15:05:25Z by pjd Implement the following macros for completeness: SYSCTL_QUAD() SYSCTL_ADD_QUAD() TUNABLE_QUAD() TUNABLE_QUAD_FETCH() Now we can use 64bit tunables on 32bit systems. Revision Changes Path 1.9 +5 -2 src/share/man/man9/sysctl.9 1.22 +14 -0 src/share/man/man9/sysctl_add_oid.9 1.50 +8 -0 src/sys/kern/kern_environment.c 1.143 +19 -0 src/sys/sys/kernel.h 1.158 +9 -0 src/sys/sys/sysctl.h From marius at FreeBSD.org Mon Jul 21 16:56:19 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Jul 21 16:56:31 2008 Subject: cvs commit: src/sys/sparc64/sparc64 in_cksum.c Message-ID: <200807211656.m6LGuJal051772@repoman.freebsd.org> marius 2008-07-21 16:56:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sparc64/sparc64 in_cksum.c Log: SVN rev 180662 on 2008-07-21 16:56:15Z by marius - Fix spelling and style. - Use __FBSDID. - Merge macros depending on the flags being preserved between calls into a single "__asm"-statement as GCC doesn't guarantee their consecutive output even when using consecutive "__asm __volatile"- statement for them. Remove the otherwise unnecessary "__volatile". [1] - The inline assembler instructions used here alter the condition codes so add them to the clobber list accordingly. - The inline assembler instructions used here uses output operands before all input operands are consumed so add appropriate modifiers. Pointed out by: bde [1] Revision Changes Path 1.2.18.1 +63 -50 src/sys/sparc64/sparc64/in_cksum.c From marius at FreeBSD.org Mon Jul 21 16:59:35 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Jul 21 16:59:47 2008 Subject: cvs commit: src/sys/sparc64/sparc64 in_cksum.c Message-ID: <200807211659.m6LGxZh6051988@repoman.freebsd.org> marius 2008-07-21 16:59:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sparc64/sparc64 in_cksum.c Log: SVN rev 180663 on 2008-07-21 16:59:22Z by marius MFC: r180298; r180299 - Fix spelling and style. - Use __FBSDID. - Merge macros depending on the flags being preserved between calls into a single "__asm"-statement as GCC doesn't guarantee their consecutive output even when using consecutive "__asm __volatile"- statement for them. Remove the otherwise unnecessary "__volatile". [1] - The inline assembler instructions used here alter the condition codes so add them to the clobber list accordingly. - The inline assembler instructions used here uses output operands before all input operands are consumed so add appropriate modifiers. Pointed out by: bde [1] Revision Changes Path 1.2.8.1 +63 -50 src/sys/sparc64/sparc64/in_cksum.c From marius at FreeBSD.org Mon Jul 21 17:16:07 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Mon Jul 21 17:16:18 2008 Subject: cvs commit: src/sys/sparc64/sparc64 autoconf.c mem.c Message-ID: <200807211716.m6LHG6U4054781@repoman.freebsd.org> marius 2008-07-21 17:15:51 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 autoconf.c mem.c Log: SVN rev 180664 on 2008-07-21 17:15:51Z by marius - Remove redundant inclusion of opt_global.h. - Use __FBSDID in autoconf.c. MFC after: 3 days Revision Changes Path 1.15 +3 -3 src/sys/sparc64/sparc64/autoconf.c 1.19 +0 -1 src/sys/sparc64/sparc64/mem.c From ache at FreeBSD.org Mon Jul 21 18:03:41 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Jul 21 18:03:53 2008 Subject: cvs commit: src/lib/libc/gen Symbol.map Message-ID: <200807211803.m6LI3bb4059608@repoman.freebsd.org> ache 2008-07-21 18:03:31 UTC FreeBSD src repository Modified files: lib/libc/gen Symbol.map Log: SVN rev 180665 on 2008-07-21 18:03:31Z by ache Add arc4random_buf to FBSD_1.1 space Revision Changes Path 1.13 +1 -0 src/lib/libc/gen/Symbol.map From jhb at FreeBSD.org Mon Jul 21 18:14:00 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 21 18:14:07 2008 Subject: cvs commit: src/sys/dev/mpt mpt_pci.c Message-ID: <200807211813.m6LIDxbf060485@repoman.freebsd.org> jhb 2008-07-21 18:13:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mpt mpt_pci.c Log: SVN rev 180666 on 2008-07-21 18:13:41Z by jhb MFC: During shutdown, deregister the shutdown hook from the correct event handler. Revision Changes Path 1.51.2.2 +1 -1 src/sys/dev/mpt/mpt_pci.c From jhb at FreeBSD.org Mon Jul 21 18:14:47 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 21 18:14:58 2008 Subject: cvs commit: src/sys/dev/mpt mpt_pci.c Message-ID: <200807211814.m6LIEk6l060586@repoman.freebsd.org> jhb 2008-07-21 18:14:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mpt mpt_pci.c Log: SVN rev 180667 on 2008-07-21 18:14:42Z by jhb MFC: During shutdown, deregister the shutdown hook from the correct event handler. Revision Changes Path 1.20.2.11 +1 -1 src/sys/dev/mpt/mpt_pci.c From jhb at FreeBSD.org Mon Jul 21 18:43:18 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 21 18:43:30 2008 Subject: cvs commit: src/sys/dev/mpt mpt_raid.c Message-ID: <200807211843.m6LIhI71064174@repoman.freebsd.org> jhb 2008-07-21 18:43:02 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt_raid.c Log: SVN rev 180668 on 2008-07-21 18:43:02Z by jhb Allocate a single CCB at the start of the main loop of the RAID monitoring kthread of the mpt(4) driver that hangs around for the entire lifetime of the thread. Previously the driver would allocate a new CCB using M_WAITOK with a lock held each time it updated its state. While here, use the CAM API for allocating a CCB rather than raw malloc(9). Reviewed by: scottl MFC after: 1 week Revision Changes Path 1.18 +4 -4 src/sys/dev/mpt/mpt_raid.c From jhb at FreeBSD.org Mon Jul 21 19:11:35 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 21 19:11:42 2008 Subject: cvs commit: src/sys/dev/mpt mpt_user.c Message-ID: <200807211911.m6LJBZL9067674@repoman.freebsd.org> jhb 2008-07-21 19:11:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mpt mpt_user.c Log: SVN rev 180669 on 2008-07-21 19:11:20Z by jhb MFC: Use dedicated buffers for user requests rather than reusing the space in the request buffer. Revision Changes Path 1.1.2.2 +105 -67 src/sys/dev/mpt/mpt_user.c From jhb at FreeBSD.org Mon Jul 21 19:12:07 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 21 19:12:18 2008 Subject: cvs commit: src/sys/dev/mpt mpt_user.c Message-ID: <200807211912.m6LJC6YT067787@repoman.freebsd.org> jhb 2008-07-21 19:11:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mpt mpt_user.c Log: SVN rev 180670 on 2008-07-21 19:11:48Z by jhb MFC: Use dedicated buffers for user requests rather than reusing the space in the request buffer. Revision Changes Path 1.1.4.2 +105 -67 src/sys/dev/mpt/mpt_user.c From eri at FreeBSD.org Mon Jul 21 19:51:08 2008 From: eri at FreeBSD.org (Ermal Luçi) Date: Mon Jul 21 19:51:14 2008 Subject: cvs commit: src/sys/netinet ip_carp.c Message-ID: <200807211951.m6LJp8qO071018@repoman.freebsd.org> eri 2008-07-21 19:51:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet ip_carp.c Log: SVN rev 180671 on 2008-07-21 19:51:01Z by eri MFC r180513: Fix carp(4) panics that can occur during carp interface configuration. Approved by: mlaier (mentor) Reported by: Scott Ullrich Revision Changes Path 1.52.2.2 +8 -0 src/sys/netinet/ip_carp.c From ache at FreeBSD.org Mon Jul 21 20:04:40 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Jul 21 20:04:47 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807212004.m6LK4dBW073251@repoman.freebsd.org> ache 2008-07-21 20:04:32 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180672 on 2008-07-21 20:04:32Z by ache 1) Update copyright notice. 2) Eliminate "struct arc4_stream *as" arg since only single arg is possible. 3) Set rs.j = rs.i after arc4random key schedule to be more like arc4 stream cipher. Obtained from: OpenBSD Revision Changes Path 1.16 +53 -43 src/lib/libc/gen/arc4random.c From rwatson at FreeBSD.org Mon Jul 21 20:50:57 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Jul 21 20:51:08 2008 Subject: cvs commit: src/sys/kern subr_autoconf.c Message-ID: <200807212050.m6LKoujx089234@repoman.freebsd.org> rwatson 2008-07-21 20:50:49 UTC FreeBSD src repository Modified files: sys/kern subr_autoconf.c Log: SVN rev 180673 on 2008-07-21 20:50:49Z by rwatson If run_interrupt_driven_config_hooks() waits 360 seconds and INVARIANTS is compiled into the kernel, then panic. MFC after: 3 days Discussed with: scottl Revision Changes Path 1.28 +15 -10 src/sys/kern/subr_autoconf.c From jhb at freebsd.org Mon Jul 21 20:55:54 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Jul 21 20:56:11 2008 Subject: cvs commit: src/sys/netipx ipx_input.c ipx_usrreq.c In-Reply-To: <200807201525.m6KFPhoV014088@repoman.freebsd.org> References: <200807201525.m6KFPhoV014088@repoman.freebsd.org> Message-ID: <200807211100.16053.jhb@freebsd.org> On Sunday 20 July 2008 11:25:20 am Tom Rhodes wrote: > trhodes 2008-07-20 15:25:20 UTC > > FreeBSD src repository > > Modified files: > sys/netipx ipx_input.c ipx_usrreq.c > Log: > SVN rev 180630 on 2008-07-20 15:25:20Z by trhodes > > Document a few sysctls. > > Reviewed by: rwatson FWIW, most other sysctls (though not all currently) start the first word with uppercase and attempt to be complete sentences. This is consistent with style(9)'s suggestions on code comments. -- John Baldwin From jhb at freebsd.org Mon Jul 21 20:56:02 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Jul 21 20:56:12 2008 Subject: cvs commit: src/etc remote In-Reply-To: <200807191908.m6JJ8bsq040646@repoman.freebsd.org> References: <200807191908.m6JJ8bsq040646@repoman.freebsd.org> Message-ID: <200807211107.21345.jhb@freebsd.org> On Saturday 19 July 2008 03:08:22 pm Marcel Moolenaar wrote: > marcel 2008-07-19 19:08:22 UTC > > FreeBSD src repository > > Modified files: > etc remote > Log: > SVN rev 180615 on 2008-07-19 19:08:22Z by marcel > > With uart(4) default, change /dev/cuad# to /dev/cuau# so that > out-of-the-box FreeBSD is consistent. Add uart[0-7] as a > fingerfriendly shortcut alongside sio[0-7] and com[1-8]. Perhaps the sioX aliases should either be removed or still reference /dev/cuadX? Having them reference the uart(4) devices might be confusing. -- John Baldwin From jhb at freebsd.org Mon Jul 21 20:56:18 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Jul 21 20:56:32 2008 Subject: cvs commit: src/sys/dev/acpica acpi.c In-Reply-To: <200807101707.m6AH7115055290@repoman.freebsd.org> References: <200807101707.m6AH7115055290@repoman.freebsd.org> Message-ID: <200807211142.39955.jhb@freebsd.org> On Thursday 10 July 2008 01:06:54 pm John Baldwin wrote: > jhb 2008-07-10 17:06:54 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/dev/acpica acpi.c > Log: > SVN rev 180432 on 2008-07-10 17:06:54Z by jhb > > MFC: After probing the available frequency settings, restore the CPU to run > at whatever frequency it started at. This is the completely wrong commit message. :( It should have read that this restores the order of probing PCI busses to probe them in the order we encounter them in the ACPI namespace rather than based on their order on PCI bus 0. -- John Baldwin From kmacy at FreeBSD.org Mon Jul 21 21:23:13 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 21:23:24 2008 Subject: cvs commit: src/sys/netinet tcp_offload.c tcp_offload.h Message-ID: <200807212123.m6LLNC1F092945@repoman.freebsd.org> kmacy 2008-07-21 21:22:56 UTC FreeBSD src repository Modified files: sys/netinet tcp_offload.c tcp_offload.h Log: SVN rev 180674 on 2008-07-21 21:22:56Z by kmacy - Switch to INP_WLOCK macro from inp_wlock - calling sodisconnect after tcp_twstart is both gratuitous and unsafe - remove Submitted by: rwatson Revision Changes Path 1.4 +1 -15 src/sys/netinet/tcp_offload.c 1.5 +0 -1 src/sys/netinet/tcp_offload.h From kmacy at FreeBSD.org Mon Jul 21 21:23:58 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 21:24:10 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c Message-ID: <200807212123.m6LLNwo4093019@repoman.freebsd.org> kmacy 2008-07-21 21:23:43 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_cpl_io.c Log: SVN rev 180675 on 2008-07-21 21:23:43Z by kmacy remove call to unsafe tcp_twstart function Revision Changes Path 1.15 +1 -20 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c From jeremie at le-hen.org Mon Jul 21 21:45:27 2008 From: jeremie at le-hen.org (Jeremie Le Hen) Date: Mon Jul 21 21:45:45 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080718114058.GB35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> <20080716021322.52f895c9.stas@FreeBSD.org> <20080715225443.GM35340@cicely7.cicely.de> <20080717140905.GX35340@cicely7.cicely.de> <20080718114058.GB35340@cicely7.cicely.de> Message-ID: <20080721213951.GN39074@obiwan.tataz.chchile.org> Hi Bernd, Again, sorry for the late reply, I'm abroad this week once again for work, so I have very little time for my personal stuff. On Fri, Jul 18, 2008 at 01:40:59PM +0200, Bernd Walter wrote: > No change - with SSP all dynamic linked binaries fail the same as the > 7-stable did. > Without SSP only some binaries fail, but those are the same. > And of course since my 7-stable binaries were failing as well this > sounds like a kernel thing and not a userland one. > > What comes to mind after reading the original commit when reading the > compiler options used: > cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -mcpu=arm9 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -fstack-protector -Werror ../../../arm/at91/at91_twi.c > The original message says that -fstack-protector shouldn't be used for > the kernel. > So why it is there? > I never explicitly enabled it anywhere. Actually, there was one patch to enable SSP for userland and another one for kernel, but they have been committed together and their commitlog has been concatenated. If you read it further, you will see the kernel part commitlog. Concerning the automatic activation, this is intended so as to give SSP more exposure. We'll need to reach a consensus for the release about whether it should be opt-in or opt-out. For now, you can disable it for both userland and kernel using the WITHOUT_SPP knob in src.conf(5). If you only want to disable it for kernel build, simply use "make -DWITHOUT_SSP buildkernel". I'm keen to hear about any clue you will gather about the problem. Thanks. Best regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From ache at FreeBSD.org Mon Jul 21 21:57:45 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Mon Jul 21 21:57:56 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807212157.m6LLviBJ095778@repoman.freebsd.org> ache 2008-07-21 21:57:30 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180676 on 2008-07-21 21:57:30Z by ache 1) Use __packed attr on rdat structure to make it exact 128 bytes. 2) Use gettimeofday() and getpid() only if reading from /dev/urandom fails or impossible. 3) Discard N bytes on very first initialization only (i.e. don't discard on re-stir). 4) Reduce N from 1024 to 512 as really suggested in the "(Not So) Random Shuffles of RC4" paper: http://research.microsoft.com/users/mironov/papers/rc4full.pdf Revision Changes Path 1.17 +17 -10 src/lib/libc/gen/arc4random.c From jhb at FreeBSD.org Mon Jul 21 22:08:15 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 21 22:08:27 2008 Subject: cvs commit: src/lib/libc/gen Symbol.map Message-ID: <200807212208.m6LM8FmK097742@repoman.freebsd.org> jhb 2008-07-21 22:07:59 UTC FreeBSD src repository Modified files: lib/libc/gen Symbol.map Log: SVN rev 180677 on 2008-07-21 22:07:59Z by jhb Add feature_present(3) to the FBSD 1.1 symbol map. Revision Changes Path 1.14 +1 -0 src/lib/libc/gen/Symbol.map From kmacy at FreeBSD.org Mon Jul 21 22:11:47 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 21 22:11:53 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h Message-ID: <200807212211.m6LMBkEX098077@repoman.freebsd.org> kmacy 2008-07-21 22:11:39 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h Log: SVN rev 180678 on 2008-07-21 22:11:39Z by kmacy make new accessor functions consistent with existing style Revision Changes Path 1.213 +5 -3 src/sys/netinet/in_pcb.c 1.112 +9 -6 src/sys/netinet/in_pcb.h From julian at FreeBSD.org Mon Jul 21 22:15:32 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Mon Jul 21 22:15:39 2008 Subject: cvs commit: src/sys/net if_gre.c Message-ID: <200807212215.m6LMFWSn098417@repoman.freebsd.org> julian 2008-07-21 22:15:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_gre.c Log: SVN rev 180679 on 2008-07-21 22:15:21Z by julian MFC code cleanup. 177416 Replace really convoluted code that simplifies to "a ^= 0x01;" Revision Changes Path 1.46.2.1 +2 -9 src/sys/net/if_gre.c From jhb at freebsd.org Mon Jul 21 22:17:53 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Jul 21 22:18:06 2008 Subject: cvs commit: src/etc remote In-Reply-To: References: <200807191908.m6JJ8bsq040646@repoman.freebsd.org> <200807211107.21345.jhb@freebsd.org> Message-ID: <200807211732.07938.jhb@freebsd.org> On Monday 21 July 2008 05:22:15 pm Marcel Moolenaar wrote: > > On Jul 21, 2008, at 8:07 AM, John Baldwin wrote: > > > On Saturday 19 July 2008 03:08:22 pm Marcel Moolenaar wrote: > >> marcel 2008-07-19 19:08:22 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> etc remote > >> Log: > >> SVN rev 180615 on 2008-07-19 19:08:22Z by marcel > >> > >> With uart(4) default, change /dev/cuad# to /dev/cuau# so that > >> out-of-the-box FreeBSD is consistent. Add uart[0-7] as a > >> fingerfriendly shortcut alongside sio[0-7] and com[1-8]. > > > > Perhaps the sioX aliases should either be removed or still > > reference /dev/cuadX? Having them reference the uart(4) devices > > might be > > confusing. > > I was mostly thinking in terms of backward compatibility. > sioX will map to a working port now. I can certainly remove > sioX from the aliases, but that may break existing setups. > I don't know if adding sioX aliases for /dev/cuadX is useful. > I think sioX should either not exist or be an useful alias. > > Thoughts? I would just remove them. I'm not sure how often they are really used since they are specific to a driver name as opposed to COM1/COM2 which some boxes have as labels on the case for the physical ports. -- John Baldwin From xcllnt at mac.com Mon Jul 21 22:22:16 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Mon Jul 21 22:22:22 2008 Subject: cvs commit: src/etc remote In-Reply-To: <200807211107.21345.jhb@freebsd.org> References: <200807191908.m6JJ8bsq040646@repoman.freebsd.org> <200807211107.21345.jhb@freebsd.org> Message-ID: On Jul 21, 2008, at 8:07 AM, John Baldwin wrote: > On Saturday 19 July 2008 03:08:22 pm Marcel Moolenaar wrote: >> marcel 2008-07-19 19:08:22 UTC >> >> FreeBSD src repository >> >> Modified files: >> etc remote >> Log: >> SVN rev 180615 on 2008-07-19 19:08:22Z by marcel >> >> With uart(4) default, change /dev/cuad# to /dev/cuau# so that >> out-of-the-box FreeBSD is consistent. Add uart[0-7] as a >> fingerfriendly shortcut alongside sio[0-7] and com[1-8]. > > Perhaps the sioX aliases should either be removed or still > reference /dev/cuadX? Having them reference the uart(4) devices > might be > confusing. I was mostly thinking in terms of backward compatibility. sioX will map to a working port now. I can certainly remove sioX from the aliases, but that may break existing setups. I don't know if adding sioX aliases for /dev/cuadX is useful. I think sioX should either not exist or be an useful alias. Thoughts? -- Marcel Moolenaar xcllnt@mac.com From marcel at FreeBSD.org Mon Jul 21 22:38:19 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Mon Jul 21 22:38:31 2008 Subject: cvs commit: src/etc remote Message-ID: <200807212238.m6LMcJDi001104@repoman.freebsd.org> marcel 2008-07-21 22:38:00 UTC FreeBSD src repository Modified files: etc remote Log: SVN rev 180680 on 2008-07-21 22:38:00Z by marcel Remove sioX as an alias for uartX. It is believed to be more confusing than helpful. Suggested by: jhb Revision Changes Path 1.18 +8 -8 src/etc/remote From thompsa at FreeBSD.org Mon Jul 21 22:55:51 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 21 22:55:57 2008 Subject: cvs commit: src/etc rc.resume Message-ID: <200807212255.m6LMtonH002494@repoman.freebsd.org> thompsa 2008-07-21 22:55:40 UTC FreeBSD src repository Modified files: etc rc.resume Log: SVN rev 180681 on 2008-07-21 22:55:40Z by thompsa Change the module example to kldload since this is the resume side. Revision Changes Path 1.9 +1 -1 src/etc/rc.resume From attilio at FreeBSD.org Mon Jul 21 23:02:27 2008 From: attilio at FreeBSD.org (Attilio Rao) Date: Mon Jul 21 23:02:36 2008 Subject: cvs commit: src/sys/gnu/fs/xfs/FreeBSD xfs_mountops.c xfs_vnode.c src/sys/kern vfs_subr.c Message-ID: <200807212302.m6LN2Qe3003043@repoman.freebsd.org> attilio 2008-07-21 23:01:09 UTC FreeBSD src repository Modified files: sys/gnu/fs/xfs/FreeBSD xfs_mountops.c xfs_vnode.c sys/kern vfs_subr.c Log: SVN rev 180682 on 2008-07-21 23:01:09Z by attilio - Disallow XFS mounting in write mode. The write support never worked really and there is no need to maintain it. - Fix vn_get() in order to let it call vget(9) with a valid locking request. vget(9) returns the vnode locked in order to prevent recycling, but in this case internal XFS locks alredy prevent it from happening, so it is safe to drop the vnode lock before to return by vn_get(). - Add a VNASSERT() in vget(9) in order to catch malformed locking requests. Discussed with: kan, kib Tested by: Lothar Braun Revision Changes Path 1.12 +3 -1 src/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c 1.5 +10 -5 src/sys/gnu/fs/xfs/FreeBSD/xfs_vnode.c 1.733 +2 -0 src/sys/kern/vfs_subr.c From ticso at cicely7.cicely.de Tue Jul 22 00:40:47 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Tue Jul 22 00:40:53 2008 Subject: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... In-Reply-To: <20080721213951.GN39074@obiwan.tataz.chchile.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> <20080716021322.52f895c9.stas@FreeBSD.org> <20080715225443.GM35340@cicely7.cicely.de> <20080717140905.GX35340@cicely7.cicely.de> <20080718114058.GB35340@cicely7.cicely.de> <20080721213951.GN39074@obiwan.tataz.chchile.org> Message-ID: <20080722004040.GG58113@cicely7.cicely.de> On Mon, Jul 21, 2008 at 11:39:51PM +0200, Jeremie Le Hen wrote: > Hi Bernd, > > Again, sorry for the late reply, I'm abroad this week once again for > work, so I have very little time for my personal stuff. > > On Fri, Jul 18, 2008 at 01:40:59PM +0200, Bernd Walter wrote: > > No change - with SSP all dynamic linked binaries fail the same as the > > 7-stable did. > > Without SSP only some binaries fail, but those are the same. > > And of course since my 7-stable binaries were failing as well this > > sounds like a kernel thing and not a userland one. > > > > What comes to mind after reading the original commit when reading the > > compiler options used: > > cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -mcpu=arm9 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -fstack-protector -Werror ../../../arm/at91/at91_twi.c > > The original message says that -fstack-protector shouldn't be used for > > the kernel. > > So why it is there? > > I never explicitly enabled it anywhere. > > Actually, there was one patch to enable SSP for userland and another one > for kernel, but they have been committed together and their commitlog > has been concatenated. If you read it further, you will see the > kernel part commitlog. Yes - I saw later that those were different compiler options. > Concerning the automatic activation, this is intended so as to give SSP > more exposure. We'll need to reach a consensus for the release about > whether it should be opt-in or opt-out. For now, you can disable it for > both userland and kernel using the WITHOUT_SPP knob in src.conf(5). If > you only want to disable it for kernel build, simply use "make > -DWITHOUT_SSP buildkernel". > > I'm keen to hear about any clue you will gather about the problem. Well Olivier Houchard went in and disabled SSP support on arm. He mentioned in his commit log a compiler bug, but you should ask him about the details. Unfortunately he missed one file, but after disabling this as well and recompiling the kernel, my problems were gone. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From trhodes at FreeBSD.org Tue Jul 22 01:27:51 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Tue Jul 22 01:28:17 2008 Subject: cvs commit: src/sys/netipx ipx_input.c ipx_usrreq.c In-Reply-To: <200807211100.16053.jhb@freebsd.org> References: <200807201525.m6KFPhoV014088@repoman.freebsd.org> <200807211100.16053.jhb@freebsd.org> Message-ID: <20080721210748.32d96b40.trhodes@FreeBSD.org> On Mon, 21 Jul 2008 11:00:15 -0400 John Baldwin wrote: > On Sunday 20 July 2008 11:25:20 am Tom Rhodes wrote: > > trhodes 2008-07-20 15:25:20 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/netipx ipx_input.c ipx_usrreq.c > > Log: > > SVN rev 180630 on 2008-07-20 15:25:20Z by trhodes > > > > Document a few sysctls. > > > > Reviewed by: rwatson > > FWIW, most other sysctls (though not all currently) start the first word with > uppercase and attempt to be complete sentences. This is consistent with > style(9)'s suggestions on code comments. > > -- > John Baldwin > I've thought about this and will probably make a follow up change for that. Thanks for the verification! :) -- Tom Rhodes From avatar at FreeBSD.org Tue Jul 22 04:24:18 2008 From: avatar at FreeBSD.org (Tai-hwa Liang) Date: Tue Jul 22 04:24:24 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h Message-ID: <200807220424.m6M4OIug045512@repoman.freebsd.org> avatar 2008-07-22 04:23:57 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h Log: SVN rev 180683 on 2008-07-22 04:23:57Z by avatar Trying to fix compilation bustage: - removing 'const' qualifier from an input parameter to conform to the type required by rw_assert(); - using in_addr->s_addr to retrive 32 bits address value. Observed by: tinderbox Revision Changes Path 1.214 +3 -3 src/sys/netinet/in_pcb.c 1.113 +1 -1 src/sys/netinet/in_pcb.h From xcllnt at mac.com Tue Jul 22 04:25:32 2008 From: xcllnt at mac.com (Marcel Moolenaar) Date: Tue Jul 22 04:25:38 2008 Subject: cvs commit: src/etc remote In-Reply-To: <200807211732.07938.jhb@freebsd.org> References: <200807191908.m6JJ8bsq040646@repoman.freebsd.org> <200807211107.21345.jhb@freebsd.org> <200807211732.07938.jhb@freebsd.org> Message-ID: <11F2943E-37CE-4A02-BCF0-281D8FC0DCB4@mac.com> On Jul 21, 2008, at 2:32 PM, John Baldwin wrote: > On Monday 21 July 2008 05:22:15 pm Marcel Moolenaar wrote: >> >> On Jul 21, 2008, at 8:07 AM, John Baldwin wrote: >> >>> On Saturday 19 July 2008 03:08:22 pm Marcel Moolenaar wrote: >>>> marcel 2008-07-19 19:08:22 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> etc remote >>>> Log: >>>> SVN rev 180615 on 2008-07-19 19:08:22Z by marcel >>>> >>>> With uart(4) default, change /dev/cuad# to /dev/cuau# so that >>>> out-of-the-box FreeBSD is consistent. Add uart[0-7] as a >>>> fingerfriendly shortcut alongside sio[0-7] and com[1-8]. >>> >>> Perhaps the sioX aliases should either be removed or still >>> reference /dev/cuadX? Having them reference the uart(4) devices >>> might be >>> confusing. >> >> I was mostly thinking in terms of backward compatibility. >> sioX will map to a working port now. I can certainly remove >> sioX from the aliases, but that may break existing setups. >> I don't know if adding sioX aliases for /dev/cuadX is useful. >> I think sioX should either not exist or be an useful alias. >> >> Thoughts? > > I would just remove them. I'm not sure how often they are really > used since > they are specific to a driver name as opposed to COM1/COM2 which > some boxes > have as labels on the case for the physical ports. Ok, will do. -- Marcel Moolenaar xcllnt@mac.com From bmah at FreeBSD.org Tue Jul 22 05:03:05 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Tue Jul 22 05:03:16 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml Message-ID: <200807220503.m6M53414060277@repoman.freebsd.org> bmah 2008-07-22 05:02:46 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: SVN rev 180684 on 2008-07-22 05:02:46Z by bmah Add a sentence of credits to the KSE removal note. Requested by: brooks Revision Changes Path 1.1091 +2 -1 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From cognet at FreeBSD.org Tue Jul 22 09:38:23 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Tue Jul 22 09:38:28 2008 Subject: cvs commit: src/sys/conf kern.mk Message-ID: <200807220938.m6M9cMHu006915@repoman.freebsd.org> cognet 2008-07-22 09:38:12 UTC FreeBSD src repository Modified files: sys/conf kern.mk Log: SVN rev 180685 on 2008-07-22 09:38:12Z by cognet Disable SSP for the kernel on arm as well (see rev 180605). I overlooked this because a SSP kernel booted for me. Apologises to: ticso Revision Changes Path 1.56 +2 -1 src/sys/conf/kern.mk From marius at FreeBSD.org Tue Jul 22 09:56:56 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Tue Jul 22 09:57:23 2008 Subject: cvs commit: src/sys/modules/mem Makefile Message-ID: <200807220956.m6M9urXb008461@repoman.freebsd.org> marius 2008-07-22 09:56:45 UTC FreeBSD src repository Modified files: sys/modules/mem Makefile Log: SVN rev 180686 on 2008-07-22 09:56:45Z by marius For sun4v ensure there is an opt_global.h with SUN4V defined included, even for the stand-alone build. Revision Changes Path 1.6 +9 -0 src/sys/modules/mem/Makefile From ache at FreeBSD.org Tue Jul 22 10:31:40 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 10:31:52 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807221031.m6MAVe9I012301@repoman.freebsd.org> ache 2008-07-22 10:31:29 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180687 on 2008-07-22 10:31:29Z by ache Increase initially dropped bytes from 512 to 768 (768 is also suggested in the Ilya Mironov's article). 768 taken from another research where it treats as default for RC4-drop(768): http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC4-drop Minor style tweak. Revision Changes Path 1.18 +3 -3 src/lib/libc/gen/arc4random.c From phk at phk.freebsd.dk Tue Jul 22 10:34:54 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Tue Jul 22 10:35:01 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c In-Reply-To: Your message of "Tue, 22 Jul 2008 10:31:29 GMT." <200807221031.m6MAVe9I012301@repoman.freebsd.org> Message-ID: <37711.1216722891@critter.freebsd.dk> In message <200807221031.m6MAVe9I012301@repoman.freebsd.org>, "Andrey A. Cherno v" writes: > Increase initially dropped bytes from 512 to 768 (768 is also > suggested in the Ilya Mironov's article). 768 taken from another > research where it treats as default for RC4-drop(768): > http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC4-drop I've always wondered why the dropped number of bytes is constant, wouldn't it be smarter to drop a constant number, and then pull out the next byte and drop that many further bytes ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From max at love2party.net Tue Jul 22 10:40:01 2008 From: max at love2party.net (Max Laier) Date: Tue Jul 22 10:40:07 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c In-Reply-To: <37711.1216722891@critter.freebsd.dk> References: <37711.1216722891@critter.freebsd.dk> Message-ID: <200807221239.57653.max@love2party.net> On Tuesday 22 July 2008 12:34:51 Poul-Henning Kamp wrote: > In message <200807221031.m6MAVe9I012301@repoman.freebsd.org>, "Andrey > A. Cherno > > v" writes: > > Increase initially dropped bytes from 512 to 768 (768 is also > > suggested in the Ilya Mironov's article). 768 taken from another > > research where it treats as default for RC4-drop(768): > > http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC4-drop > > I've always wondered why the dropped number of bytes is constant, > wouldn't it be smarter to drop a constant number, and then pull > out the next byte and drop that many further bytes ? If you can observe the runtime that might give you a very good idea what that byte was ... not sure if that is of relevance, but just a thought. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From phk at phk.freebsd.dk Tue Jul 22 10:42:41 2008 From: phk at phk.freebsd.dk (Poul-Henning Kamp) Date: Tue Jul 22 10:42:52 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c In-Reply-To: Your message of "Tue, 22 Jul 2008 12:39:57 +0200." <200807221239.57653.max@love2party.net> Message-ID: <37752.1216723358@critter.freebsd.dk> In message <200807221239.57653.max@love2party.net>, Max Laier writes: >On Tuesday 22 July 2008 12:34:51 Poul-Henning Kamp wrote: >> In message <200807221031.m6MAVe9I012301@repoman.freebsd.org>, "Andrey >> A. Cherno >> >> v" writes: >> > Increase initially dropped bytes from 512 to 768 (768 is also >> > suggested in the Ilya Mironov's article). 768 taken from another >> > research where it treats as default for RC4-drop(768): >> > http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC4-drop >> >> I've always wondered why the dropped number of bytes is constant, >> wouldn't it be smarter to drop a constant number, and then pull >> out the next byte and drop that many further bytes ? > >If you can observe the runtime that might give you a very good idea what >that byte was ... not sure if that is of relevance, but just a thought. Absolutely true but that would still be better than a fixed number wouldn't it ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From ache at nagual.pp.ru Tue Jul 22 10:48:30 2008 From: ache at nagual.pp.ru (Andrey Chernov) Date: Tue Jul 22 10:48:41 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c In-Reply-To: <37711.1216722891@critter.freebsd.dk> References: <200807221031.m6MAVe9I012301@repoman.freebsd.org> <37711.1216722891@critter.freebsd.dk> Message-ID: <20080722104826.GA76326@nagual.pp.ru> On Tue, Jul 22, 2008 at 10:34:51AM +0000, Poul-Henning Kamp wrote: > In message <200807221031.m6MAVe9I012301@repoman.freebsd.org>, "Andrey A. Cherno > v" writes: > > > Increase initially dropped bytes from 512 to 768 (768 is also > > suggested in the Ilya Mironov's article). 768 taken from another > > research where it treats as default for RC4-drop(768): > > http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC4-drop > > I've always wondered why the dropped number of bytes is constant, > wouldn't it be smarter to drop a constant number, and then pull > out the next byte and drop that many further bytes ? From math point of view, small pseudo-random dropping fraction added will not increase distribution significantly. With good seeding from the kernel PRNG even 256 bytes is enough (as OpenBSD currently does). It is just for formal RC4-drop(768) implementation as it described and for rare corner cases when /dev/urandom is unavailable. -- http://ache.pp.ru/ From ache at FreeBSD.org Tue Jul 22 11:34:01 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 11:34:13 2008 Subject: cvs commit: src/lib/libc/gen Makefile.inc Symbol.map arc4random.3 arc4random.c Message-ID: <200807221133.m6MBXuLL022988@repoman.freebsd.org> ache 2008-07-22 11:33:49 UTC FreeBSD src repository Modified files: lib/libc/gen Makefile.inc Symbol.map arc4random.3 arc4random.c Log: SVN rev 180688 on 2008-07-22 11:33:49Z by ache Add arc4random_uniform() function (to avoid "modulo bias") Obtained from: OpenBSD Revision Changes Path 1.139 +1 -1 src/lib/libc/gen/Makefile.inc 1.15 +1 -0 src/lib/libc/gen/Symbol.map 1.18 +11 -0 src/lib/libc/gen/arc4random.3 1.19 +45 -0 src/lib/libc/gen/arc4random.c From ache at FreeBSD.org Tue Jul 22 11:41:01 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 11:41:09 2008 Subject: cvs commit: src/include stdlib.h Message-ID: <200807221141.m6MBf01D023646@repoman.freebsd.org> ache 2008-07-22 11:40:42 UTC FreeBSD src repository Modified files: include stdlib.h Log: SVN rev 180689 on 2008-07-22 11:40:42Z by ache Add arc4random_uniform() Obtained from: OpenBSD Revision Changes Path 1.67 +2 -0 src/include/stdlib.h From ache at FreeBSD.org Tue Jul 22 12:43:17 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 12:43:37 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807221243.m6MChHQe030078@repoman.freebsd.org> ache 2008-07-22 12:43:09 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180690 on 2008-07-22 12:43:09Z by ache In arc4random_uniform() detect simple "power of two" case and return just (arc4random() % upper_bound) Revision Changes Path 1.20 +5 -1 src/lib/libc/gen/arc4random.c From des at des.no Tue Jul 22 12:52:51 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Tue Jul 22 12:52:58 2008 Subject: svn commit: r180431 - in head/sys: kern sys In-Reply-To: (Peter Wemm's message of "Thu\, 10 Jul 2008 17\:00\:02 -0700") References: <200807101635.m6AGZv7I090311@svn.freebsd.org> <20080710233721.GA55073@dragon.NUXI.org> Message-ID: <86k5fep02r.fsf@ds4.des.no> "Peter Wemm" writes: > I think you should leave it in Juniper's tree for a tad longer: > ../../../kern/link_elf_obj.c:88: error: redefinition of 'struct elf_file' > ../../../kern/link_elf_obj.c:119: error: redefinition of typedef 'elf_file_t' > ../../../sys/link_elf.h:133: error: previous declaration of > 'elf_file_t' was here > [...] > I forgot to mention.. the fact that kld's happen to currently be ELF > is very specifically and deliberately not part of any public API. All > references go via linker_* because there is no guarantee about elf, > a.out, pecoff, raw binary, whatever. Speaking of which, as the compiler error demonstrates, amd64 uses a different file format and a different linker for kernel modules than the other platforms (ELF relocatable object vs ELF shared object). I never understood the reason for this. I ran into it when I tried to hack the kernel linker to ignore debugging information when loading a module, so we wouldn't have to install two copies of every module. IIRC, it was easy to do for shared objects but hard to do for relocatable objects. Can you bring any light to this issue? DES -- Dag-Erling Sm?rgrav - des@des.no From brde at optusnet.com.au Tue Jul 22 13:37:02 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Tue Jul 22 13:37:14 2008 Subject: cvs commit: src/sys/netipx ipx_input.c ipx_usrreq.c In-Reply-To: <200807211100.16053.jhb@freebsd.org> References: <200807201525.m6KFPhoV014088@repoman.freebsd.org> <200807211100.16053.jhb@freebsd.org> Message-ID: <20080722224604.D17596@delplex.bde.org> On Mon, 21 Jul 2008, John Baldwin wrote: > On Sunday 20 July 2008 11:25:20 am Tom Rhodes wrote: >> trhodes 2008-07-20 15:25:20 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/netipx ipx_input.c ipx_usrreq.c >> Log: >> SVN rev 180630 on 2008-07-20 15:25:20Z by trhodes >> >> Document a few sysctls. >> >> Reviewed by: rwatson > > FWIW, most other sysctls (though not all currently) start the first word with > uppercase and attempt to be complete sentences. This is consistent with > style(9)'s suggestions on code comments. Except most are not punctuated with a trailing ".". On ref8-i386.freebsd.org now, sysctl -da shows about 1470 sysctl with a non-null description, of which only 25 violate the non-punctuation rule, but almost half (713) violate the capitalization rule. A few of the ones with a trailing "." have multiple sentences on separate lines, but those are broken in other ways (the descriptions should be short, and must never be on separate lines, the latter so that simple greps work). Most of the violations of the capitalization rule are automatically generated for devices. sysctl -da output is spammed with the same descriptions for most devices of %desc, %driver, %location, %pnpinfo (all devices on i386 seem to have this though most have nothing to do with pnp) and %parent. Altogether there are 109 %desc's, 109 %driver's, 109 %location's, 109 %pnpinfo's and 143 %parents. This accounts for 579 of the 713 capitalization bugs. Please fix the style bugs of the source code of the sysctls when you fix these. The continuation indent is 4 chars (indent -ci4) in KNF but is mostly 11 chars (indent -lp) for these sysctls and is 12 chars (completely bogus) for at least one. Other recent additions of sysctl descriptions have much larger style bugs. The largest ones are in netipsec/ipsec.c. There the format of SYSCTL lines was highly non-KNF, but consistent, with excessive tabs to line things up. Now it is just ugly, with the description lines placed where they don't fit and almost always running beyond 80 columns. There is no way indent(1) can reproduce such fancy formatting of data declarations, especially when the data declarations are obfuscated in function-call-like macros, so such fancy formatting should rarely be used. indent(1) at least has a chance with normal SYSCTL formatting. A closer look shows that the fancy formatting in ipsec.c was already mostly wrong -- most things don't actually line up. In general, the first line is spit too early (normal is splitting after CTLFLAG*, but verbose name may prevent this) and the second line is not split enough. Splitting the first line too early almost guarantees that the second line will be too long unless it has a null description or is split. Then the tabs increase the mess. In other files, normal formatting of SYSCTL*() gives a chance of fitting the description on the scond line. Bruce From ache at FreeBSD.org Tue Jul 22 13:38:19 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 13:38:26 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200807221338.m6MDcIgP044958@repoman.freebsd.org> ache 2008-07-22 13:38:17 UTC FreeBSD src repository Modified files: sys/sys param.h Log: SVN rev 180691 on 2008-07-22 13:38:17Z by ache Bump __FreeBSD_version for arc4random_buf() and arc4random_uniform() added. Revision Changes Path 1.359 +1 -1 src/sys/sys/param.h From marius at FreeBSD.org Tue Jul 22 13:51:37 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Tue Jul 22 13:51:48 2008 Subject: cvs commit: src/sys/dev/esp esp_sbus.c ncr53c9x.c ncr53c9xvar.h Message-ID: <200807221351.m6MDpbjc046591@repoman.freebsd.org> marius 2008-07-22 13:51:21 UTC FreeBSD src repository Modified files: sys/dev/esp esp_sbus.c ncr53c9x.c ncr53c9xvar.h Log: SVN rev 180692 on 2008-07-22 13:51:21Z by marius o Fix style(9) bugs and similar nits. o Merge ncr53c9x.c from NetBSD: 1.115: fix variable shadowing 1.118: __inline -> inline 1.121: fix empty if Revision Changes Path 1.16 +24 -27 src/sys/dev/esp/esp_sbus.c 1.18 +352 -343 src/sys/dev/esp/ncr53c9x.c 1.9 +98 -99 src/sys/dev/esp/ncr53c9xvar.h From stas at FreeBSD.org Tue Jul 22 14:04:24 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Tue Jul 22 14:04:58 2008 Subject: cvs commit: src/sys/arm/at91 at91_pmc.c Message-ID: <200807221404.m6ME4NA1049801@repoman.freebsd.org> stas 2008-07-22 14:04:06 UTC FreeBSD src repository Modified files: sys/arm/at91 at91_pmc.c Log: SVN rev 180693 on 2008-07-22 14:04:06Z by stas - Whitespace fixes. Approved by: gonzo MFC after: 1 week Revision Changes Path 1.6 +37 -37 src/sys/arm/at91/at91_pmc.c From maxim at FreeBSD.org Tue Jul 22 14:22:11 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Jul 22 14:22:17 2008 Subject: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <200807221422.m6MEMACg052689@repoman.freebsd.org> maxim 2008-07-22 14:21:56 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: SVN rev 180694 on 2008-07-22 14:21:56Z by maxim o Alan Shepard was first American in the space; fix attribution. o Correct Alan's surname. PR: bin/125812 Submitted by: Derek Taylor [1], gavin [2] MFC after: 1 week Revision Changes Path 1.269 +1 -1 src/games/fortune/datfiles/fortunes From brde at optusnet.com.au Tue Jul 22 14:23:31 2008 From: brde at optusnet.com.au (Bruce Evans) Date: Tue Jul 22 14:23:37 2008 Subject: cvs commit: src/etc remote In-Reply-To: <200807211732.07938.jhb@freebsd.org> References: <200807191908.m6JJ8bsq040646@repoman.freebsd.org> <200807211107.21345.jhb@freebsd.org> <200807211732.07938.jhb@freebsd.org> Message-ID: <20080722233851.L17712@delplex.bde.org> On Mon, 21 Jul 2008, John Baldwin wrote: > On Monday 21 July 2008 05:22:15 pm Marcel Moolenaar wrote: >> >> On Jul 21, 2008, at 8:07 AM, John Baldwin wrote: >> >>> On Saturday 19 July 2008 03:08:22 pm Marcel Moolenaar wrote: >>>> marcel 2008-07-19 19:08:22 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> etc remote >>>> Log: >>>> SVN rev 180615 on 2008-07-19 19:08:22Z by marcel >>>> >>>> With uart(4) default, change /dev/cuad# to /dev/cuau# so that >>>> out-of-the-box FreeBSD is consistent. Add uart[0-7] as a >>>> fingerfriendly shortcut alongside sio[0-7] and com[1-8]. >>> >>> Perhaps the sioX aliases should either be removed or still >>> reference /dev/cuadX? Having them reference the uart(4) devices >>> might be >>> confusing. rc.d/serial was (not quite) similarly broken. In rc.d/serial, there is supposed to be a set of config line for each driver. This is unfortunately necessary for the same reasons that separate config lines for ethernet drivers are necessary (it is too hard to map multiple devices/drivers to the same device namespace, and we don't want that anyway (anyone here want eth*?). Now there are no lines for sio devices, but there are still lines for unusual devices (just a couple that were maintained enought to have lines there). >> I was mostly thinking in terms of backward compatibility. >> sioX will map to a working port now. I can certainly remove >> sioX from the aliases, but that may break existing setups. >> I don't know if adding sioX aliases for /dev/cuadX is useful. >> I think sioX should either not exist or be an useful alias. I think that uart should not exist, but then I'm biased. >> >> Thoughts? > > I would just remove them. I'm not sure how often they are really used since > they are specific to a driver name as opposed to COM1/COM2 which some boxes > have as labels on the case for the physical ports. This is mostly backwards. COM* was the IBM PC's (or IBM's?) name for serial ports. It wasn't really a 386 name, but, 386BSD used it for the i386 serial driver. rgrimes hated it more than me, so he changed the name of the driver from com to sio and the device name from com* to ttyd*. I forget if the d was traditional. More likely the a in cuaa* was traditional. "uart" is more specialized than "sio", but not much more (just the "a" for asynchronous in it). "sio" is still too generic (most serial devices are now ethernet or USB), but it is better than an industry acronym like UART, and much better than "tty". Of course, the correct name is CIA. Everyone knows what that is ;-). (It is Communications Interface Adaptor. I changed the industry acronym of ACIA to get a more interesting name. Initial development of sio's technology was on a device named an ACIA by its manufacturer (Motorola 6850).) Bruce From rwatson at FreeBSD.org Tue Jul 22 14:29:05 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 14:29:12 2008 Subject: cvs commit: src/sys/amd64/acpica madt.c src/sys/amd64/amd64 intr_machdep.c local_apic.c machdep.c mptable.c src/sys/amd64/isa atpic.c src/sys/arm/arm machdep.c vm_machdep.c src/sys/cddl/contrib/opensolaris/uts/common/os callb.c taskq.c ... Message-ID: <200807221429.m6MET5Xr053852@repoman.freebsd.org> rwatson 2008-07-22 14:27:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/acpica madt.c sys/amd64/amd64 intr_machdep.c local_apic.c machdep.c mptable.c sys/amd64/isa atpic.c sys/arm/arm machdep.c vm_machdep.c sys/cddl/contrib/opensolaris/uts/common/os callb.c taskq.c sys/dev/ofw ofw_console.c sys/dev/syscons sysmouse.c sys/gdb gdb_cons.c sys/i386/acpica acpi_wakeup.c madt.c sys/i386/i386 intr_machdep.c local_apic.c machdep.c mp_machdep.c mptable.c vm_machdep.c sys/i386/isa atpic.c sys/i386/xbox xbox.c sys/ia64/ia64 machdep.c sscdisk.c sys/kern init_main.c kern_alq.c kern_clock.c kern_descrip.c kern_event.c kern_idle.c kern_intr.c kern_linker.c kern_malloc.c kern_mbuf.c kern_module.c kern_ntptime.c kern_poll.c kern_shutdown.c kern_switch.c kern_synch.c kern_tc.c sched_4bsd.c sched_ule.c subr_autoconf.c subr_eventhandler.c subr_log.c subr_prof.c subr_smp.c subr_witness.c tty_cons.c tty_pts.c tty_pty.c tty_subr.c tty_tty.c uipc_domain.c vfs_acl.c vfs_bio.c vfs_cache.c vfs_hash.c vfs_lookup.c vfs_subr.c sys/net bpf.c if.c netisr.c rtsock.c sys/netatm/ipatm ipatm_load.c sys/netatm/sigpvc sigpvc_if.c sys/netatm/spans spans_if.c sys/netatm/uni uni_load.c sys/netipsec ipsec.c sys/nfsclient nfs_diskless.c sys/pc98/pc98 machdep.c sys/security/audit audit.c sys/sparc64/sparc64 vm_machdep.c sys/sys eventhandler.h module.h taskqueue.h sys/ufs/ffs ffs_softdep.c sys/vm vm_glue.c vm_init.c vm_mmap.c vm_pageout.c vm_zeroidle.c Log: SVN rev 180695 on 2008-07-22 14:27:47Z by rwatson Merge r177253, r177255 from head to stable/7: In keeping with style(9)'s recommendations on macros, use a ';' after each SYSINIT() macro invocation. This makes a number of lightweight C parsers much happier with the FreeBSD kernel source, including cflow's prcc and lxr. Discussed with: imp, rink The requirement to place a ; after each SYSINIT definition has not been MFC'd, as this might break the compile third-party modules, but merging the actual ; additions reduces diffs against 8.x making it easier to merge other changes. Revision Changes Path 1.24.2.2 +2 -2 src/sys/amd64/acpica/madt.c 1.34.2.4 +3 -2 src/sys/amd64/amd64/intr_machdep.c 1.42.2.2 +4 -3 src/sys/amd64/amd64/local_apic.c 1.675.2.7 +1 -1 src/sys/amd64/amd64/machdep.c 1.240.2.1 +1 -1 src/sys/amd64/amd64/mptable.c 1.22.2.1 +1 -1 src/sys/amd64/isa/atpic.c 1.28.2.1 +1 -1 src/sys/arm/arm/machdep.c 1.34.2.2 +1 -1 src/sys/arm/arm/vm_machdep.c 1.3.2.2 +1 -1 src/sys/cddl/contrib/opensolaris/uts/common/os/callb.c 1.4.2.2 +1 -1 src/sys/cddl/contrib/opensolaris/uts/common/os/taskq.c 1.36.2.2 +1 -1 src/sys/dev/ofw/ofw_console.c 1.29.2.1 +1 -1 src/sys/dev/syscons/sysmouse.c 1.2.2.1 +1 -1 src/sys/gdb/gdb_cons.c 1.46.2.1 +1 -1 src/sys/i386/acpica/acpi_wakeup.c 1.28.2.2 +2 -2 src/sys/i386/acpica/madt.c 1.29.2.4 +3 -2 src/sys/i386/i386/intr_machdep.c 1.44.2.1 +2 -2 src/sys/i386/i386/local_apic.c 1.658.2.8 +2 -2 src/sys/i386/i386/machdep.c 1.281.2.3 +1 -1 src/sys/i386/i386/mp_machdep.c 1.245.2.1 +1 -1 src/sys/i386/i386/mptable.c 1.283.2.2 +1 -1 src/sys/i386/i386/vm_machdep.c 1.28.2.1 +1 -1 src/sys/i386/isa/atpic.c 1.4.4.1 +1 -1 src/sys/i386/xbox/xbox.c 1.225.2.7 +1 -1 src/sys/ia64/ia64/machdep.c 1.33.2.1 +1 -1 src/sys/ia64/ia64/sscdisk.c 1.283.2.4 +15 -13 src/sys/kern/init_main.c 1.19.2.1 +2 -2 src/sys/kern/kern_alq.c 1.202.2.4 +1 -1 src/sys/kern/kern_clock.c 1.313.2.7 +2 -2 src/sys/kern/kern_descrip.c 1.113.2.5 +1 -1 src/sys/kern/kern_event.c 1.48.2.1 +1 -1 src/sys/kern/kern_idle.c 1.147.2.2 +2 -1 src/sys/kern/kern_intr.c 1.149.2.2 +5 -4 src/sys/kern/kern_linker.c 1.162.2.1 +1 -1 src/sys/kern/kern_malloc.c 1.32.2.2 +1 -1 src/sys/kern/kern_mbuf.c 1.52.2.2 +1 -1 src/sys/kern/kern_module.c 1.64.2.1 +1 -1 src/sys/kern/kern_ntptime.c 1.31.2.1 +3 -2 src/sys/kern/kern_poll.c 1.182.2.5 +1 -1 src/sys/kern/kern_shutdown.c 1.137.2.2 +1 -1 src/sys/kern/kern_switch.c 1.302.2.2 +2 -1 src/sys/kern/kern_synch.c 1.178.2.1 +1 -1 src/sys/kern/kern_tc.c 1.106.2.3 +3 -2 src/sys/kern/sched_4bsd.c 1.214.2.4 +3 -2 src/sys/kern/sched_ule.c 1.23.2.2 +1 -1 src/sys/kern/subr_autoconf.c 1.23.10.1 +1 -1 src/sys/kern/subr_eventhandler.c 1.64.10.1 +1 -1 src/sys/kern/subr_log.c 1.79.2.1 +2 -2 src/sys/kern/subr_prof.c 1.201.2.1 +3 -3 src/sys/kern/subr_smp.c 1.236.2.3 +2 -1 src/sys/kern/subr_witness.c 1.139.2.1 +1 -1 src/sys/kern/tty_cons.c 1.16.2.2 +1 -1 src/sys/kern/tty_pts.c 1.152.2.5 +1 -1 src/sys/kern/tty_pty.c 1.43.10.1 +1 -1 src/sys/kern/tty_subr.c 1.60.2.1 +1 -1 src/sys/kern/tty_tty.c 1.51.2.1 +2 -2 src/sys/kern/uipc_domain.c 1.53.2.1 +1 -1 src/sys/kern/vfs_acl.c 1.528.2.1 +1 -1 src/sys/kern/vfs_bio.c 1.114.2.1 +1 -1 src/sys/kern/vfs_cache.c 1.13.2.1 +1 -1 src/sys/kern/vfs_hash.c 1.102.2.1 +1 -1 src/sys/kern/vfs_lookup.c 1.707.2.6 +4 -3 src/sys/kern/vfs_subr.c 1.181.2.6 +1 -1 src/sys/net/bpf.c 1.273.2.2 +2 -2 src/sys/net/if.c 1.20.2.1 +1 -1 src/sys/net/netisr.c 1.143.2.1 +1 -1 src/sys/net/rtsock.c 1.23.2.1 +1 -1 src/sys/netatm/ipatm/ipatm_load.c 1.18.10.1 +1 -1 src/sys/netatm/sigpvc/sigpvc_if.c 1.16.10.1 +1 -1 src/sys/netatm/spans/spans_if.c 1.12.10.1 +1 -1 src/sys/netatm/uni/uni_load.c 1.24.2.2 +1 -1 src/sys/netipsec/ipsec.c 1.17.2.1 +1 -1 src/sys/nfsclient/nfs_diskless.c 1.396.2.5 +2 -2 src/sys/pc98/pc98/machdep.c 1.33.2.4 +1 -1 src/sys/security/audit/audit.c 1.76.2.2 +1 -1 src/sys/sparc64/sparc64/vm_machdep.c 1.37.2.2 +1 -1 src/sys/sys/eventhandler.h 1.22.2.1 +1 -1 src/sys/sys/module.h 1.16.2.1 +2 -2 src/sys/sys/taskqueue.h 1.211.2.4 +2 -1 src/sys/ufs/ffs/ffs_softdep.c 1.225.2.2 +2 -2 src/sys/vm/vm_glue.c 1.46.10.1 +1 -1 src/sys/vm/vm_init.c 1.213.2.2 +2 -1 src/sys/vm/vm_mmap.c 1.292.2.2 +3 -2 src/sys/vm/vm_pageout.c 1.49.2.1 +1 -1 src/sys/vm/vm_zeroidle.c From ache at FreeBSD.org Tue Jul 22 15:09:02 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 15:09:15 2008 Subject: cvs commit: src/lib/libc/stdio mktemp.c Message-ID: <200807221509.m6MF92vn061352@repoman.freebsd.org> ache 2008-07-22 15:08:50 UTC FreeBSD src repository Modified files: lib/libc/stdio mktemp.c Log: SVN rev 180696 on 2008-07-22 15:08:50Z by ache Use arc4random_uniform(3) since modulo size is not power of 2 Revision Changes Path 1.30 +1 -1 src/lib/libc/stdio/mktemp.c From keramida at FreeBSD.org Tue Jul 22 15:14:50 2008 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Tue Jul 22 15:14:56 2008 Subject: cvs commit: src/contrib/tcsh tc.func.c Message-ID: <200807221514.m6MFEna6063386@repoman.freebsd.org> keramida 2008-07-22 15:14:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/tcsh tc.func.c Log: SVN rev 180697 on 2008-07-22 15:14:33Z by keramida MFC change 180637 - tcsh abort in xgetpass() PR: bin/124191 Revision Changes Path 1.1.1.8.2.1 +1 -1 src/contrib/tcsh/tc.func.c From keramida at FreeBSD.org Tue Jul 22 15:15:08 2008 From: keramida at FreeBSD.org (Giorgos Keramidas) Date: Tue Jul 22 15:15:27 2008 Subject: cvs commit: src/contrib/tcsh tc.func.c Message-ID: <200807221515.m6MFF5Y4064688@repoman.freebsd.org> keramida 2008-07-22 15:14:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) contrib/tcsh tc.func.c Log: SVN rev 180698 on 2008-07-22 15:14:59Z by keramida MFC change 180637 - tcsh abort in xgetpass() PR: bin/124191 Revision Changes Path 1.1.1.7.2.2 +1 -1 src/contrib/tcsh/tc.func.c From rwatson at FreeBSD.org Tue Jul 22 15:17:37 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 15:17:50 2008 Subject: cvs commit: src/sys/security/audit audit_arg.c Message-ID: <200807221517.m6MFHavD071017@repoman.freebsd.org> rwatson 2008-07-22 15:17:21 UTC FreeBSD src repository Modified files: sys/security/audit audit_arg.c Log: SVN rev 180699 on 2008-07-22 15:17:21Z by rwatson Use unsigned int when iterating over groupsets in audit_arg_groupset(). Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.22 +1 -1 src/sys/security/audit/audit_arg.c From ache at FreeBSD.org Tue Jul 22 15:25:37 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 15:25:44 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807221525.m6MFPb4Q076920@repoman.freebsd.org> ache 2008-07-22 15:25:35 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180700 on 2008-07-22 15:25:35Z by ache Change /dev/urandom to /dev/random since urandom marked as XXX Deprecated alias in /sys/dev/random/randomdev.c Revision Changes Path 1.21 +1 -1 src/lib/libc/gen/arc4random.c From rwatson at FreeBSD.org Tue Jul 22 15:29:54 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 15:30:12 2008 Subject: cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_private.h audit_syscalls.c audit_worker.c Message-ID: <200807221529.m6MFTrPT077426@repoman.freebsd.org> rwatson 2008-07-22 15:29:48 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_private.h audit_syscalls.c audit_worker.c Log: SVN rev 180701 on 2008-07-22 15:29:48Z by rwatson In preparation to sync Apple and FreeBSD versions of security audit, pick up the Apple Computer -> Apple change in their copyright and license templates. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.43 +2 -2 src/sys/security/audit/audit.c 1.19 +2 -2 src/sys/security/audit/audit.h 1.23 +2 -2 src/sys/security/audit/audit_arg.c 1.27 +2 -2 src/sys/security/audit/audit_bsm.c 1.13 +2 -2 src/sys/security/audit/audit_bsm_klib.c 1.16 +2 -2 src/sys/security/audit/audit_bsm_token.c 1.20 +2 -2 src/sys/security/audit/audit_private.h 1.27 +2 -2 src/sys/security/audit/audit_syscalls.c 1.27 +2 -2 src/sys/security/audit/audit_worker.c From gnn at FreeBSD.org Tue Jul 22 15:34:24 2008 From: gnn at FreeBSD.org (George V. Neville-Neil) Date: Tue Jul 22 15:34:31 2008 Subject: cvs commit: CVSROOT access Message-ID: <200807221534.m6MFYOTV077912@repoman.freebsd.org> gnn 2008-07-22 15:34:19 UTC FreeBSD src repository Modified files: . access Log: SVN rev 180702 on 2008-07-22 15:34:19Z by gnn Add new committer Yvan Van Hullebus to the access file Approved by: core Revision Changes Path 1.888 +1 -0 CVSROOT/access From rwatson at FreeBSD.org Tue Jul 22 15:49:26 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 15:49:37 2008 Subject: cvs commit: src/sys/security/audit audit_arg.c Message-ID: <200807221549.m6MFnPVT079125@repoman.freebsd.org> rwatson 2008-07-22 15:49:19 UTC FreeBSD src repository Modified files: sys/security/audit audit_arg.c Log: SVN rev 180703 on 2008-07-22 15:49:19Z by rwatson Minor white space synchronization to Apple version of security audit. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.24 +4 -4 src/sys/security/audit/audit_arg.c From rwatson at FreeBSD.org Tue Jul 22 15:54:27 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 15:54:38 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200807221554.m6MFsQls079620@repoman.freebsd.org> rwatson 2008-07-22 15:54:10 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm.c Log: SVN rev 180704 on 2008-07-22 15:54:10Z by rwatson Comment typo fix. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.28 +1 -1 src/sys/security/audit/audit_bsm.c From vanhu at FreeBSD.org Tue Jul 22 16:02:13 2008 From: vanhu at FreeBSD.org (VANHULLEBUS Yvan) Date: Tue Jul 22 16:02:24 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200807221602.m6MG2CbU080391@repoman.freebsd.org> vanhu 2008-07-22 16:01:57 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: SVN rev 180705 on 2008-07-22 16:01:57Z by vanhu Added me as a commiter Approved by: gnn (mentor) Revision Changes Path 1.81 +2 -0 src/share/misc/committers-src.dot From rwatson at FreeBSD.org Tue Jul 22 16:02:28 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 16:02:41 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200807221602.m6MG2Sq4080447@repoman.freebsd.org> rwatson 2008-07-22 16:02:21 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm.c Log: SVN rev 180706 on 2008-07-22 16:02:21Z by rwatson Comment fix. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.29 +1 -1 src/sys/security/audit/audit_bsm.c From ache at FreeBSD.org Tue Jul 22 16:17:00 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 16:17:06 2008 Subject: cvs commit: src/sys/libkern arc4random.c Message-ID: <200807221616.m6MGGxxn082955@repoman.freebsd.org> ache 2008-07-22 16:16:51 UTC FreeBSD src repository Modified files: sys/libkern arc4random.c Log: SVN rev 180707 on 2008-07-22 16:16:51Z by ache 1) Initialize arc4_i and arc4_j to 0 after key mixing as recommended in draft-kaukonen-cipher-arcfour-03.txt (3.1.5) 2) Drop first 768 bytes as standard RC4-drop(768) Revision Changes Path 1.13 +7 -4 src/sys/libkern/arc4random.c From rwatson at FreeBSD.org Tue Jul 22 16:22:16 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 16:22:22 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c audit_bsm_klib.c Message-ID: <200807221622.m6MGMF27083441@repoman.freebsd.org> rwatson 2008-07-22 16:21:59 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm.c audit_bsm_klib.c Log: SVN rev 180708 on 2008-07-22 16:21:59Z by rwatson Use #define rather than #define. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.30 +8 -8 src/sys/security/audit/audit_bsm.c 1.14 +1 -1 src/sys/security/audit/audit_bsm_klib.c From rwatson at FreeBSD.org Tue Jul 22 16:45:02 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 16:45:29 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c audit_bsm_token.c audit_private.h audit_trigger.c audit_worker.c Message-ID: <200807221645.m6MGj1I0085352@repoman.freebsd.org> rwatson 2008-07-22 16:44:48 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm.c audit_bsm_token.c audit_private.h audit_trigger.c audit_worker.c Log: SVN rev 180709 on 2008-07-22 16:44:48Z by rwatson Generally avoid as a white space anomoly. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.31 +7 -7 src/sys/security/audit/audit_bsm.c 1.17 +4 -4 src/sys/security/audit/audit_bsm_token.c 1.21 +1 -1 src/sys/security/audit/audit_private.h 1.9 +5 -5 src/sys/security/audit/audit_trigger.c 1.28 +1 -1 src/sys/security/audit/audit_worker.c From rwatson at FreeBSD.org Tue Jul 22 17:07:02 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 17:07:09 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200807221707.m6MH72Yp098853@repoman.freebsd.org> rwatson 2008-07-22 17:06:49 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm.c Log: SVN rev 180711 on 2008-07-22 17:06:49Z by rwatson Further minor white space tweaks. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.32 +2 -2 src/sys/security/audit/audit_bsm.c From rwatson at FreeBSD.org Tue Jul 22 17:08:34 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 17:08:40 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200807221708.m6MH8XaM002926@repoman.freebsd.org> rwatson 2008-07-22 17:08:27 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm.c Log: SVN rev 180712 on 2008-07-22 17:08:27Z by rwatson Remove unneeded \ at the end of a macro. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.33 +1 -1 src/sys/security/audit/audit_bsm.c From ache at FreeBSD.org Tue Jul 22 17:10:47 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Tue Jul 22 17:10:58 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807221710.m6MHAkVB003188@repoman.freebsd.org> ache 2008-07-22 17:10:18 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180713 on 2008-07-22 17:10:18Z by ache Fixes based on bde's feedback. 1) Unindent and sort variables. 2) Indent struct members. 3) Remove _packed, use guaranteed >128 bytes size and only first 128 bytes from the structure. 4) Reword comment. Obtained from: bde Revision Changes Path 1.22 +9 -9 src/lib/libc/gen/arc4random.c From rwatson at FreeBSD.org Tue Jul 22 17:49:35 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 17:49:47 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200807221749.m6MHnZqA007827@repoman.freebsd.org> rwatson 2008-07-22 17:49:30 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm.c Log: SVN rev 180715 on 2008-07-22 17:49:30Z by rwatson Further minor style fixes to audit. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.34 +10 -5 src/sys/security/audit/audit_bsm.c From rwatson at FreeBSD.org Tue Jul 22 17:54:36 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 22 17:54:48 2008 Subject: cvs commit: src/sys/security/audit audit_bsm.c Message-ID: <200807221754.m6MHsaL7008319@repoman.freebsd.org> rwatson 2008-07-22 17:54:32 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm.c Log: SVN rev 180716 on 2008-07-22 17:54:32Z by rwatson If an AUE_SYSCTL_NONADMIN audit event is selected, generate a record with equivilent content to AUE_SYSCTL. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.35 +1 -0 src/sys/security/audit/audit_bsm.c From peter at FreeBSD.org Tue Jul 22 18:06:07 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Tue Jul 22 18:06:19 2008 Subject: cvs commit: src/sys/geom/part g_part_apm.c Message-ID: <200807221806.m6MI67bP010625@repoman.freebsd.org> peter 2008-07-22 18:05:50 UTC FreeBSD src repository Modified files: sys/geom/part g_part_apm.c Log: SVN rev 180717 on 2008-07-22 18:05:50Z by peter Trivial commit to attempt to diagnose a svn problem. Add comment that Tivo disks are APM, but do not have a DDR record. Revision Changes Path 1.8 +1 -0 src/sys/geom/part/g_part_apm.c From alc at cs.rice.edu Tue Jul 22 18:34:20 2008 From: alc at cs.rice.edu (Alan Cox) Date: Tue Jul 22 18:34:34 2008 Subject: cvs commit: src/sys/kern vfs_bio.c In-Reply-To: <3bbf2fe10807200907t402892f6pbe26a9abd4a7d695@mail.gmail.com> References: <200807200414.m6K4E74U014234@repoman.freebsd.org> <3bbf2fe10807200907t402892f6pbe26a9abd4a7d695@mail.gmail.com> Message-ID: <4886282A.6020304@cs.rice.edu> Attilio Rao wrote: >2008/7/20, Alan Cox : > > >>alc 2008-07-20 04:13:51 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/kern vfs_bio.c >> Log: >> SVN rev 180625 on 2008-07-20 04:13:51Z by alc >> >> Eliminate dead code. (The commit message for revision 1.287 explains why >> this code is dead.) >> >> Revision Changes Path >> 1.543 +0 -13 src/sys/kern/vfs_bio.c >> >> > >Not related directly to this change but last time I tried >VFS_BIO_DEBUG kernel was freezing without any explanation neither >useful messages. > >Do you know if the option still works? >In the opposite case it would worth to axe it or such. > > Sorry, I don't know. Alan From lulf at FreeBSD.org Tue Jul 22 19:50:40 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Tue Jul 22 19:50:49 2008 Subject: cvs commit: src/sys/geom/vinum geom_vinum_rename.c Message-ID: <200807221950.m6MJoeLP021678@repoman.freebsd.org> lulf 2008-07-22 19:50:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/geom/vinum geom_vinum_rename.c Log: SVN rev 180721 on 2008-07-22 19:50:34Z by lulf MFC r180612: - When renaming a drive, also set the drive name in the gvinum header. PR: kern/125632 Approved by: pjd (mentor) Revision Changes Path 1.3.4.1 +1 -0 src/sys/geom/vinum/geom_vinum_rename.c From delphij at FreeBSD.org Tue Jul 22 19:52:42 2008 From: delphij at FreeBSD.org (Xin LI) Date: Tue Jul 22 19:52:58 2008 Subject: cvs commit: src/sys/dev/sound/pci atiixp.h src/sys/dev/sound/pci/hda hdac.c Message-ID: <200807221952.m6MJqfLX021938@repoman.freebsd.org> delphij 2008-07-22 19:52:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/sound/pci atiixp.h sys/dev/sound/pci/hda hdac.c Log: SVN rev 180722 on 2008-07-22 19:52:23Z by delphij MFC sound(4) subsystem changes r178155,178250,178324,179205,180110,180532, this includes support for Sigmatel STAC9205, correct SB600 AC97 as well as newer Dell hardware. Revision Changes Path 1.3.2.2 +1 -1 src/sys/dev/sound/pci/atiixp.h 1.44.2.6 +70 -14 src/sys/dev/sound/pci/hda/hdac.c From lulf at FreeBSD.org Tue Jul 22 19:55:58 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Tue Jul 22 19:56:05 2008 Subject: cvs commit: src/sys/geom/vinum geom_vinum_rename.c Message-ID: <200807221955.m6MJtvpU022238@repoman.freebsd.org> lulf 2008-07-22 19:55:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/geom/vinum geom_vinum_rename.c Log: SVN rev 180723 on 2008-07-22 19:55:44Z by lulf MFC r180612: - When renaming a drive, also set the drive name in the gvinum header. PR: kern/125632 Approved by: pjd (mentor) Revision Changes Path 1.3.2.2 +1 -0 src/sys/geom/vinum/geom_vinum_rename.c From ed at FreeBSD.org Tue Jul 22 21:28:47 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Tue Jul 22 21:28:59 2008 Subject: cvs commit: src/sys/nfs4client nfs4_socket.c nfs4_vfsops.c src/sys/nfsclient nfs_socket.c nfs_vfsops.c src/sys/rpc rpcclnt.c Message-ID: <200807222128.m6MLSloL042017@repoman.freebsd.org> ed 2008-07-22 21:27:22 UTC FreeBSD src repository Modified files: sys/nfs4client nfs4_socket.c nfs4_vfsops.c sys/nfsclient nfs_socket.c nfs_vfsops.c sys/rpc rpcclnt.c Log: SVN rev 180724 on 2008-07-22 21:27:22Z by ed Move the NFS/RPC code away from lbolt. The kernel has a special wchan called `lbolt', which is triggered each second. It doesn't seem to be used a lot and it seems pretty redundant, because we can specify a timeout value to the *sleep() routines. In an attempt to eventually remove lbolt, make the NFS/RPC code use a timeout of `hz' when trying to reconnect. Only the TTY code (not MPSAFE TTY) and the VFS syncer seem to use lbolt now. Reviewed by: attilio, jhb Approved by: philip (mentor), alfred, dfr Revision Changes Path 1.5 +1 -1 src/sys/nfs4client/nfs4_socket.c 1.35 +3 -1 src/sys/nfs4client/nfs4_vfsops.c 1.160 +6 -5 src/sys/nfsclient/nfs_socket.c 1.208 +3 -1 src/sys/nfsclient/nfs_vfsops.c 1.22 +3 -2 src/sys/rpc/rpcclnt.c From delphij at FreeBSD.org Tue Jul 22 23:22:20 2008 From: delphij at FreeBSD.org (Xin LI) Date: Tue Jul 22 23:22:27 2008 Subject: cvs commit: src/usr.bin/gzip gzip.1 unbzip2.c znew Message-ID: <200807222322.m6MNMKpg063101@repoman.freebsd.org> delphij 2008-07-22 23:22:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/gzip gzip.1 unbzip2.c znew Log: SVN rev 180725 on 2008-07-22 23:22:03Z by delphij Sync with -HEAD: * Fix typos in znew(1) script (yar, r176133 + r180136); * Make it clear that gzcat expects each argument to be separate files. (r180126). * License change in unbzip2.c (r180135) Revision Changes Path 1.4.2.1 +13 -1 src/usr.bin/gzip/gzip.1 1.1.4.1 +1 -8 src/usr.bin/gzip/unbzip2.c 1.1.4.1 +4 -5 src/usr.bin/gzip/znew From delphij at FreeBSD.org Tue Jul 22 23:27:06 2008 From: delphij at FreeBSD.org (Xin LI) Date: Tue Jul 22 23:27:19 2008 Subject: cvs commit: src/usr.bin/gzip gzip.1 unbzip2.c znew Message-ID: <200807222327.m6MNR6KD063481@repoman.freebsd.org> delphij 2008-07-22 23:27:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/gzip gzip.1 unbzip2.c znew Log: SVN rev 180726 on 2008-07-22 23:27:02Z by delphij Sync with -HEAD: * Fix typos in znew(1) script (yar, r176133 + r180136); * Make it clear that gzcat expects each argument to be separate files. (r180126). * License change in unbzip2.c (r180135) Revision Changes Path 1.1.2.4 +13 -1 src/usr.bin/gzip/gzip.1 1.1.2.2 +1 -8 src/usr.bin/gzip/unbzip2.c 1.1.2.2 +4 -5 src/usr.bin/gzip/znew From delphij at FreeBSD.org Wed Jul 23 00:03:54 2008 From: delphij at FreeBSD.org (Xin LI) Date: Wed Jul 23 00:04:06 2008 Subject: cvs commit: src/usr.bin/gzip gzip.1 gzip.c Message-ID: <200807230003.m6N03rjM067463@repoman.freebsd.org> delphij 2008-07-23 00:03:36 UTC FreeBSD src repository Modified files: usr.bin/gzip gzip.1 gzip.c Log: SVN rev 180727 on 2008-07-23 00:03:36Z by delphij Sync with NetBSD's license changes. Revision Changes Path 1.6 +1 -3 src/usr.bin/gzip/gzip.1 1.7 +3 -7 src/usr.bin/gzip/gzip.c From wxs at FreeBSD.org Wed Jul 23 01:20:13 2008 From: wxs at FreeBSD.org (Wesley Shields) Date: Wed Jul 23 01:20:19 2008 Subject: cvs commit: src/share/misc committers-ports.dot Message-ID: <200807230120.m6N1KDmv090845@repoman.freebsd.org> wxs 2008-07-23 01:19:56 UTC FreeBSD src repository Modified files: share/misc committers-ports.dot Log: SVN rev 180728 on 2008-07-23 01:19:56Z by wxs Retroactively add my entry and link to garga. Forgot to do this when I got my commit bit. Revision Changes Path 1.71 +2 -0 src/share/misc/committers-ports.dot From pgollucci at FreeBSD.org Wed Jul 23 01:57:57 2008 From: pgollucci at FreeBSD.org (Philip M. Gollucci) Date: Wed Jul 23 01:58:03 2008 Subject: cvs commit: src/share/misc committers-ports.dot src/usr.bin/calendar/calendars calendar.freebsd Message-ID: <200807230157.m6N1vugJ093903@repoman.freebsd.org> pgollucci 2008-07-23 01:37:04 UTC FreeBSD src repository Modified files: share/misc committers-ports.dot usr.bin/calendar/calendars calendar.freebsd Log: SVN rev 180729 on 2008-07-23 01:37:04Z by pgollucci Adding myself as a new ports committer Reviewed by: gabor (mentor) Approved by: araujo (mentor) Revision Changes Path 1.72 +2 -0 src/share/misc/committers-ports.dot 1.243 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From weongyo at FreeBSD.org Wed Jul 23 05:50:23 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Wed Jul 23 05:50:34 2008 Subject: cvs commit: src/usr.sbin/ndiscvt ndisgen.8 Message-ID: <200807230550.m6N5oMR8027710@repoman.freebsd.org> weongyo 2008-07-23 05:50:17 UTC FreeBSD src repository Modified files: usr.sbin/ndiscvt ndisgen.8 Log: SVN rev 180730 on 2008-07-23 05:50:17Z by weongyo remove reference for unexisting ndisapi(9) Revision Changes Path 1.4 +1 -2 src/usr.sbin/ndiscvt/ndisgen.8 From imp at FreeBSD.org Wed Jul 23 06:14:39 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Jul 23 06:14:50 2008 Subject: cvs commit: src/share/mk bsd.sys.mk Message-ID: <200807230614.m6N6Ecup030749@repoman.freebsd.org> imp 2008-07-23 06:14:21 UTC FreeBSD src repository Modified files: share/mk bsd.sys.mk Log: SVN rev 180731 on 2008-07-23 06:14:21Z by imp Turn of SSP for mips for now until support is added to the base architecture. Revision Changes Path 1.47 +1 -1 src/share/mk/bsd.sys.mk From imp at FreeBSD.org Wed Jul 23 06:16:39 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Jul 23 06:16:51 2008 Subject: cvs commit: src/sys/conf kern.mk Message-ID: <200807230616.m6N6Gdhg030960@repoman.freebsd.org> imp 2008-07-23 06:16:34 UTC FreeBSD src repository Modified files: sys/conf kern.mk Log: SVN rev 180732 on 2008-07-23 06:16:34Z by imp Disable SSP for mips until support is added to the base architecture. Revision Changes Path 1.57 +1 -1 src/sys/conf/kern.mk From imp at FreeBSD.org Wed Jul 23 07:23:42 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Jul 23 07:23:50 2008 Subject: cvs commit: src/sys/boot Makefile Message-ID: <200807230723.m6N7Ng5d037431@repoman.freebsd.org> imp 2008-07-23 07:23:33 UTC FreeBSD src repository Modified files: sys/boot Makefile Log: SVN rev 180733 on 2008-07-23 07:23:33Z by imp Only descend into the boot directory for the architecture if it actually exists and is a directory or symlink to a directory. Revision Changes Path 1.34 +5 -2 src/sys/boot/Makefile From imp at FreeBSD.org Wed Jul 23 07:25:14 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Jul 23 07:25:26 2008 Subject: cvs commit: src/lib/libkvm kvm_mips.c Message-ID: <200807230725.m6N7PDpq037621@repoman.freebsd.org> imp 2008-07-23 07:24:55 UTC FreeBSD src repository Added files: lib/libkvm kvm_mips.c Log: SVN rev 180734 on 2008-07-23 07:24:55Z by imp First cut at doing the kvm file needed for mips. Obtained from: gonzo@ Revision Changes Path 1.4 +90 -0 src/lib/libkvm/kvm_mips.c (new) From rwatson at FreeBSD.org Wed Jul 23 07:42:45 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 23 07:42:51 2008 Subject: cvs commit: src/sys/security/audit audit_bsm_klib.c Message-ID: <200807230742.m6N7gjgI039050@repoman.freebsd.org> rwatson 2008-07-23 07:42:31 UTC FreeBSD src repository Modified files: sys/security/audit audit_bsm_klib.c Log: SVN rev 180735 on 2008-07-23 07:42:31Z by rwatson Minor white space tweak. Obtained from: Apple Inc. MFC after: 3 days Revision Changes Path 1.15 +1 -1 src/sys/security/audit/audit_bsm_klib.c From yongari at FreeBSD.org Wed Jul 23 08:14:47 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 23 08:14:53 2008 Subject: cvs commit: src/sys/dev/vr if_vr.c if_vrreg.h Message-ID: <200807230814.m6N8El2x043045@repoman.freebsd.org> yongari 2008-07-23 08:14:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/vr if_vr.c if_vrreg.h Log: SVN rev 180736 on 2008-07-23 08:14:33Z by yongari MFC r180551. Fix VR_RXSTAT_RX_OK bit definition which lasted for more than 9 years. All datasheet I have indicates the bit 15 is the VR_RXSTAT_RX_OK. The bit 14 is reserved for all Rhine family except VT6105M. VT6105M uses that bit to indicate a VLAN frame with matching CAM VLAN id. Use the VR_RXSTAT_RX_OK instead of VR_RXSTAT_RXERR when vr(4) checks the validity of received frame. This should fix occasional dropping frames on VT6105M. Revision Changes Path 1.130.2.2 +2 -2 src/sys/dev/vr/if_vr.c 1.36.2.2 +2 -1 src/sys/dev/vr/if_vrreg.h From yongari at FreeBSD.org Wed Jul 23 08:18:48 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 23 08:18:55 2008 Subject: cvs commit: src/sys/dev/vr if_vr.c if_vrreg.h Message-ID: <200807230818.m6N8IlFH043404@repoman.freebsd.org> yongari 2008-07-23 08:18:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/vr if_vr.c if_vrreg.h Log: SVN rev 180737 on 2008-07-23 08:18:42Z by yongari MFC r180552. Fix a multicast handling regression on VT6105M introduced in vr(4) overhauling(r177050). It seems that filtering multicast addresses with multicast CAM entries require accessing 'CAM enable bit' for each CAM entry. Subsequent accessing multicast CAM control register without toggling the 'CAM enable bit' seem to no effects. In order to fix that separate CAM setup from CAM mask configuration and CAM entry modification. While I'm here add VLAN CAM filtering feature which will be enabled in future(FreeBSD now can receive VLAN id insertion/removal event from vlan(4) on the fly). For VT6105M hardware, explicitly disable VLAN hardware tag insertion/stripping and enable VLAN CAM filtering for VLAN id 0. This shall make non-VLAN frames set VR_RXSTAT_VIDHIT bit in Rx status word. Added multicast/VLAN CAM address definition to header file. PR: kern/125010, kern/125024 Revision Changes Path 1.130.2.3 +48 -25 src/sys/dev/vr/if_vr.c 1.36.2.3 +12 -0 src/sys/dev/vr/if_vrreg.h From kib at FreeBSD.org Wed Jul 23 08:45:35 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Wed Jul 23 08:45:46 2008 Subject: cvs commit: src/sys/kern kern_fork.c Message-ID: <200807230845.m6N8jYg0046017@repoman.freebsd.org> kib 2008-07-23 08:45:25 UTC FreeBSD src repository Modified files: sys/kern kern_fork.c Log: SVN rev 180738 on 2008-07-23 08:45:25Z by kib Do the pargs_hold() on the copy of the pointer to the p_args of the child process immediately after bulk bcopy() without dropping the process lock. Since process is not single-threaded when forking, dropping and reacquiring the lock allows an other thread to change the process title of the parent in between, and results in hold being done on the invalid pointer. The problem manifested itself as the double free of the old p_args. Reported by: kris Reviewed by: jhb MFC after: 1 week Revision Changes Path 1.295 +1 -1 src/sys/kern/kern_fork.c From dfr at FreeBSD.org Wed Jul 23 09:18:26 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Wed Jul 23 09:18:33 2008 Subject: cvs commit: src/sys/rpc auth_unix.c Message-ID: <200807230918.m6N9IQjO059109@repoman.freebsd.org> dfr 2008-07-23 09:18:08 UTC FreeBSD src repository Modified files: sys/rpc auth_unix.c Log: SVN rev 180743 on 2008-07-23 09:18:08Z by dfr Re-work the code slightly to avoid a possible livelock. MFC after: 2 weeks Revision Changes Path 1.5 +27 -23 src/sys/rpc/auth_unix.c From luoqi at FreeBSD.org Wed Jul 23 09:44:44 2008 From: luoqi at FreeBSD.org (Luoqi Chen) Date: Wed Jul 23 09:44:50 2008 Subject: cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h Message-ID: <200807230944.m6N9iiXP061558@repoman.freebsd.org> luoqi 2008-07-23 09:44:36 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_pci.c pcivar.h Log: SVN rev 180753 on 2008-07-23 09:44:36Z by luoqi SATA device on some nForce based boards could get confused if MSI is not used but MSI to HyperTransport IRQ mapping is enabled, and would act as if MSI is turned on, resulting in interrupt loss. This commit will, 1. enable MSI mapping on a device only when MSI is enabled for that device and the MSI address matches the HT mapping window. 2. enable MSI mapping on a bridge only when a downstream device is allocated an MSI address in the mapping window PR: kern/118842 Reviewed by: jhb MFC after: 1 week Revision Changes Path 1.358 +42 -4 src/sys/dev/pci/pci.c 1.51 +7 -1 src/sys/dev/pci/pci_pci.c 1.83 +10 -0 src/sys/dev/pci/pcivar.h From weongyo at FreeBSD.org Wed Jul 23 10:49:46 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Wed Jul 23 10:49:52 2008 Subject: cvs commit: src/sys/compat/ndis kern_ndis.c Message-ID: <200807231049.m6NAnj8G068363@repoman.freebsd.org> weongyo 2008-07-23 10:49:27 UTC FreeBSD src repository Modified files: sys/compat/ndis kern_ndis.c Log: SVN rev 180754 on 2008-07-23 10:49:27Z by weongyo when NDIS framework try to query/set informations NDIS drivers can return NDIS_STATUS_PENDING. In this case, it's waiting for 5 secs to get the response from drivers now. However, some NDIS drivers can send the response before NDIS framework gets ready to receive it so we might always be blocked for 5 secs in current implementation. NDIS framework should reset the event before calling NDIS driver's callback not after. MFC after: 1 month Revision Changes Path 1.98 +7 -5 src/sys/compat/ndis/kern_ndis.c From pjd at FreeBSD.org Wed Jul 23 11:18:02 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Wed Jul 23 11:18:15 2008 Subject: cvs commit: src/sys/sys refcount.h Message-ID: <200807231118.m6NBI1aT072035@repoman.freebsd.org> pjd 2008-07-23 11:17:46 UTC FreeBSD src repository Modified files: sys/sys refcount.h Log: SVN rev 180755 on 2008-07-23 11:17:46Z by pjd Check for negative reference count. Reviewed by: des Revision Changes Path 1.2 +10 -1 src/sys/sys/refcount.h From luoqi at FreeBSD.org Wed Jul 23 11:37:32 2008 From: luoqi at FreeBSD.org (Luoqi Chen) Date: Wed Jul 23 11:37:44 2008 Subject: cvs commit: src/sys/i386/include profile.h Message-ID: <200807231137.m6NBbWuq073650@repoman.freebsd.org> luoqi 2008-07-23 11:37:20 UTC FreeBSD src repository Modified files: sys/i386/include profile.h Log: SVN rev 180756 on 2008-07-23 11:37:20Z by luoqi Unbreak cc -pg support on i386. In gcc 4.2, %ecx is used as the arg pointer when stack realignment is turned on (it is ALWAYS on for main), however in a profiling build %ecx would be clobbered by mcount(), this would lead to a segmentation fault when the code tries to reference any argument. This fix changes mcount() to preserve %ecx. PR: bin/119709 Reviewed by: bde MFC after: 1 week Revision Changes Path 1.43 +10 -1 src/sys/i386/include/profile.h From ed at 80386.nl Wed Jul 23 11:52:02 2008 From: ed at 80386.nl (Ed Schouten) Date: Wed Jul 23 11:52:13 2008 Subject: cvs commit: src/sys/sys refcount.h In-Reply-To: <200807231118.m6NBI1aT072035@repoman.freebsd.org> References: <200807231118.m6NBI1aT072035@repoman.freebsd.org> Message-ID: <20080723114749.GV21188@hoeg.nl> * Pawel Jakub Dawidek wrote: > Check for negative reference count. Thank you! -- Ed Schouten WWW: http://80386.nl/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080723/24971c54/attachment.pgp From maxim at FreeBSD.org Wed Jul 23 14:25:50 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Wed Jul 23 14:25:56 2008 Subject: cvs commit: src/share/misc bsd-family-tree Message-ID: <200807231425.m6NEPop8000218@repoman.freebsd.org> maxim 2008-07-23 14:25:39 UTC FreeBSD src repository Modified files: share/misc bsd-family-tree Log: SVN rev 180757 on 2008-07-23 14:25:39Z by maxim o DragonFly BSD 2.0 added. Revision Changes Path 1.121 +2 -1 src/share/misc/bsd-family-tree From kib at FreeBSD.org Wed Jul 23 14:32:52 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Wed Jul 23 14:33:03 2008 Subject: cvs commit: src/sys/ufs/ffs ffs_balloc.c Message-ID: <200807231432.m6NEWoTo000748@repoman.freebsd.org> kib 2008-07-23 14:32:44 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_balloc.c Log: SVN rev 180758 on 2008-07-23 14:32:44Z by kib The ffs_balloc_ufs{1,2} functions call bdwrite() while having several vnode buffers locked at once. In particular, there are indirect buffers among locked ones. The bdwrite() may start the flushing to keep dirty buffer list at the bounds. If any buffer on the dirty list requires translation from logical to physical block number, code may ends up trying to lock an indirect buffer already locked in ffs_balloc_ufsX. Prevent the bdflush() activity when several buffers are locked at once by setting the TDP_INBDFUSH for the problematic code blocks. Reported and tested by: pho, Josef Buchsteiner at Juniper In collaboration with: kan MFC after: 1 month Revision Changes Path 1.54 +22 -2 src/sys/ufs/ffs/ffs_balloc.c From pjd at FreeBSD.org Wed Jul 23 15:12:52 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Wed Jul 23 15:12:58 2008 Subject: cvs commit: src/sys/sys refcount.h Message-ID: <200807231512.m6NFCpwE005387@repoman.freebsd.org> pjd 2008-07-23 15:12:45 UTC FreeBSD src repository Modified files: sys/sys refcount.h Log: SVN rev 180759 on 2008-07-23 15:12:45Z by pjd Back out this change, as it breaks the build and I don't have time for a better fix today. Revision Changes Path 1.3 +1 -13 src/sys/sys/refcount.h From jhb at FreeBSD.org Wed Jul 23 15:13:23 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 23 15:13:39 2008 Subject: cvs commit: src/sys/dev/acpica acpi.c Message-ID: <200807231513.m6NFDNvA005458@repoman.freebsd.org> jhb 2008-07-23 15:13:06 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi.c Log: SVN rev 180760 on 2008-07-23 15:13:06Z by jhb Further refine the probe order of devices to more closely match the previous behavior. Specifically, probe Host-PCI bridges in the order they are encountered in the tree. For CPUs, just use an order of 100000 and assume that no Host-PCI bridges will be more than 10000 levels deep in the namespace. This fixes an issue on some boxes where the HPET timer stopped attaching. Revision Changes Path 1.249 +4 -9 src/sys/dev/acpica/acpi.c From des at FreeBSD.org Wed Jul 23 16:35:10 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Jul 23 16:35:16 2008 Subject: cvs commit: src/contrib/ipfilter/ipsend sock.c Message-ID: <200807231635.m6NGZ9Hp020158@repoman.freebsd.org> des 2008-07-23 16:34:53 UTC FreeBSD src repository Modified files: contrib/ipfilter/ipsend sock.c Log: SVN rev 180761 on 2008-07-23 16:34:53Z by des For unfathomable reasons, ipfilter abuses kernel data structures for its own purposes. To pull this off, it defines _KERNEL before including the headers where these structures are defined. This leads to no end of trouble when some of these headers, or other headers that they include, change, as demonstrated by r180755. The quick fix in this particular case is to define _WANT_FILE instead of _KERNEL, conditional on __FreeBSD__. A better long-term fix is left as an exercise to the reader. Revision Changes Path 1.20 +12 -4 src/contrib/ipfilter/ipsend/sock.c From des at FreeBSD.org Wed Jul 23 16:40:48 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Jul 23 16:40:54 2008 Subject: cvs commit: src/sys/sys refcount.h Message-ID: <200807231640.m6NGejaZ021282@repoman.freebsd.org> des 2008-07-23 16:40:07 UTC FreeBSD src repository Modified files: sys/sys refcount.h Log: SVN rev 180762 on 2008-07-23 16:40:07Z by des pjd@'s r180759 was intended to revert r180755 due to ipfilter breakage, but removed too much, breaking the build in other places instead. Now that the ipfilter issue has been fixed (or hacked around), address the second issue by restoring r180755, with one small change. I don't feel comfortable using assert(3) in a header that will be included in userland code that may or may not already have an assertion mechanism in place, so KASSERT() evaluates to a no-op in the !_KERNEL case. Revision Changes Path 1.4 +14 -1 src/sys/sys/refcount.h From des at FreeBSD.org Wed Jul 23 16:44:25 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Jul 23 16:44:31 2008 Subject: cvs commit: src/sys/sys refcount.h Message-ID: <200807231644.m6NGiOCk022161@repoman.freebsd.org> des 2008-07-23 16:44:20 UTC FreeBSD src repository Modified files: sys/sys refcount.h Log: SVN rev 180763 on 2008-07-23 16:44:20Z by des Remove debugging cruft. Revision Changes Path 1.5 +0 -1 src/sys/sys/refcount.h From des at FreeBSD.org Wed Jul 23 17:02:51 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Jul 23 17:03:09 2008 Subject: cvs commit: src/crypto/openssh Makefile.in Makefile.inc buildpkg.sh.in config.sub configure.ac install-sh mdoc2man.awk nchan.ms nchan2.ms openssh.xml.in opensshd.init.in ssh_prng_cmds.in survey.sh.in src/crypto/openssh/openbsd-compat ... Message-ID: <200807231702.m6NH2oq3035572@repoman.freebsd.org> des 2008-07-23 17:02:25 UTC FreeBSD src repository Removed files: crypto/openssh Makefile.in Makefile.inc buildpkg.sh.in config.sub configure.ac install-sh mdoc2man.awk nchan.ms nchan2.ms openssh.xml.in opensshd.init.in ssh_prng_cmds.in survey.sh.in crypto/openssh/openbsd-compat Makefile.in crypto/openssh/openbsd-compat/regress Makefile.in closefromtest.c snprintftest.c strduptest.c strtonumtest.c crypto/openssh/regress Makefile README.regress agent-getpeereid.sh agent-ptrace.sh agent-timeout.sh agent.sh banner.sh broken-pipe.sh brokenkeys.sh bsd.regress.mk cfgmatch.sh cipher-speed.sh connect-privsep.sh connect.sh copy.1 copy.2 dsa_ssh2.prv dsa_ssh2.pub dynamic-forward.sh envpass.sh exit-status.sh forcecommand.sh forwarding.sh keygen-change.sh keyscan.sh login-timeout.sh multiplex.sh proto-mismatch.sh proto-version.sh proxy-connect.sh reconfigure.sh reexec.sh rekey.sh rsa_openssh.prv rsa_openssh.pub rsa_ssh2.prv runtests.sh scp-ssh-wrapper.sh scp.sh sftp-badcmds.sh sftp-batch.sh sftp-cmds.sh sftp-glob.sh sftp.sh ssh-com-client.sh ssh-com-keygen.sh ssh-com-sftp.sh ssh-com.sh sshd-log-wrapper.sh stderr-after-eof.sh stderr-data.sh t4.ok t5.ok test-exec.sh transfer.sh try-ciphers.sh yes-head.sh crypto/openssh/scard Makefile.in Ssh.bin Ssh.bin.uu Ssh.java Log: SVN rev 180765 on 2008-07-23 17:02:25Z by des Remove a bunch of files we don't need to build OpenSSH. They are still available in base/vendor-crypto/openssh/dist/. Revision Changes Path 1.2 +0 -339 src/crypto/openssh/Makefile.in (dead) 1.2 +0 -11 src/crypto/openssh/Makefile.inc (dead) 1.2 +0 -562 src/crypto/openssh/buildpkg.sh.in (dead) 1.2 +0 -1362 src/crypto/openssh/config.sub (dead) 1.18 +0 -4068 src/crypto/openssh/configure.ac (dead) 1.2 +0 -251 src/crypto/openssh/install-sh (dead) 1.2 +0 -340 src/crypto/openssh/mdoc2man.awk (dead) 1.2 +0 -102 src/crypto/openssh/nchan.ms (dead) 1.2 +0 -64 src/crypto/openssh/nchan2.ms (dead) 1.2 +0 -42 src/crypto/openssh/openbsd-compat/Makefile.in (dead) 1.2 +0 -38 src/crypto/openssh/openbsd-compat/regress/Makefile.in (dead) 1.2 +0 -60 src/crypto/openssh/openbsd-compat/regress/closefromtest.c (dead) 1.2 +0 -73 src/crypto/openssh/openbsd-compat/regress/snprintftest.c (dead) 1.2 +0 -45 src/crypto/openssh/openbsd-compat/regress/strduptest.c (dead) 1.2 +0 -66 src/crypto/openssh/openbsd-compat/regress/strtonumtest.c (dead) 1.2 +0 -87 src/crypto/openssh/openssh.xml.in (dead) 1.2 +0 -82 src/crypto/openssh/opensshd.init.in (dead) 1.2 +0 -73 src/crypto/openssh/regress/Makefile (dead) 1.2 +0 -86 src/crypto/openssh/regress/README.regress (dead) 1.2 +0 -34 src/crypto/openssh/regress/agent-getpeereid.sh (dead) 1.2 +0 -28 src/crypto/openssh/regress/agent-ptrace.sh (dead) 1.2 +0 -36 src/crypto/openssh/regress/agent-timeout.sh (dead) 1.2 +0 -75 src/crypto/openssh/regress/agent.sh (dead) 1.2 +0 -44 src/crypto/openssh/regress/banner.sh (dead) 1.2 +0 -15 src/crypto/openssh/regress/broken-pipe.sh (dead) 1.2 +0 -23 src/crypto/openssh/regress/brokenkeys.sh (dead) 1.2 +0 -79 src/crypto/openssh/regress/bsd.regress.mk (dead) 1.2 +0 -106 src/crypto/openssh/regress/cfgmatch.sh (dead) 1.2 +0 -47 src/crypto/openssh/regress/cipher-speed.sh (dead) 1.2 +0 -13 src/crypto/openssh/regress/connect-privsep.sh (dead) 1.2 +0 -13 src/crypto/openssh/regress/connect.sh (dead) 1.2 +0 -143 src/crypto/openssh/regress/copy.1 (dead) 1.2 +0 -143 src/crypto/openssh/regress/copy.2 (dead) 1.2 +0 -14 src/crypto/openssh/regress/dsa_ssh2.prv (dead) 1.2 +0 -13 src/crypto/openssh/regress/dsa_ssh2.pub (dead) 1.2 +0 -47 src/crypto/openssh/regress/dynamic-forward.sh (dead) 1.2 +0 -51 src/crypto/openssh/regress/envpass.sh (dead) 1.2 +0 -24 src/crypto/openssh/regress/exit-status.sh (dead) 1.2 +0 -42 src/crypto/openssh/regress/forcecommand.sh (dead) 1.2 +0 -33 src/crypto/openssh/regress/forwarding.sh (dead) 1.2 +0 -23 src/crypto/openssh/regress/keygen-change.sh (dead) 1.2 +0 -19 src/crypto/openssh/regress/keyscan.sh (dead) 1.2 +0 -29 src/crypto/openssh/regress/login-timeout.sh (dead) 1.2 +0 -74 src/crypto/openssh/regress/multiplex.sh (dead) 1.2 +0 -19 src/crypto/openssh/regress/proto-mismatch.sh (dead) 1.2 +0 -34 src/crypto/openssh/regress/proto-version.sh (dead) 1.2 +0 -11 src/crypto/openssh/regress/proxy-connect.sh (dead) 1.2 +0 -35 src/crypto/openssh/regress/reconfigure.sh (dead) 1.2 +0 -87 src/crypto/openssh/regress/reexec.sh (dead) 1.2 +0 -31 src/crypto/openssh/regress/rekey.sh (dead) 1.2 +0 -15 src/crypto/openssh/regress/rsa_openssh.prv (dead) 1.2 +0 -1 src/crypto/openssh/regress/rsa_openssh.pub (dead) 1.2 +0 -16 src/crypto/openssh/regress/rsa_ssh2.prv (dead) 1.2 +0 -13 src/crypto/openssh/regress/runtests.sh (dead) 1.2 +0 -54 src/crypto/openssh/regress/scp-ssh-wrapper.sh (dead) 1.2 +0 -82 src/crypto/openssh/regress/scp.sh (dead) 1.2 +0 -78 src/crypto/openssh/regress/sftp-badcmds.sh (dead) 1.2 +0 -57 src/crypto/openssh/regress/sftp-batch.sh (dead) 1.2 +0 -100 src/crypto/openssh/regress/sftp-cmds.sh (dead) 1.2 +0 -28 src/crypto/openssh/regress/sftp-glob.sh (dead) 1.2 +0 -29 src/crypto/openssh/regress/sftp.sh (dead) 1.2 +0 -127 src/crypto/openssh/regress/ssh-com-client.sh (dead) 1.2 +0 -67 src/crypto/openssh/regress/ssh-com-keygen.sh (dead) 1.2 +0 -54 src/crypto/openssh/regress/ssh-com-sftp.sh (dead) 1.2 +0 -112 src/crypto/openssh/regress/ssh-com.sh (dead) 1.2 +0 -13 src/crypto/openssh/regress/sshd-log-wrapper.sh (dead) 1.2 +0 -30 src/crypto/openssh/regress/stderr-after-eof.sh (dead) 1.2 +0 -33 src/crypto/openssh/regress/stderr-data.sh (dead) 1.2 +0 -1 src/crypto/openssh/regress/t4.ok (dead) 1.2 +0 -1 src/crypto/openssh/regress/t5.ok (dead) 1.2 +0 -224 src/crypto/openssh/regress/test-exec.sh (dead) 1.2 +0 -29 src/crypto/openssh/regress/transfer.sh (dead) 1.2 +0 -29 src/crypto/openssh/regress/try-ciphers.sh (dead) 1.2 +0 -15 src/crypto/openssh/regress/yes-head.sh (dead) 1.2 +0 -28 src/crypto/openssh/scard/Makefile.in (dead) 1.2 +0 -20 src/crypto/openssh/scard/Ssh.bin (dead) 1.2 +0 -16 src/crypto/openssh/scard/Ssh.bin.uu (dead) 1.2 +0 -143 src/crypto/openssh/scard/Ssh.java (dead) 1.2 +0 -75 src/crypto/openssh/ssh_prng_cmds.in (dead) 1.2 +0 -69 src/crypto/openssh/survey.sh.in (dead) From rdivacky at FreeBSD.org Wed Jul 23 17:19:21 2008 From: rdivacky at FreeBSD.org (Roman Divacky) Date: Wed Jul 23 17:19:35 2008 Subject: cvs commit: src/sys/compat/linux linux_misc.c Message-ID: <200807231719.m6NHJLR9040881@repoman.freebsd.org> rdivacky 2008-07-23 17:19:02 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c Log: SVN rev 180766 on 2008-07-23 17:19:02Z by rdivacky Fix linux_alarm, the linux behaviour is to limit the secs to INT_MAX when the passed in parameter is bigger than INT_MAX. Submitted by: Dmitry Chagin Approved by: kib (mentor) Revision Changes Path 1.223 +6 -3 src/sys/compat/linux/linux_misc.c From imp at FreeBSD.org Wed Jul 23 17:38:53 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Jul 23 17:39:04 2008 Subject: cvs commit: src/secure/lib/libcrypto opensslconf-mips.h Message-ID: <200807231738.m6NHcqIX046168@repoman.freebsd.org> imp 2008-07-23 17:38:33 UTC FreeBSD src repository Added files: secure/lib/libcrypto opensslconf-mips.h Log: SVN rev 180767 on 2008-07-23 17:38:33Z by imp Merge from p4: Implement openssl config needed for mips. Submitted by: gonzo@ Reviewed by: simon@ Revision Changes Path 1.1 +205 -0 src/secure/lib/libcrypto/opensslconf-mips.h (new) From ed at FreeBSD.org Wed Jul 23 17:47:54 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Jul 23 17:48:06 2008 Subject: cvs commit: src/sys/compat/linux linux_ioctl.c linux_ioctl.h Message-ID: <200807231747.m6NHlrgc047900@repoman.freebsd.org> ed 2008-07-23 17:47:44 UTC FreeBSD src repository Modified files: sys/compat/linux linux_ioctl.c linux_ioctl.h Log: SVN rev 180768 on 2008-07-23 17:47:44Z by ed Add TIOCPKT and TIOCSPTLCK to the Linuxolator. We're very lucky, because the flags used by our TIOCPKT implementation are the same as flags used by Linux. We can safely enable TIOCPKT, assuming EXTPROC is not used. TIOCSPTLCK is used by unlockpt(). Because we don't need unlockpt() in our implementation, make this ioctl a no-op. Approved by: philip (mentor, implicit), rdivacky Obtained from: P4 (//depot/projects/mpsafetty/...) Revision Changes Path 1.140 +8 -1 src/sys/compat/linux/linux_ioctl.c 1.28 +1 -0 src/sys/compat/linux/linux_ioctl.h From yongari at FreeBSD.org Thu Jul 24 00:30:46 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 24 00:31:03 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200807240030.m6O0UhbK046467@repoman.freebsd.org> yongari 2008-07-24 00:30:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/jme if_jme.c Log: SVN rev 180769 on 2008-07-24 00:30:35Z by yongari MFC r180582. Correct 1000Mbps link handling logic for JMC250. This should make jme(4) run on 1000Mbps link. Revision Changes Path 1.1.2.3 +1 -1 src/sys/dev/jme/if_jme.c From yongari at FreeBSD.org Thu Jul 24 00:36:00 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 24 00:36:15 2008 Subject: cvs commit: src/sys/dev/age if_age.c Message-ID: <200807240035.m6O0ZxYu046926@repoman.freebsd.org> yongari 2008-07-24 00:35:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/age if_age.c Log: SVN rev 180770 on 2008-07-24 00:35:50Z by yongari MFC r180580. Use DELAY() instead of pause if waiting time is less than 1ms. This will fix driver hang if hz < 1000. Pointed out by: thompsa Revision Changes Path 1.2.2.3 +2 -2 src/sys/dev/age/if_age.c From delphij at FreeBSD.org Thu Jul 24 00:48:01 2008 From: delphij at FreeBSD.org (Xin LI) Date: Thu Jul 24 00:48:12 2008 Subject: cvs commit: src/usr.bin/gzip gzip.1 gzip.c Message-ID: <200807240048.m6O0m096057193@repoman.freebsd.org> delphij 2008-07-24 00:47:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/gzip gzip.1 gzip.c Log: SVN rev 180771 on 2008-07-24 00:47:44Z by delphij MFC r180727: Sync with NetBSD's license changes. Revision Changes Path 1.4.2.2 +1 -3 src/usr.bin/gzip/gzip.1 1.4.2.3 +3 -7 src/usr.bin/gzip/gzip.c From delphij at FreeBSD.org Thu Jul 24 00:50:32 2008 From: delphij at FreeBSD.org (Xin LI) Date: Thu Jul 24 00:50:38 2008 Subject: cvs commit: src/usr.bin/gzip gzip.1 gzip.c Message-ID: <200807240050.m6O0oVhR057437@repoman.freebsd.org> delphij 2008-07-24 00:50:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/gzip gzip.1 gzip.c Log: SVN rev 180772 on 2008-07-24 00:50:24Z by delphij MFC r180727: Sync with NetBSD's license changes. Revision Changes Path 1.1.2.5 +1 -3 src/usr.bin/gzip/gzip.1 1.2.2.5 +3 -7 src/usr.bin/gzip/gzip.c From yongari at FreeBSD.org Thu Jul 24 00:51:03 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 24 00:51:14 2008 Subject: cvs commit: src/sys/dev/mii jmphy.c jmphyreg.h miidevs Message-ID: <200807240051.m6O0p2Pq057512@repoman.freebsd.org> yongari 2008-07-24 00:50:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii miidevs Added files: (Branch: RELENG_6) sys/dev/mii jmphy.c jmphyreg.h Log: SVN rev 180773 on 2008-07-24 00:50:50Z by yongari MFC r179335. Add JMicron JMP202/JMP211 PHY driver. Revision Changes Path 1.1.4.1 +379 -0 src/sys/dev/mii/jmphy.c (new) 1.1.4.1 +108 -0 src/sys/dev/mii/jmphyreg.h (new) 1.30.2.17 +5 -0 src/sys/dev/mii/miidevs From julian at FreeBSD.org Thu Jul 24 01:18:09 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 01:18:21 2008 Subject: cvs commit: src/contrib/pf/pfctl parse.y src/lib/libc/sys Symbol.map getsockopt.2 src/sbin/ipfw ipfw.8 ipfw2.c src/sys/conf NOTES options src/sys/contrib/ipfilter/netinet ip_fil_freebsd.c src/sys/contrib/pf/net pf.c pf_ioctl.c src/sys/kern init_sysent.c ... Message-ID: <200807240118.m6O1I8oo061207@repoman.freebsd.org> julian 2008-07-24 01:13:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/pf/pfctl parse.y lib/libc/sys Symbol.map getsockopt.2 sbin/ipfw ipfw.8 ipfw2.c sys/conf NOTES options sys/contrib/ipfilter/netinet ip_fil_freebsd.c sys/contrib/pf/net pf.c pf_ioctl.c sys/kern init_sysent.c sys_socket.c syscalls.c syscalls.master systrace_args.c uipc_socket.c vfs_export.c sys/net if.c if_atmsubr.c if_fwsubr.c if_gif.c if_gif.h if_gre.c if_gre.h if_iso88025subr.c if_stf.c if_var.h route.c route.h rtsock.c sys/netatalk at_extern.h at_proto.c sys/netgraph/netflow netflow.c sys/netinet if_atm.c if_ether.c in_gif.c in_mcast.c in_pcb.c in_pcb.h in_rmx.c in_var.h ip_fastfwd.c ip_fw.h ip_fw2.c ip_icmp.c ip_input.c ip_mroute.c ip_mroute.h ip_options.c ip_output.c ip_var.h raw_ip.c sctp_os_bsd.h tcp_input.c tcp_subr.c tcp_syncache.c sys/netinet6 in6.c in6_ifattach.c in6_rmx.c nd6_rtr.c sys/netipx ipx_proto.c sys/nfs4client nfs4_vfsops.c sys/nfsclient bootp_subr.c nfs_vfsops.c sys/sys domain.h mbuf.h proc.h socket.h socketvar.h syscall.h syscall.mk sysproto.h usr.bin/netstat route.c Added files: (Branch: RELENG_7) usr.sbin/setfib Makefile setfib.1 setfib.c Log: SVN rev 180774 on 2008-07-24 01:13:22Z by julian MFC an ABI compatible implementation of Multiple routing tables. See the commit message for http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net/route.c version 1.129 (svn change # 178888) for more info. Obtained from: Ironport (Cisco Systems) Revision Changes Path 1.8.2.1 +6 -15 src/contrib/pf/pfctl/parse.y 1.9.2.3 +1 -0 src/lib/libc/sys/Symbol.map 1.38.2.1 +7 -0 src/lib/libc/sys/getsockopt.2 1.203.2.6 +12 -0 src/sbin/ipfw/ipfw.8 1.108.2.8 +21 -2 src/sbin/ipfw/ipfw2.c 1.1454.2.14 +2 -0 src/sys/conf/NOTES 1.608.2.6 +1 -0 src/sys/conf/options 1.6.2.3 +3 -3 src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c 1.46.2.2 +33 -5 src/sys/contrib/pf/net/pf.c 1.28.2.3 +3 -3 src/sys/contrib/pf/net/pf_ioctl.c 1.230.2.2 +1 -1 src/sys/kern/init_sysent.c 1.73.2.1 +1 -1 src/sys/kern/sys_socket.c 1.214.2.2 +1 -1 src/sys/kern/syscalls.c 1.233.2.2 +1 -1 src/sys/kern/syscalls.master 1.14.2.2 +7 -0 src/sys/kern/systrace_args.c 1.302.2.4 +20 -0 src/sys/kern/uipc_socket.c 1.341.2.2 +16 -3 src/sys/kern/vfs_export.c 1.273.2.3 +6 -3 src/sys/net/if.c 1.45.2.1 +2 -1 src/sys/net/if_atmsubr.c 1.24.2.1 +1 -1 src/sys/net/if_fwsubr.c 1.66.2.2 +3 -0 src/sys/net/if_gif.c 1.19.2.1 +1 -0 src/sys/net/if_gif.h 1.46.2.2 +5 -1 src/sys/net/if_gre.c 1.13.10.1 +1 -0 src/sys/net/if_gre.h 1.75.2.1 +2 -1 src/sys/net/if_iso88025subr.c 1.60.2.1 +7 -2 src/sys/net/if_stf.c 1.115.2.2 +2 -0 src/sys/net/if_var.h 1.120.2.4 +355 -95 src/sys/net/route.c 1.65.2.2 +31 -4 src/sys/net/route.h 1.143.2.2 +9 -5 src/sys/net/rtsock.c 1.18.2.1 +1 -0 src/sys/netatalk/at_extern.h 1.13.2.1 +1 -1 src/sys/netatalk/at_proto.c 1.25.2.2 +3 -2 src/sys/netgraph/netflow/netflow.c 1.21.2.1 +1 -1 src/sys/netinet/if_atm.c 1.162.2.1 +185 -116 src/sys/netinet/if_ether.c 1.38.2.1 +6 -2 src/sys/netinet/in_gif.c 1.3.2.2 +2 -1 src/sys/netinet/in_mcast.c 1.196.2.4 +2 -1 src/sys/netinet/in_pcb.c 1.100.2.2 +1 -1 src/sys/netinet/in_pcb.h 1.57.2.1 +126 -28 src/sys/netinet/in_rmx.c 1.61.2.1 +16 -0 src/sys/netinet/in_var.h 1.41.2.1 +1 -1 src/sys/netinet/ip_fastfwd.c 1.110.2.4 +4 -0 src/sys/netinet/ip_fw.h 1.175.2.7 +48 -5 src/sys/netinet/ip_fw2.c 1.118.2.1 +12 -5 src/sys/netinet/ip_icmp.c 1.332.2.4 +4 -4 src/sys/netinet/ip_input.c 1.138.2.1 +2 -2 src/sys/netinet/ip_mroute.c 1.31.2.1 +1 -1 src/sys/netinet/ip_mroute.h 1.6.2.2 +3 -2 src/sys/netinet/ip_options.c 1.276.2.2 +2 -1 src/sys/netinet/ip_output.c 1.101.2.1 +1 -1 src/sys/netinet/ip_var.h 1.180.2.2 +1 -1 src/sys/netinet/raw_ip.c 1.33.2.1 +1 -1 src/sys/netinet/sctp_os_bsd.h 1.370.2.3 +1 -0 src/sys/netinet/tcp_input.c 1.300.2.3 +7 -1 src/sys/netinet/tcp_subr.c 1.130.2.8 +4 -0 src/sys/netinet/tcp_syncache.c 1.73.2.2 +2 -1 src/sys/netinet6/in6.c 1.39.2.1 +3 -3 src/sys/netinet6/in6_ifattach.c 1.18.2.1 +8 -4 src/sys/netinet6/in6_rmx.c 1.36.2.1 +2 -1 src/sys/netinet6/nd6_rtr.c 1.22.2.1 +11 -1 src/sys/netipx/ipx_proto.c 1.27.2.1 +2 -1 src/sys/nfs4client/nfs4_vfsops.c 1.70.2.1 +3 -2 src/sys/nfsclient/bootp_subr.c 1.193.2.2 +1 -0 src/sys/nfsclient/nfs_vfsops.c 1.22.2.1 +6 -0 src/sys/sys/domain.h 1.217.2.3 +20 -2 src/sys/sys/mbuf.h 1.491.2.5 +1 -0 src/sys/sys/proc.h 1.95.2.2 +1 -0 src/sys/sys/socket.h 1.158.2.3 +1 -0 src/sys/sys/socketvar.h 1.211.2.2 +1 -0 src/sys/sys/syscall.h 1.166.2.2 +1 -0 src/sys/sys/syscall.mk 1.215.2.2 +5 -0 src/sys/sys/sysproto.h 1.82.2.6 +25 -4 src/usr.bin/netstat/route.c 1.1.2.1 +6 -0 src/usr.sbin/setfib/Makefile (new) 1.2.2.1 +97 -0 src/usr.sbin/setfib/setfib.1 (new) 1.3.2.1 +103 -0 src/usr.sbin/setfib/setfib.c (new) From julian at FreeBSD.org Thu Jul 24 01:19:13 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 01:19:23 2008 Subject: cvs commit: src/usr.sbin Makefile Message-ID: <200807240119.m6O1JCo9061295@repoman.freebsd.org> julian 2008-07-24 01:17:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin Makefile Log: SVN rev 180775 on 2008-07-24 01:17:16Z by julian Add setfib to build Revision Changes Path 1.375.2.3 +1 -0 src/usr.sbin/Makefile From yongari at FreeBSD.org Thu Jul 24 02:06:32 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 24 02:06:38 2008 Subject: cvs commit: src/sys/conf files src/sys/modules/mii Makefile Message-ID: <200807240206.m6O26VHI066446@repoman.freebsd.org> yongari 2008-07-24 02:06:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/conf files sys/modules/mii Makefile Log: SVN rev 180776 on 2008-07-24 02:06:03Z by yongari MFC r179336. Connect jmphy(4) to the build. Revision Changes Path 1.1031.2.75 +2 -0 src/sys/conf/files 1.26.8.5 +1 -1 src/sys/modules/mii/Makefile From ed at FreeBSD.org Thu Jul 24 09:54:37 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Thu Jul 24 09:54:43 2008 Subject: cvs commit: src/sys/dev/kbd kbd.c src/sys/dev/kbdmux kbdmux.c src/sys/dev/usb ugen.c uhid.c Message-ID: <200807240954.m6O9savD023951@repoman.freebsd.org> ed 2008-07-24 09:54:10 UTC FreeBSD src repository Modified files: sys/dev/kbd kbd.c sys/dev/kbdmux kbdmux.c sys/dev/usb ugen.c uhid.c Log: SVN rev 180777 on 2008-07-24 09:54:10Z by ed Don't include in non-TTY drivers. The kbd, kbdmux, ugen and uhid drivers included , because they needed clists, which have been moved to some time ago. In the MPSAFE TTY branch, does not include , which means we have to teach these drivers to include this header file directly. Approved by: philip (mentor, implicit) Revision Changes Path 1.48 +2 -1 src/sys/dev/kbd/kbd.c 1.17 +1 -1 src/sys/dev/kbdmux/kbdmux.c 1.112 +1 -1 src/sys/dev/usb/ugen.c 1.97 +2 -1 src/sys/dev/usb/uhid.c From darrenr at FreeBSD.org Thu Jul 24 12:40:12 2008 From: darrenr at FreeBSD.org (Darren Reed) Date: Thu Jul 24 12:40:18 2008 Subject: cvs commit: src/contrib/ipfilter ip_fil.c src/contrib/ipfilter/ipsend iptests.c sock.c src/contrib/ipfilter/lib printnat.c src/contrib/ipfilter/test/regress n12 n2 n5 ni1.nat ni2.nat ni4.nat src/contrib/ipfilter/tools ipnat_y.y ... Message-ID: <200807241240.m6OCeCvm041048@repoman.freebsd.org> darrenr 2008-07-24 12:35:05 UTC FreeBSD src repository Modified files: contrib/ipfilter ip_fil.c contrib/ipfilter/ipsend iptests.c sock.c contrib/ipfilter/lib printnat.c contrib/ipfilter/test/regress n12 n2 n5 ni1.nat ni2.nat ni4.nat contrib/ipfilter/tools ipnat_y.y sys/contrib/ipfilter/netinet ip_compat.h ip_fil.h ip_nat.c ip_nat.h ip_state.c Log: SVN rev 180778 on 2008-07-24 12:35:05Z by darrenr 2020447 IPFilter's NAT can undo name server random port selection Approved by: darrenr MFC after: 1 week Security: CERT VU#521769 Revision Changes Path 1.7 +15 -0 src/contrib/ipfilter/ip_fil.c 1.15 +1 -0 src/contrib/ipfilter/ipsend/iptests.c 1.21 +1 -0 src/contrib/ipfilter/ipsend/sock.c 1.6 +2 -0 src/contrib/ipfilter/lib/printnat.c 1.2 +1 -1 src/contrib/ipfilter/test/regress/n12 1.2 +4 -4 src/contrib/ipfilter/test/regress/n2 1.2 +3 -3 src/contrib/ipfilter/test/regress/n5 1.2 +3 -1 src/contrib/ipfilter/test/regress/ni1.nat 1.2 +1 -1 src/contrib/ipfilter/test/regress/ni2.nat 1.2 +1 -1 src/contrib/ipfilter/test/regress/ni4.nat 1.7 +9 -3 src/contrib/ipfilter/tools/ipnat_y.y 1.36 +14 -0 src/sys/contrib/ipfilter/netinet/ip_compat.h 1.37 +6 -0 src/sys/contrib/ipfilter/netinet/ip_fil.h 1.45 +12 -3 src/sys/contrib/ipfilter/netinet/ip_nat.c 1.28 +3 -1 src/sys/contrib/ipfilter/netinet/ip_nat.h 1.42 +16 -2 src/sys/contrib/ipfilter/netinet/ip_state.c From dfr at FreeBSD.org Thu Jul 24 13:42:40 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Thu Jul 24 13:42:52 2008 Subject: cvs commit: src/sys/nfsclient nfs_vfsops.c Message-ID: <200807241342.m6ODgeAe056656@repoman.freebsd.org> dfr 2008-07-24 13:42:28 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vfsops.c Log: SVN rev 180779 on 2008-07-24 13:42:28Z by dfr Don't use a userspace pointer in the kernel when trying to record the hostname which we need for NLM requests. PR: 125849 Revision Changes Path 1.209 +12 -8 src/sys/nfsclient/nfs_vfsops.c From dfr at FreeBSD.org Thu Jul 24 14:02:12 2008 From: dfr at FreeBSD.org (Doug Rabson) Date: Thu Jul 24 14:02:23 2008 Subject: cvs commit: src/sys/nfsclient nfs_vfsops.c Message-ID: <200807241402.m6OE2BN0058431@repoman.freebsd.org> dfr 2008-07-24 14:02:03 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vfsops.c Log: SVN rev 180780 on 2008-07-24 14:02:03Z by dfr Try again not to use a userspace pointer in the kernel when trying to record the hostname which we need for NLM requests. The previous patch was incomplete. PR: 125849 Pointy hat: dfr Revision Changes Path 1.210 +1 -1 src/sys/nfsclient/nfs_vfsops.c From marius at FreeBSD.org Thu Jul 24 14:07:58 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Thu Jul 24 14:08:04 2008 Subject: cvs commit: src/sys/modules/mem Makefile Message-ID: <200807241407.m6OE7vXx060070@repoman.freebsd.org> marius 2008-07-24 14:07:52 UTC FreeBSD src repository Modified files: sys/modules/mem Makefile Log: SVN rev 180781 on 2008-07-24 14:07:52Z by marius Prefer the opt_global.h from KERNBUILDDIR if existent so we obtain all macros that might be relevant. Revision Changes Path 1.7 +5 -0 src/sys/modules/mem/Makefile From julian at FreeBSD.org Thu Jul 24 15:12:00 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 15:12:11 2008 Subject: cvs commit: src/sys/contrib/pf/net pf_ioctl.c Message-ID: <200807241511.m6OFBxj8066660@repoman.freebsd.org> julian 2008-07-24 15:11:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/contrib/pf/net pf_ioctl.c Log: SVN rev 180782 on 2008-07-24 15:11:43Z by julian MFC a fix for corrected comparisons. MFC change 179570 Revision Changes Path 1.28.2.4 +2 -2 src/sys/contrib/pf/net/pf_ioctl.c From max at love2party.net Thu Jul 24 17:24:03 2008 From: max at love2party.net (Max Laier) Date: Thu Jul 24 17:24:14 2008 Subject: cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h In-Reply-To: <200807230944.m6N9iiXP061558@repoman.freebsd.org> References: <200807230944.m6N9iiXP061558@repoman.freebsd.org> Message-ID: <200807241923.59501.max@love2party.net> On Wednesday 23 July 2008 11:44:36 Luoqi Chen wrote: > luoqi 2008-07-23 09:44:36 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci.c pci_pci.c pcivar.h > Log: > SVN rev 180753 on 2008-07-23 09:44:36Z by luoqi > > SATA device on some nForce based boards could get confused if MSI is > not used but MSI to HyperTransport IRQ mapping is enabled, and would > act as if MSI is turned on, resulting in interrupt loss. > > This commit will, > 1. enable MSI mapping on a device only when MSI is enabled for that > device and the MSI address matches the HT mapping window. > 2. enable MSI mapping on a bridge only when a downstream device is > allocated an MSI address in the mapping window > > PR: kern/118842 > Reviewed by: jhb > MFC after: 1 week > > Revision Changes Path > 1.358 +42 -4 src/sys/dev/pci/pci.c > 1.51 +7 -1 src/sys/dev/pci/pci_pci.c > 1.83 +10 -0 src/sys/dev/pci/pcivar.h Doesn't fix kern/118842 for me (P5N-E SLI) ... let me know if I can provide any additional information to help. Thank you for working on this. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From julian at FreeBSD.org Thu Jul 24 17:44:56 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 17:45:03 2008 Subject: cvs commit: src UPDATING src/lib/libc/sys Makefile.inc setfib.2 src/sbin/ipfw ipfw2.c Message-ID: <200807241744.m6OHiu5p092058@repoman.freebsd.org> julian 2008-07-24 17:39:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING lib/libc/sys Makefile.inc sbin/ipfw ipfw2.c Added files: (Branch: RELENG_7) lib/libc/sys setfib.2 Log: SVN rev 180783 on 2008-07-24 17:39:51Z by julian Commit ancillary parts of the MFC that I couldn't do last night because the SVN server went strange (repoman. crashed I believe). Obtained from: Cisco IronPort Revision Changes Path 1.507.2.8 +7 -0 src/UPDATING 1.127.2.3 +2 -2 src/lib/libc/sys/Makefile.inc 1.2.2.1 +79 -0 src/lib/libc/sys/setfib.2 (new) 1.108.2.9 +16 -0 src/sbin/ipfw/ipfw2.c From julian at FreeBSD.org Thu Jul 24 18:02:03 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 18:02:09 2008 Subject: cvs commit: src/usr.sbin/setfib setfib.c Message-ID: <200807241802.m6OI22mq093436@repoman.freebsd.org> julian 2008-07-24 18:01:50 UTC FreeBSD src repository Modified files: usr.sbin/setfib setfib.c Log: SVN rev 180784 on 2008-07-24 18:01:50Z by julian Switch to using the setfib syscall instead of a syscall(175,...) Revision Changes Path 1.4 +1 -1 src/usr.sbin/setfib/setfib.c From julian at FreeBSD.org Thu Jul 24 18:39:49 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 18:40:00 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 Message-ID: <200807241839.m6OIdnbg097802@repoman.freebsd.org> julian 2008-07-24 18:39:36 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 Log: SVN rev 180785 on 2008-07-24 18:39:36Z by julian Note that setfib is not a terminal rule. Revision Changes Path 1.213 +2 -1 src/sbin/ipfw/ipfw.8 From julian at FreeBSD.org Thu Jul 24 18:58:51 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 18:58:59 2008 Subject: cvs commit: src/sbin/ipfw ipfw.8 Message-ID: <200807241858.m6OIwpSY099302@repoman.freebsd.org> julian 2008-07-24 18:58:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ipfw ipfw.8 Log: SVN rev 180786 on 2008-07-24 18:58:39Z by julian MFC the fact that the setfib rule is not a terminal rule Revision Changes Path 1.203.2.7 +2 -1 src/sbin/ipfw/ipfw.8 From julian at FreeBSD.org Thu Jul 24 19:05:41 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 19:05:48 2008 Subject: cvs commit: src/sys/contrib/pf/net pf_ioctl.c Message-ID: <200807241905.m6OJ5ch1001181@repoman.freebsd.org> julian 2008-07-24 19:05:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/contrib/pf/net pf_ioctl.c Log: SVN rev 180787 on 2008-07-24 19:05:32Z by julian Fix spellign error in comment Revision Changes Path 1.28.2.5 +1 -1 src/sys/contrib/pf/net/pf_ioctl.c From julian at FreeBSD.org Thu Jul 24 19:06:10 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 19:06:16 2008 Subject: cvs commit: src/sys/contrib/pf/net pf_ioctl.c Message-ID: <200807241906.m6OJ69wM001243@repoman.freebsd.org> julian 2008-07-24 19:05:58 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf_ioctl.c Log: SVN rev 180788 on 2008-07-24 19:05:58Z by julian Fix spelling error in comment Revision Changes Path 1.34 +1 -1 src/sys/contrib/pf/net/pf_ioctl.c From julian at FreeBSD.org Thu Jul 24 19:22:01 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 19:22:13 2008 Subject: cvs commit: src/lib/libc/sys Symbol.map Message-ID: <200807241922.m6OJM1qX003150@repoman.freebsd.org> julian 2008-07-24 19:21:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys Symbol.map Log: SVN rev 180789 on 2008-07-24 19:21:45Z by julian Add the appropriate entry to the Symbol map for the new setfib syscall Revision Changes Path 1.9.2.4 +4 -0 src/lib/libc/sys/Symbol.map From julian at FreeBSD.org Thu Jul 24 19:27:33 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Thu Jul 24 19:27:46 2008 Subject: cvs commit: src/usr.sbin/setfib setfib.c Message-ID: <200807241927.m6OJRXbc003584@repoman.freebsd.org> julian 2008-07-24 19:27:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/setfib setfib.c Log: SVN rev 180790 on 2008-07-24 19:27:25Z by julian Now that libc exports the symbol we can now use the setfib libc entrypoint instead of using syscall(175,...) Revision Changes Path 1.3.2.2 +1 -1 src/usr.sbin/setfib/setfib.c From ivoras at FreeBSD.org Thu Jul 24 23:22:37 2008 From: ivoras at FreeBSD.org (Ivan Voras) Date: Thu Jul 24 23:22:48 2008 Subject: cvs commit: src/sys/dev/usb ehci_pci.c Message-ID: <200807242322.m6ONMaI8044992@repoman.freebsd.org> ivoras 2008-07-24 23:22:19 UTC FreeBSD src repository Modified files: sys/dev/usb ehci_pci.c Log: SVN rev 180791 on 2008-07-24 23:22:19Z by ivoras Add tweak for AMD Geode "companion" chip, AMD CS5536, which is apparently USB 2.0 capable but is shy and doesn't adwertise it much. PR: 120017 Reviewed by: imp Approved by: gnn (mentor) MFC after: 2 weeks Revision Changes Path 1.33 +10 -1 src/sys/dev/usb/ehci_pci.c From julian at FreeBSD.org Fri Jul 25 01:09:45 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Fri Jul 25 01:09:51 2008 Subject: cvs commit: src/lib/libc/sys setfib.2 Message-ID: <200807250109.m6P19iJw064914@repoman.freebsd.org> julian 2008-07-25 01:09:36 UTC FreeBSD src repository Modified files: lib/libc/sys setfib.2 Log: SVN rev 180792 on 2008-07-25 01:09:36Z by julian Fix cut-n-paste-o Submitted by: Kostik Belousov Revision Changes Path 1.3 +1 -1 src/lib/libc/sys/setfib.2 From julian at FreeBSD.org Fri Jul 25 01:11:17 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Fri Jul 25 01:11:23 2008 Subject: cvs commit: src/lib/libc/sys setfib.2 Message-ID: <200807250111.m6P1BF91065128@repoman.freebsd.org> julian 2008-07-25 01:11:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys setfib.2 Log: SVN rev 180793 on 2008-07-25 01:11:07Z by julian fix leftover reference to kill(2) (which was used as a template for this page). Submitted by: Kostik Belousov Revision Changes Path 1.2.2.2 +1 -1 src/lib/libc/sys/setfib.2 From jeff at FreeBSD.org Fri Jul 25 05:50:04 2008 From: jeff at FreeBSD.org (Jeff Roberson) Date: Fri Jul 25 05:50:11 2008 Subject: cvs commit: src/sys/dev/hwpmc hwpmc_mod.c Message-ID: <200807250550.m6P5o4kq001296@repoman.freebsd.org> jeff 2008-07-25 05:49:48 UTC FreeBSD src repository Modified files: sys/dev/hwpmc hwpmc_mod.c Log: SVN rev 180794 on 2008-07-25 05:49:48Z by jeff - Provide kernelname as the name for process with P_KTHREAD set as otherwise their textvp is NULL. Reviewed by: jkoshy Sponsored by: Nokia Revision Changes Path 1.33 +5 -1 src/sys/dev/hwpmc/hwpmc_mod.c From maxim at FreeBSD.org Fri Jul 25 09:19:29 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Fri Jul 25 09:19:42 2008 Subject: cvs commit: src UPDATING Message-ID: <200807250919.m6P9JT9f035013@repoman.freebsd.org> maxim 2008-07-25 09:13:18 UTC FreeBSD src repository Modified files: . UPDATING Log: SVN rev 180795 on 2008-07-25 09:13:18Z by maxim o Fix grammar: see -> See. Revision Changes Path 1.536 +1 -1 src/UPDATING From maxim at FreeBSD.org Fri Jul 25 09:37:48 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Fri Jul 25 09:37:54 2008 Subject: cvs commit: src UPDATING Message-ID: <200807250937.m6P9bmdL036561@repoman.freebsd.org> maxim 2008-07-25 09:30:53 UTC FreeBSD src repository Modified files: . UPDATING Log: SVN rev 180796 on 2008-07-25 09:30:53Z by maxim o Trim whitespaces. Revision Changes Path 1.537 +9 -9 src/UPDATING From kib at FreeBSD.org Fri Jul 25 09:42:08 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Jul 25 09:42:15 2008 Subject: cvs commit: src/sys/kern kern_conf.c Message-ID: <200807250942.m6P9g7mR037732@repoman.freebsd.org> kib 2008-07-25 09:41:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_conf.c Log: SVN rev 180797 on 2008-07-25 09:41:59Z by kib MFC r180445: Make it atomic for the devfs_populate_loop() to see the setting of SI_ALIAS flag and initialization of the si_parent when alias is created. Assert that supplied parent device is not NULL. Revision Changes Path 1.208.2.6 +2 -1 src/sys/kern/kern_conf.c From kib at FreeBSD.org Fri Jul 25 11:22:41 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Jul 25 11:22:53 2008 Subject: cvs commit: src/sys/kern kern_lock.c Message-ID: <200807251122.m6PBMe1v053883@repoman.freebsd.org> kib 2008-07-25 11:22:25 UTC FreeBSD src repository Modified files: sys/kern kern_lock.c Log: SVN rev 180798 on 2008-07-25 11:22:25Z by kib s/alredy/already/ in the comments and the log message. Revision Changes Path 1.134 +5 -5 src/sys/kern/kern_lock.c From kib at FreeBSD.org Fri Jul 25 11:56:35 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Fri Jul 25 11:56:46 2008 Subject: cvs commit: src/sys/kern kern_exec.c kern_proc.c src/sys/sys proc.h Message-ID: <200807251156.m6PBuYIl056655@repoman.freebsd.org> kib 2008-07-25 11:55:32 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c kern_proc.c sys/sys proc.h Log: SVN rev 180799 on 2008-07-25 11:55:32Z by kib Call pargs_drop() unconditionally in do_execve(), the function correctly handles the NULL argument. Make pargs_free() static. MFC after: 1 week Revision Changes Path 1.320 +2 -4 src/sys/kern/kern_exec.c 1.265 +2 -1 src/sys/kern/kern_proc.c 1.516 +0 -1 src/sys/sys/proc.h From ed at FreeBSD.org Fri Jul 25 12:43:15 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Fri Jul 25 12:43:27 2008 Subject: cvs commit: src ObsoleteFiles.inc src/include Makefile sgtty.h Message-ID: <200807251243.m6PChExZ064088@repoman.freebsd.org> ed 2008-07-25 12:37:46 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc include Makefile Removed files: include sgtty.h Log: SVN rev 180800 on 2008-07-25 12:37:46Z by ed Remove now it has no practical usage. When I turned sgtty into a binary-only interface (last month), I added this explicit #error to the header file, to make sure nobody forgot to remove the header file after updating world. I think it is now a good moment to remove this header file. Approved by: philip (mentor) Revision Changes Path 1.154 +2 -0 src/ObsoleteFiles.inc 1.281 +1 -1 src/include/Makefile 1.3 +0 -3 src/include/sgtty.h (dead) From ed at FreeBSD.org Fri Jul 25 14:32:02 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Fri Jul 25 14:32:17 2008 Subject: cvs commit: src/sys/conf files src/sys/kern tty.c tty_info.c Message-ID: <200807251432.m6PEW2Kn085096@repoman.freebsd.org> ed 2008-07-25 14:31:00 UTC FreeBSD src repository Modified files: sys/conf files sys/kern tty.c Added files: sys/kern tty_info.c Log: SVN rev 180801 on 2008-07-25 14:31:00Z by ed Move ttyinfo() into its own C file. The ttyinfo() routine generates the fancy output when pressing ^T. Right now it is stored in tty.c. In the MPSAFE TTY code it is already stored in tty_info.c. To make integration of the MPSAFE TTY code a little easier, take the same approach. This makes the TTY code a little bit more readable, because having the proc_*/thread_* routines in tty.c is very distractful. Approved by: philip (mentor) Revision Changes Path 1.1317 +1 -0 src/sys/conf/files 1.281 +0 -269 src/sys/kern/tty.c 1.1 +317 -0 src/sys/kern/tty_info.c (new) From gallatin at FreeBSD.org Fri Jul 25 15:16:36 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Fri Jul 25 15:16:47 2008 Subject: cvs commit: src/sys/dev/mxge if_mxge.c Message-ID: <200807251516.m6PFGZ2s095751@repoman.freebsd.org> gallatin 2008-07-25 15:16:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mxge if_mxge.c Log: SVN rev 180802 on 2008-07-25 15:16:21Z by gallatin MFC r180567: Clean up mxge's use of callouts as pointed out by jhb, and handle NIC hardware watchdog resets. Revision Changes Path 1.42.2.3 +19 -36 src/sys/dev/mxge/if_mxge.c From gallatin at FreeBSD.org Fri Jul 25 15:19:07 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Fri Jul 25 15:19:14 2008 Subject: cvs commit: src/sys/dev/mxge if_mxge.c Message-ID: <200807251519.m6PFJ6kr096114@repoman.freebsd.org> gallatin 2008-07-25 15:19:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mxge if_mxge.c Log: SVN rev 180803 on 2008-07-25 15:19:05Z by gallatin MFC r180567: Clean up mxge's use of callouts as pointed out by jhb, and handle NIC hardware watchdog resets. Revision Changes Path 1.33.2.5 +19 -36 src/sys/dev/mxge/if_mxge.c From ache at FreeBSD.org Fri Jul 25 15:42:40 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Fri Jul 25 15:42:52 2008 Subject: cvs commit: src/lib/libc/gen arc4random.c Message-ID: <200807251542.m6PFgd5U099894@repoman.freebsd.org> ache 2008-07-25 15:42:22 UTC FreeBSD src repository Modified files: lib/libc/gen arc4random.c Log: SVN rev 180804 on 2008-07-25 15:42:22Z by ache Per rwatson's request: "If you don't get a review within a day or two, I would firmly recommend backing out the changes" back out all my changes, i.e. not comes from merging from OpenBSD as unreviewed by secteam@ yet. (OpenBSD changes stays in assumption they are reviewd by OpenBSD) Yes, it means some old bugs returned, like not setted rs_stired = 1 in arc4random_stir(3) causing double stirring. Revision Changes Path 1.23 +17 -29 src/lib/libc/gen/arc4random.c From ache at FreeBSD.org Fri Jul 25 15:53:41 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Fri Jul 25 15:53:48 2008 Subject: cvs commit: src/sys/libkern arc4random.c Message-ID: <200807251553.m6PFrfGZ001214@repoman.freebsd.org> ache 2008-07-25 15:53:32 UTC FreeBSD src repository Modified files: sys/libkern arc4random.c Log: SVN rev 180805 on 2008-07-25 15:53:32Z by ache Per rwatson's request: "If you don't get a review within a day or two, I would firmly recommend backing out the changes" back out all my changes as unreviewed by secteam@ yet. Revision Changes Path 1.14 +4 -7 src/sys/libkern/arc4random.c From gallatin at FreeBSD.org Fri Jul 25 15:57:27 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Fri Jul 25 15:57:33 2008 Subject: cvs commit: src/sys/dev/mxge if_mxge.c Message-ID: <200807251557.m6PFvRe9001564@repoman.freebsd.org> gallatin 2008-07-25 15:57:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mxge if_mxge.c Log: SVN rev 180806 on 2008-07-25 15:57:18Z by gallatin Sync mxge with head and perform 2 forgotten MFCs: MFC r177104: Remove dead code which makes a call to mem_range_attr_set() MFC r177862: Initialize if_baudrate using IF_Gbps() macro. Revision Changes Path 1.42.2.4 +3 -19 src/sys/dev/mxge/if_mxge.c From gallatin at FreeBSD.org Fri Jul 25 15:58:13 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Fri Jul 25 15:58:20 2008 Subject: cvs commit: src/sys/dev/mxge if_mxge.c Message-ID: <200807251558.m6PFwDDt001638@repoman.freebsd.org> gallatin 2008-07-25 15:57:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mxge if_mxge.c Log: SVN rev 180807 on 2008-07-25 15:57:55Z by gallatin Sync mxge with head and perform 2 forgotten MFCs: MFC r177104: Remove dead code which makes a call to mem_range_attr_set() MFC r177862: Initialize if_baudrate using IF_Gbps() macro. Revision Changes Path 1.33.2.6 +3 -19 src/sys/dev/mxge/if_mxge.c From jhb at FreeBSD.org Fri Jul 25 17:51:20 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 25 17:51:32 2008 Subject: cvs commit: src/lib/libc/sys Makefile.inc Symbol.map cpuset.2 cpuset_getaffinity.2 src/sys/compat/freebsd32 freebsd32_misc.c syscalls.master src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c makesyscalls.sh sched_4bsd.c ... Message-ID: <200807251751.m6PHpKP7022214@repoman.freebsd.org> jhb 2008-07-25 17:46:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys Makefile.inc Symbol.map sys/compat/freebsd32 freebsd32_misc.c syscalls.master sys/conf files sys/kern init_main.c kern_thread.c makesyscalls.sh sched_4bsd.c sched_ule.c syscalls.master sys/sys _types.h priv.h proc.h sched.h types.h Added files: (Branch: RELENG_7) lib/libc/sys cpuset.2 cpuset_getaffinity.2 sys/kern kern_cpuset.c sys/sys cpuset.h usr.bin/cpuset Makefile cpuset.1 cpuset.c Log: SVN rev 180808 on 2008-07-25 17:46:01Z by jhb MFC: Add cpuset, an api for thread to cpu binding and cpu resource grouping and assignment. This is mostly synched up with what is in HEAD with the following exceptions: - I didn't MFC any of the interrupt binding stuff as it requires other changes and I figured this change was large enough as it is. - The sched_affinity() implementation for ULE in HEAD depends on the newer CPU topology stuff as well as other changes in ULE. Rather than backport all of that, I implemented sched_affinity() using the existing CPU topology and ULE code in 7.x. Thus, any bugs in the ULE affinity stuff in 7 are purely my fault and not Jeff's. Note that, just as in HEAD, cpusets currently don't work on SCHED_4BSD (the syscalls will succeed, but they don't have any effect). Tested by: brooks, ps Revision Changes Path 1.127.2.4 +4 -2 src/lib/libc/sys/Makefile.inc 1.9.2.5 +15 -0 src/lib/libc/sys/Symbol.map 1.2.2.1 +226 -0 src/lib/libc/sys/cpuset.2 (new) 1.2.2.1 +157 -0 src/lib/libc/sys/cpuset_getaffinity.2 (new) 1.67.2.4 +57 -0 src/sys/compat/freebsd32/freebsd32_misc.c 1.91.2.4 +20 -0 src/sys/compat/freebsd32/syscalls.master 1.1243.2.30 +1 -0 src/sys/conf/files 1.283.2.5 +2 -0 src/sys/kern/init_main.c 1.13.2.1 +1002 -0 src/sys/kern/kern_cpuset.c (new) 1.255.2.5 +5 -1 src/sys/kern/kern_thread.c 1.68.2.1 +1 -1 src/sys/kern/makesyscalls.sh 1.106.2.4 +7 -0 src/sys/kern/sched_4bsd.c 1.214.2.5 +100 -44 src/sys/kern/sched_ule.c 1.233.2.3 +15 -0 src/sys/kern/syscalls.master 1.23.2.1 +3 -0 src/sys/sys/_types.h 1.7.2.1 +185 -0 src/sys/sys/cpuset.h (new) 1.15.2.5 +1 -0 src/sys/sys/priv.h 1.491.2.6 +2 -1 src/sys/sys/proc.h 1.33.2.1 +2 -1 src/sys/sys/sched.h 1.96.2.1 +4 -0 src/sys/sys/types.h 1.2.2.1 +6 -0 src/usr.bin/cpuset/Makefile (new) 1.3.2.1 +175 -0 src/usr.bin/cpuset/cpuset.1 (new) 1.5.2.1 +320 -0 src/usr.bin/cpuset/cpuset.c (new) From jhb at FreeBSD.org Fri Jul 25 17:52:14 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 25 17:52:34 2008 Subject: cvs commit: src/usr.sbin/pw pwupd.c Message-ID: <200807251752.m6PHqEae022292@repoman.freebsd.org> jhb 2008-07-25 17:50:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pw pwupd.c Log: SVN rev 180809 on 2008-07-25 17:50:43Z by jhb MFC: Properly report failure for update operations if "pwd_mkdb -C" fails. Revision Changes Path 1.20.10.1 +2 -1 src/usr.sbin/pw/pwupd.c From jhb at FreeBSD.org Fri Jul 25 17:52:16 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 25 17:52:35 2008 Subject: cvs commit: src/usr.sbin/pw pwupd.c Message-ID: <200807251752.m6PHqFMo022323@repoman.freebsd.org> jhb 2008-07-25 17:51:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/pw pwupd.c Log: SVN rev 180810 on 2008-07-25 17:51:22Z by jhb MFC: Properly report failure for update operations if "pwd_mkdb -C" fails. Revision Changes Path 1.20.2.1 +2 -1 src/usr.sbin/pw/pwupd.c From stas at FreeBSD.org Fri Jul 25 19:34:54 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Jul 25 19:35:06 2008 Subject: cvs commit: src/sys/dev/iicbus ds1339.c Message-ID: <200807251934.m6PJYs1D033323@repoman.freebsd.org> stas 2008-07-25 19:34:44 UTC FreeBSD src repository Added files: sys/dev/iicbus ds1339.c Log: SVN rev 180811 on 2008-07-25 19:34:44Z by stas - Add driver for Dallas Semiconductor DS1339 RTC sitting on I2C bus. Reviewed by: raj Approved by: imp MFC after: 2 week Revision Changes Path 1.1 +232 -0 src/sys/dev/iicbus/ds1339.c (new) From stas at FreeBSD.org Fri Jul 25 19:35:56 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Jul 25 19:36:08 2008 Subject: cvs commit: src/sys/conf files Message-ID: <200807251935.m6PJZtNg033499@repoman.freebsd.org> stas 2008-07-25 19:35:40 UTC FreeBSD src repository Modified files: sys/conf files Log: SVN rev 180812 on 2008-07-25 19:35:40Z by stas - Connect ds1339 to the build infrastructure. Reviewed by: raj Approved by: imp Revision Changes Path 1.1318 +1 -0 src/sys/conf/files From jhb at FreeBSD.org Fri Jul 25 19:43:04 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 25 19:43:15 2008 Subject: cvs commit: src/usr.bin Makefile Message-ID: <200807251943.m6PJh3Qu034134@repoman.freebsd.org> jhb 2008-07-25 19:41:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin Makefile Log: SVN rev 180813 on 2008-07-25 19:41:51Z by jhb MFC: Missed in earlier MFC, connect cpuset(1) to the build. Revision Changes Path 1.303.2.3 +1 -0 src/usr.bin/Makefile From jhb at FreeBSD.org Fri Jul 25 19:57:05 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Jul 25 19:57:17 2008 Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c src/sys/kern init_sysent.c syscalls.c systrace_args.c src/sys/sys syscall.h syscall.mk sysproto.h Message-ID: <200807251957.m6PJv5Rf035806@repoman.freebsd.org> jhb 2008-07-25 19:54:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c sys/kern init_sysent.c syscalls.c systrace_args.c sys/sys syscall.h syscall.mk sysproto.h Log: SVN rev 180814 on 2008-07-25 19:54:10Z by jhb Regen after cpuset changes. Prodded by: kib Revision Changes Path 1.78.2.3 +39 -1 src/sys/compat/freebsd32/freebsd32_proto.h 1.76.2.3 +7 -2 src/sys/compat/freebsd32/freebsd32_syscall.h 1.67.2.3 +8 -1 src/sys/compat/freebsd32/freebsd32_syscalls.c 1.77.2.3 +8 -2 src/sys/compat/freebsd32/freebsd32_sysent.c 1.230.2.3 +8 -2 src/sys/kern/init_sysent.c 1.214.2.3 +8 -1 src/sys/kern/syscalls.c 1.14.2.3 +48 -0 src/sys/kern/systrace_args.c 1.211.2.3 +7 -2 src/sys/sys/syscall.h 1.166.2.3 +7 -2 src/sys/sys/syscall.mk 1.215.2.3 +40 -1 src/sys/sys/sysproto.h From brooks at FreeBSD.org Fri Jul 25 19:58:26 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Fri Jul 25 19:58:38 2008 Subject: cvs commit: src/lib/libutil login.conf.5 login_cap.h login_class.3 login_class.c Message-ID: <200807251958.m6PJwQld035936@repoman.freebsd.org> brooks 2008-07-25 19:58:14 UTC FreeBSD src repository Modified files: lib/libutil login.conf.5 login_cap.h login_class.3 login_class.c Log: SVN rev 180815 on 2008-07-25 19:58:14Z by brooks Add support for a new login capability, cpumask which allows login sessions to be pinned to cpus by login class. Revision Changes Path 1.61 +9 -0 src/lib/libutil/login.conf.5 1.10 +2 -1 src/lib/libutil/login_cap.h 1.20 +14 -0 src/lib/libutil/login_class.3 1.26 +107 -0 src/lib/libutil/login_class.c From trhodes at FreeBSD.org Fri Jul 25 23:54:16 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Fri Jul 25 23:54:22 2008 Subject: cvs commit: src/sys/netipx ipx_input.c ipx_usrreq.c Message-ID: <200807252354.m6PNsEiD069668@repoman.freebsd.org> trhodes 2008-07-25 23:54:07 UTC FreeBSD src repository Modified files: sys/netipx ipx_input.c ipx_usrreq.c Log: SVN rev 180816 on 2008-07-25 23:54:07Z by trhodes Begin the sysctl descriptions with a capital letter. Make some slight wording tweaks. Revision Changes Path 1.60 +4 -4 src/sys/netipx/ipx_input.c 1.64 +2 -2 src/sys/netipx/ipx_usrreq.c From trhodes at FreeBSD.org Fri Jul 25 23:58:19 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Fri Jul 25 23:58:26 2008 Subject: cvs commit: src/sys/net bpf_buffer.c Message-ID: <200807252358.m6PNwFMv070018@repoman.freebsd.org> trhodes 2008-07-25 23:58:09 UTC FreeBSD src repository Modified files: sys/net bpf_buffer.c Log: SVN rev 180817 on 2008-07-25 23:58:09Z by trhodes Fill in BPF sysctl descriptions. Reviewed by: csjp Revision Changes Path 1.3 +2 -2 src/sys/net/bpf_buffer.c From trhodes at FreeBSD.org Sat Jul 26 00:01:32 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sat Jul 26 00:01:38 2008 Subject: cvs commit: src/sys/dev/atkbdc psm.c Message-ID: <200807260001.m6Q01VP4070322@repoman.freebsd.org> trhodes 2008-07-26 00:01:19 UTC FreeBSD src repository Modified files: sys/dev/atkbdc psm.c Log: SVN rev 180818 on 2008-07-26 00:01:19Z by trhodes Fill in sysctl descriptions. Approved by: philip Revision Changes Path 1.98 +18 -10 src/sys/dev/atkbdc/psm.c From marcel at FreeBSD.org Sat Jul 26 00:02:59 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 26 00:03:16 2008 Subject: cvs commit: src/sys/geom/part g_part_apm.c g_part_bsd.c g_part_gpt.c g_part_mbr.c g_part_pc98.c g_part_vtoc8.c src/sys/sys apm.h Message-ID: <200807260002.m6Q02xM1070467@repoman.freebsd.org> marcel 2008-07-26 00:01:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/geom/part g_part_apm.c g_part_bsd.c g_part_gpt.c g_part_mbr.c g_part_pc98.c g_part_vtoc8.c sys/sys apm.h Log: SVN rev 180819 on 2008-07-26 00:01:25Z by marcel MFC r179747-179748,179750-179752,179755-179756 Add the raw partition type to the XML. Revision Changes Path 1.3.2.3 +19 -5 src/sys/geom/part/g_part_apm.c 1.3.2.3 +10 -4 src/sys/geom/part/g_part_bsd.c 1.3.2.4 +14 -6 src/sys/geom/part/g_part_gpt.c 1.2.2.3 +10 -4 src/sys/geom/part/g_part_mbr.c 1.3.2.2 +11 -4 src/sys/geom/part/g_part_pc98.c 1.1.2.3 +12 -6 src/sys/geom/part/g_part_vtoc8.c 1.1.2.2 +5 -2 src/sys/sys/apm.h From trhodes at FreeBSD.org Sat Jul 26 00:56:38 2008 From: trhodes at FreeBSD.org (Tom Rhodes) Date: Sat Jul 26 00:56:45 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c src/sys/netipsec ipsec.c Message-ID: <200807260056.m6Q0ucTW085403@repoman.freebsd.org> trhodes 2008-07-26 00:55:35 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c sys/netipsec ipsec.c Log: SVN rev 180820 on 2008-07-26 00:55:35Z by trhodes Fill in a few sysctl descriptions. Approved by: rwatson Revision Changes Path 1.216 +10 -7 src/sys/kern/uipc_usrreq.c 1.30 +29 -24 src/sys/netipsec/ipsec.c From marcel at FreeBSD.org Sat Jul 26 01:08:36 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 26 01:08:48 2008 Subject: cvs commit: src/sys/geom/part g_part_gpt.c Message-ID: <200807260108.m6Q18aJU087465@repoman.freebsd.org> marcel 2008-07-26 01:08:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/geom/part g_part_gpt.c Log: SVN rev 180821 on 2008-07-26 01:08:20Z by marcel MFC r179763 Finish the support for partition labels and add it to the XML. Revision Changes Path 1.3.2.5 +86 -10 src/sys/geom/part/g_part_gpt.c From max at love2party.net Sat Jul 26 02:05:55 2008 From: max at love2party.net (Max Laier) Date: Sat Jul 26 02:06:01 2008 Subject: cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h In-Reply-To: <200807241923.59501.max@love2party.net> References: <200807230944.m6N9iiXP061558@repoman.freebsd.org> <200807241923.59501.max@love2party.net> Message-ID: <200807260405.52610.max@love2party.net> On Thursday 24 July 2008 17:23:59 Max Laier wrote: > On Wednesday 23 July 2008 11:44:36 Luoqi Chen wrote: > > luoqi 2008-07-23 09:44:36 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/pci pci.c pci_pci.c pcivar.h > > Log: > > SVN rev 180753 on 2008-07-23 09:44:36Z by luoqi > > > > SATA device on some nForce based boards could get confused if MSI is > > not used but MSI to HyperTransport IRQ mapping is enabled, and would > > act as if MSI is turned on, resulting in interrupt loss. > > > > This commit will, > > 1. enable MSI mapping on a device only when MSI is enabled for that > > device and the MSI address matches the HT mapping window. > > 2. enable MSI mapping on a bridge only when a downstream device is > > allocated an MSI address in the mapping window > > > > PR: kern/118842 > > Reviewed by: jhb > > MFC after: 1 week > > > > Revision Changes Path > > 1.358 +42 -4 src/sys/dev/pci/pci.c > > 1.51 +7 -1 src/sys/dev/pci/pci_pci.c > > 1.83 +10 -0 src/sys/dev/pci/pcivar.h > > Doesn't fix kern/118842 for me (P5N-E SLI) ... let me know if I can > provide any additional information to help. Thank you for working on > this. Okay ... to be more specific: works on amd64 \o/ THANKS A TON! Does not work on i386, though. -- Max From kib at FreeBSD.org Sat Jul 26 13:18:45 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sat Jul 26 13:18:50 2008 Subject: cvs commit: src/sbin/mksnap_ffs mksnap_ffs.8 Message-ID: <200807261318.m6QDIiQb091852@repoman.freebsd.org> kib 2008-07-26 13:18:33 UTC FreeBSD src repository Modified files: sbin/mksnap_ffs mksnap_ffs.8 Log: SVN rev 180822 on 2008-07-26 13:18:33Z by kib Note that snapshots may cause a panic on the full UFS filesystem. Submitted by: pho MFC after: 3 days Revision Changes Path 1.4 +3 -0 src/sbin/mksnap_ffs/mksnap_ffs.8 From ache at FreeBSD.org Sat Jul 26 15:39:46 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Sat Jul 26 15:39:53 2008 Subject: cvs commit: src/usr.sbin/rtadvd rtadvd.c Message-ID: <200807261539.m6QFdk6e006876@repoman.freebsd.org> ache 2008-07-26 15:39:32 UTC FreeBSD src repository Modified files: usr.sbin/rtadvd rtadvd.c Log: SVN rev 180823 on 2008-07-26 15:39:32Z by ache Change 2 arc4random modulo operations to arc4random_uniform() as OpenBSD does, since modulo is not power of 2. Obtained from: OpenBSD Revision Changes Path 1.28 +2 -2 src/usr.sbin/rtadvd/rtadvd.c From ache at FreeBSD.org Sat Jul 26 15:46:48 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Sat Jul 26 15:47:00 2008 Subject: cvs commit: src/usr.sbin/rtsold rtsold.c Message-ID: <200807261546.m6QFkmR1007532@repoman.freebsd.org> ache 2008-07-26 15:46:39 UTC FreeBSD src repository Modified files: usr.sbin/rtsold rtsold.c Log: SVN rev 180824 on 2008-07-26 15:46:39Z by ache Change arc4random to arc4random_uniform since modulo is not power of 2, as OpenBSD does. Obtained from: OpenBSD Revision Changes Path 1.23 +1 -1 src/usr.sbin/rtsold/rtsold.c From ache at FreeBSD.org Sat Jul 26 16:42:50 2008 From: ache at FreeBSD.org (Andrey A. Chernov) Date: Sat Jul 26 16:43:01 2008 Subject: cvs commit: src/sys/libkern arc4random.c Message-ID: <200807261642.m6QGgnQI013970@repoman.freebsd.org> ache 2008-07-26 16:42:45 UTC FreeBSD src repository Modified files: sys/libkern arc4random.c Log: SVN rev 180825 on 2008-07-26 16:42:45Z by ache Return arc4_i = arc4_j = 0; line from previous backing out since just found it in OpenBSD, see their sys/crypto/arc4.c, function rc4_keysetup, line ctx->x = ctx->y = 0; Obtained from: OpenBSD Revision Changes Path 1.15 +1 -0 src/sys/libkern/arc4random.c From imp at FreeBSD.org Sat Jul 26 17:04:36 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Jul 26 17:04:51 2008 Subject: cvs commit: src/sys/dev/wi if_wi.c Message-ID: <200807261704.m6QH4aPH026215@repoman.freebsd.org> imp 2008-07-26 17:04:30 UTC FreeBSD src repository Modified files: sys/dev/wi if_wi.c Log: SVN rev 180826 on 2008-07-26 17:04:30Z by imp Register the interrupt handler at the end of wi_attach rather than at the beginning. There's a race in the shared interrutp case. If another interrupt happens after the interrupt is setup, then we'd try to lock an uninitialized mutex. In addition, if we bailed out due to a too old version of firmware, we'd leave the interrupt enabled with all the fun that ensues.... Revision Changes Path 1.219 +11 -13 src/sys/dev/wi/if_wi.c From simon at FreeBSD.org Sat Jul 26 17:22:52 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sat Jul 26 17:23:04 2008 Subject: cvs commit: src/usr.bin/tar bsdtar.1 Message-ID: <200807261722.m6QHMqRK028049@repoman.freebsd.org> simon 2008-07-26 17:22:40 UTC FreeBSD src repository Modified files: usr.bin/tar bsdtar.1 Log: SVN rev 180827 on 2008-07-26 17:22:40Z by simon - Fix mtree example so it works. - Document --version. Reviewed by: kientzle MFC after: 1 week Revision Changes Path 1.44 +7 -0 src/usr.bin/tar/bsdtar.1 From mav at FreeBSD.org Sat Jul 26 17:32:24 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sat Jul 26 17:32:32 2008 Subject: cvs commit: src/sys/netinet raw_ip.c Message-ID: <200807261732.m6QHWNBr028820@repoman.freebsd.org> mav 2008-07-26 17:32:15 UTC FreeBSD src repository Modified files: sys/netinet raw_ip.c Log: SVN rev 180828 on 2008-07-26 17:32:15Z by mav Add hash table lookup for a fully connected raw sockets. This gives significant performance improvements when many raw sockets used. Benchmarks of mpd handeling 1000 simultaneous PPTP connections show up to 50% performance boost. With higher number of connections benefit becomes even bigger. PopTop snd others should also get some benefits. Revision Changes Path 1.189 +80 -9 src/sys/netinet/raw_ip.c From imp at FreeBSD.org Sat Jul 26 18:31:56 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sat Jul 26 18:32:07 2008 Subject: cvs commit: src/share/man/man4 wi.4 Message-ID: <200807261831.m6QIVt15034651@repoman.freebsd.org> imp 2008-07-26 18:31:39 UTC FreeBSD src repository Modified files: share/man/man4 wi.4 Log: SVN rev 180829 on 2008-07-26 18:31:39Z by imp Add a few clarifications to this man page. Also, add a table that describes the minimum versions of each feature and each chipset type supported by this driver. Basically, unless you have a very modern version of firmware on a Prism card, you won't be able to use these cards for much on modern networks that have any kind of protection enabled, except for the few WEP-only stranglers that appear at some conferences... Revision Changes Path 1.76 +18 -0 src/share/man/man4/wi.4 From kib at FreeBSD.org Sat Jul 26 18:58:57 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sat Jul 26 18:59:11 2008 Subject: cvs commit: src/sys/kern kern_thread.c Message-ID: <200807261858.m6QIwuL8037138@repoman.freebsd.org> kib 2008-07-26 18:58:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_thread.c Log: SVN rev 180830 on 2008-07-26 18:58:50Z by kib Although being recorded as MFC of the r177369, this change was introduced for the KSE case in the r177083. Both were done by jeff, MFC is needed due to recent cpuset(2) commit to RELENG_7. r177083: KSE may free a thread that was never actually forked. This will leave td_cpuset NULL. Check for this condition before dereferencing the cpuset. r177369: Restore the NULL check for td_cpuset. This can happen if a partially constructed thread was torn down as is the case when we fail to allocate a kernel stack. Revision Changes Path 1.255.2.6 +2 -1 src/sys/kern/kern_thread.c From marcel at FreeBSD.org Sat Jul 26 19:32:28 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 26 19:32:34 2008 Subject: cvs commit: src/sys/geom/part g_part.c g_part.h g_part_if.m g_part_mbr.c Message-ID: <200807261932.m6QJWRPQ040970@repoman.freebsd.org> marcel 2008-07-26 19:32:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/geom/part g_part.c g_part.h g_part_if.m g_part_mbr.c Log: SVN rev 180831 on 2008-07-26 19:32:10Z by marcel MFC r179853 Add the set and unset verbs used to set and clear attributes for partition entries. Revision Changes Path 1.9.2.5 +75 -2 src/sys/geom/part/g_part.c 1.3.2.5 +3 -1 src/sys/geom/part/g_part.h 1.2.2.2 +9 -1 src/sys/geom/part/g_part_if.m 1.2.2.4 +43 -1 src/sys/geom/part/g_part_mbr.c From darrenr at FreeBSD.org Sat Jul 26 19:46:14 2008 From: darrenr at FreeBSD.org (Darren Reed) Date: Sat Jul 26 19:46:26 2008 Subject: cvs commit: src/sys/contrib/ipfilter/netinet ip_nat.c Message-ID: <200807261946.m6QJkD36042100@repoman.freebsd.org> darrenr 2008-07-26 19:46:00 UTC FreeBSD src repository Modified files: sys/contrib/ipfilter/netinet ip_nat.c Log: SVN rev 180832 on 2008-07-26 19:46:00Z by darrenr 2020447 IPFilter's NAT can undo name server random port selection (fix output port range, was a random number in [0,max-min] (byteswapped on litle endian), instead of [min,max]) Submitted by: darrenr Revision Changes Path 1.46 +3 -1 src/sys/contrib/ipfilter/netinet/ip_nat.c From mav at FreeBSD.org Sat Jul 26 21:12:15 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sat Jul 26 21:12:22 2008 Subject: cvs commit: src/sys/netinet raw_ip.c Message-ID: <200807262112.m6QLCFFE060558@repoman.freebsd.org> mav 2008-07-26 21:12:00 UTC FreeBSD src repository Modified files: sys/netinet raw_ip.c Log: SVN rev 180833 on 2008-07-26 21:12:00Z by mav According to in_pcb.h protocol binding information has double locking. It allows access it while list travercing holding only global pcbinfo lock. This relaxed locking noticably increses receive socket lookup performance. Revision Changes Path 1.190 +22 -24 src/sys/netinet/raw_ip.c From marcel at FreeBSD.org Sat Jul 26 22:52:18 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 26 22:52:29 2008 Subject: cvs commit: src/lib/libdisk open_disk.c Message-ID: <200807262252.m6QMqHM1070361@repoman.freebsd.org> marcel 2008-07-26 22:52:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libdisk open_disk.c Log: SVN rev 180834 on 2008-07-26 22:52:12Z by marcel MFC 178451 Add support for gpart Revision Changes Path 1.12.2.1 +10 -6 src/lib/libdisk/open_disk.c From marcel at FreeBSD.org Sat Jul 26 22:55:34 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Sat Jul 26 22:55:40 2008 Subject: cvs commit: src/sbin/geom/class/part geom_part.c gpart.8 Message-ID: <200807262255.m6QMtXiN070625@repoman.freebsd.org> marcel 2008-07-26 22:55:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/geom/class/part geom_part.c gpart.8 Log: SVN rev 180835 on 2008-07-26 22:55:15Z by marcel MFC 179854 Implement the set and unset verbs. Revision Changes Path 1.1.2.3 +62 -9 src/sbin/geom/class/part/geom_part.c 1.1.2.3 +53 -7 src/sbin/geom/class/part/gpart.8 From mav at FreeBSD.org Sat Jul 26 23:07:51 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sat Jul 26 23:08:02 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200807262307.m6QN7oKS072752@repoman.freebsd.org> mav 2008-07-26 23:07:34 UTC FreeBSD src repository Modified files: sys/netinet udp_usrreq.c Log: SVN rev 180836 on 2008-07-26 23:07:34Z by mav Increase UDBHASHSIZE from 16 to 128 items. Previous value was chosen 10 years ago and not very effective now. This change gives several percents speedup on 1000 L2TP mpd links. Revision Changes Path 1.234 +1 -1 src/sys/netinet/udp_usrreq.c From sam at FreeBSD.org Sat Jul 26 23:50:37 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Jul 26 23:50:48 2008 Subject: cvs commit: src/sys/net80211 ieee80211_hostap.c Message-ID: <200807262350.m6QNoaaA076183@repoman.freebsd.org> sam 2008-07-26 23:50:27 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_hostap.c Log: SVN rev 180837 on 2008-07-26 23:50:27Z by sam don't deauth a station because it sends a ps-poll w/ a bogus aid in it; turns out some devices do this and since we otherwise validate the station is associated and don't use the aid for anything being lenient here allows them to function Submitted by: Chris Zimmermann MFC after: 2 weeks Revision Changes Path 1.2 +8 -2 src/sys/net80211/ieee80211_hostap.c From julian at FreeBSD.org Sun Jul 27 00:42:24 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Sun Jul 27 00:42:35 2008 Subject: cvs commit: src/sys/net if_gre.c Message-ID: <200807270042.m6R0gNu6085456@repoman.freebsd.org> julian 2008-07-27 00:42:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_gre.c Log: SVN rev 180838 on 2008-07-27 00:42:05Z by julian MFC of a local variable change to not shadow a global config var. Revision Changes Path 1.46.2.3 +7 -7 src/sys/net/if_gre.c From julian at FreeBSD.org Sun Jul 27 00:44:40 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Sun Jul 27 00:44:45 2008 Subject: cvs commit: src/sys/net if_gre.c Message-ID: <200807270044.m6R0idlN085652@repoman.freebsd.org> julian 2008-07-27 00:44:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_gre.c Log: SVN rev 180839 on 2008-07-27 00:44:30Z by julian MFC the ability to send WCCP style GRE packets as well as just receive them. Revision Changes Path 1.46.2.4 +9 -3 src/sys/net/if_gre.c From julian at FreeBSD.org Sun Jul 27 01:29:42 2008 From: julian at FreeBSD.org (Julian Elischer) Date: Sun Jul 27 01:29:50 2008 Subject: cvs commit: src/sys/net route.c Message-ID: <200807270129.m6R1Tgbi004635@repoman.freebsd.org> julian 2008-07-27 01:29:28 UTC FreeBSD src repository Modified files: sys/net route.c Log: SVN rev 180840 on 2008-07-27 01:29:28Z by julian Add the ability to add new addresses for interfacesto just one FIB (Other more specific related options will follow) This allows one to set multiple p2p links to the same place and select which to use by having each in different FIBS. Revision Changes Path 1.132 +23 -3 src/sys/net/route.c From marck at FreeBSD.org Sun Jul 27 07:19:47 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Sun Jul 27 07:19:59 2008 Subject: cvs commit: src/usr.sbin/cron/cron cron.8 cron.c cron.h do_command.c Message-ID: <200807270719.m6R7JlUT049238@repoman.freebsd.org> marck 2008-07-27 07:19:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/cron/cron cron.8 cron.c cron.h do_command.c Log: SVN rev 180841 on 2008-07-27 07:19:30Z by marck MFC r180096: Add -m option to cron(8), overriding default mail recipient for cron mails, unless explicitly provided by MAILTO= line in crontab. This feature can be useful in massive hosting environment, where most users do not care about autogenerated mails. Setting recipient to null string disables default mails at all. Approved by: yar Revision Changes Path 1.25.2.1 +19 -1 src/usr.sbin/cron/cron/cron.8 1.18.2.1 +5 -2 src/usr.sbin/cron/cron/cron.c 1.17.2.1 +4 -2 src/usr.sbin/cron/cron/cron.h 1.27.2.1 +8 -12 src/usr.sbin/cron/cron/do_command.c From marck at FreeBSD.org Sun Jul 27 07:22:48 2008 From: marck at FreeBSD.org (Dmitry Morozovsky) Date: Sun Jul 27 07:23:01 2008 Subject: cvs commit: src/usr.sbin/cron/cron cron.8 cron.c cron.h do_command.c Message-ID: <200807270722.m6R7MldT049570@repoman.freebsd.org> marck 2008-07-27 07:22:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/cron/cron cron.8 cron.c cron.h do_command.c Log: SVN rev 180842 on 2008-07-27 07:22:35Z by marck MFC r180096: Add -m option to cron(8), overriding default mail recipient for cron mails, unless explicitly provided by MAILTO= line in crontab. This feature can be useful in massive hosting environment, where most users do not care about autogenerated mails. Setting recipient to null string disables default mails at all. Approved by: yar Revision Changes Path 1.24.2.1 +19 -1 src/usr.sbin/cron/cron/cron.8 1.15.8.2 +5 -2 src/usr.sbin/cron/cron/cron.c 1.15.8.2 +4 -2 src/usr.sbin/cron/cron/cron.h 1.22.8.3 +8 -12 src/usr.sbin/cron/cron/do_command.c From pjd at FreeBSD.org Sun Jul 27 11:46:53 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sun Jul 27 11:47:05 2008 Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200807271146.m6RBkpTh084590@repoman.freebsd.org> pjd 2008-07-27 11:46:42 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: SVN rev 180843 on 2008-07-27 11:46:42Z by pjd - Move vp test for beeing NULL under IGNORE_LOCK(). - Check if panicstr isn't set, if it is ignore the lock. This helps to avoid confusion, because lockmgr is a no-op when panicstr isn't NULL, so asserting anything at this point doesn't make sense and can just race with other panic. Discussed with: kib Revision Changes Path 1.734 +7 -10 src/sys/kern/vfs_subr.c From pjd at FreeBSD.org Sun Jul 27 11:48:23 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Sun Jul 27 11:48:34 2008 Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200807271148.m6RBmLVI084717@repoman.freebsd.org> pjd 2008-07-27 11:48:15 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: SVN rev 180844 on 2008-07-27 11:48:15Z by pjd Assert for exclusive vnode lock in vinactive(), vrecycle() and vgonel() functions. Reviewed by: kib Revision Changes Path 1.735 +3 -3 src/sys/kern/vfs_subr.c From alc at FreeBSD.org Sun Jul 27 17:32:55 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sun Jul 27 17:33:07 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807271732.m6RHWtqo043358@repoman.freebsd.org> alc 2008-07-27 17:32:36 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180845 on 2008-07-27 17:32:36Z by alc Enhance pmap_change_attr(). Use pmap_demote_pde() to demote a 2MB page mapping to 4KB page mappings when the specified attribute change only applies to a portion of the 2MB page. Previously, in such cases, pmap_change_attr() gave up and returned an error. Submitted by: Magesh Dhasayyan Revision Changes Path 1.635 +22 -9 src/sys/amd64/amd64/pmap.c From alc at FreeBSD.org Sun Jul 27 18:19:57 2008 From: alc at FreeBSD.org (Alan Cox) Date: Sun Jul 27 18:20:08 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c Message-ID: <200807271819.m6RIJuqn048272@repoman.freebsd.org> alc 2008-07-27 18:18:50 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c Log: SVN rev 180846 on 2008-07-27 18:18:50Z by alc Style fixes to several function definitions. Revision Changes Path 1.636 +4 -8 src/sys/amd64/amd64/pmap.c 1.624 +4 -8 src/sys/i386/i386/pmap.c From sam at FreeBSD.org Sun Jul 27 18:50:40 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Jul 27 18:51:58 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807271850.m6RIod2P050911@repoman.freebsd.org> sam 2008-07-27 18:50:30 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180847 on 2008-07-27 18:50:30Z by sam add sephe so i can remove him Revision Changes Path 1.11 +1 -0 CVSROOT/mentors From sam at FreeBSD.org Sun Jul 27 18:51:40 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sun Jul 27 18:52:45 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807271851.m6RIpeUq051082@repoman.freebsd.org> sam 2008-07-27 18:51:24 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180848 on 2008-07-27 18:51:24Z by sam release sephe from mentorship; he's long since been on his own, my bad for not handling the bookkeeping Revision Changes Path 1.12 +0 -1 CVSROOT/mentors From delphij at FreeBSD.org Sun Jul 27 18:55:43 2008 From: delphij at FreeBSD.org (Xin LI) Date: Sun Jul 27 18:55:54 2008 Subject: cvs commit: src/sys/kern kern_jail.c src/sys/sys jail.h Message-ID: <200807271855.m6RIthaU051442@repoman.freebsd.org> delphij 2008-07-27 18:55:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_jail.c sys/sys jail.h Log: SVN rev 180849 on 2008-07-27 18:55:03Z by delphij MFC r179881: Revert rev. 178124 as requested by kris@. Having jail id not being reused too frequently is useful for script controlled environment. Revision Changes Path 1.70.2.3 +24 -18 src/sys/kern/kern_jail.c 1.29.2.2 +2 -0 src/sys/sys/jail.h From mav at FreeBSD.org Sun Jul 27 20:30:45 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Jul 27 20:30:55 2008 Subject: cvs commit: src/sys/netinet6 icmp6.c raw_ip6.c Message-ID: <200807272030.m6RKUjcc062450@repoman.freebsd.org> mav 2008-07-27 20:30:34 UTC FreeBSD src repository Modified files: sys/netinet6 icmp6.c raw_ip6.c Log: SVN rev 180850 on 2008-07-27 20:30:34Z by mav According to in_pcb.h protocol binding information has double locking. It allows access it while list travercing holding only global pcbinfo lock. Revision Changes Path 1.86 +7 -10 src/sys/netinet6/icmp6.c 1.81 +7 -10 src/sys/netinet6/raw_ip6.c From mav at FreeBSD.org Sun Jul 27 20:48:32 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Jul 27 20:48:49 2008 Subject: cvs commit: src/sys/netinet ip_divert.c Message-ID: <200807272048.m6RKmVNO073354@repoman.freebsd.org> mav 2008-07-27 20:48:22 UTC FreeBSD src repository Modified files: sys/netinet ip_divert.c Log: SVN rev 180851 on 2008-07-27 20:48:22Z by mav According to in_pcb.h protocol binding information has double locking. It allows access it while list travercing holding only global pcbinfo lock. Revision Changes Path 1.134 +1 -2 src/sys/netinet/ip_divert.c From kmacy at FreeBSD.org Sun Jul 27 21:45:33 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Sun Jul 27 21:46:20 2008 Subject: cvs commit: src/sys/kern subr_lock.c Message-ID: <200807272145.m6RLjXLF080463@repoman.freebsd.org> kmacy 2008-07-27 21:45:20 UTC FreeBSD src repository Modified files: sys/kern subr_lock.c Log: SVN rev 180852 on 2008-07-27 21:45:20Z by kmacy - track maximum wait time - resize columns based on actual observed numerical values MFC after: 3 days Revision Changes Path 1.24 +9 -4 src/sys/kern/subr_lock.c From rwatson at FreeBSD.org Sun Jul 27 23:16:50 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Jul 27 23:17:01 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807272316.m6RNGofh090069@repoman.freebsd.org> rwatson 2008-07-27 23:16:39 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180853 on 2008-07-27 23:16:39Z by rwatson Add Antoine to the mentorees list. Revision Changes Path 1.13 +1 -0 CVSROOT/mentors From rwatson at FreeBSD.org Sun Jul 27 23:28:06 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Jul 27 23:28:18 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807272328.m6RNS6DP090924@repoman.freebsd.org> rwatson 2008-07-27 23:27:54 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180854 on 2008-07-27 23:27:54Z by rwatson Remove antoine from the mentees list to reflect that I'm unmentoring him to frollic more untethered in the fields of FreeBSD flowers (or something). Revision Changes Path 1.14 +0 -1 CVSROOT/mentors From rwatson at FreeBSD.org Sun Jul 27 23:28:42 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Jul 27 23:28:53 2008 Subject: cvs commit: src/sys/kern subr_autoconf.c Message-ID: <200807272328.m6RNSbA4090987@repoman.freebsd.org> rwatson 2008-07-27 23:28:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern subr_autoconf.c Log: SVN rev 180855 on 2008-07-27 23:28:29Z by rwatson Merge r180610, r180616, r180673 from head to stable/7: Add DDB "show conifhk" command, which lists hooks currently waiting for completion in run_interrupt_driven_config_hooks(). This is helpful when trying to figure out which device drivers have gone into la-la land during boot-time autoconfiguration. Rather than simply waiting silently and indefinitely for all interrupt-driven configuration handlers to complete, print out a diagnostic message every 60 second indicating which handlers are still running. Do this at most 5 times per run so as to avoid scrolling out any useful information from the kernel message buffer. The interval of 60 seconds was selected based on a best guess as to the nature of "long enough" and may want to be tuned higher or lower depending on real-world tolerances. If run_interrupt_driven_config_hooks() waits 360 seconds and INVARIANTS is compiled into the kernel, then panic. Discussed with: scottl Revision Changes Path 1.23.2.3 +66 -2 src/sys/kern/subr_autoconf.c From yongari at FreeBSD.org Mon Jul 28 00:29:39 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 00:29:46 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c if_jmereg.h if_jmevar.h Message-ID: <200807280029.m6S0TdwP097187@repoman.freebsd.org> yongari 2008-07-28 00:29:26 UTC FreeBSD src repository Added files: (Branch: RELENG_6) sys/dev/jme if_jme.c if_jmereg.h if_jmevar.h Log: SVN rev 180856 on 2008-07-28 00:29:26Z by yongari MFC r179337. Add driver support for PCIe adapters based on JMicron JMC250 gigabit ethernet and JMC260 fast ethernet controllers. ATM jme(4) supports all hardware features except RSS and multiple Tx/Rx queue. In these days most ethernet controller vendors take a ply of concealing hardware detailes from open source developers. As contrasted with these vendors JMicron provided all necessary information needed to write a stable driver during driver writing and answered many questions I had. They even helped fixing driver bugs with protocol analyzer. Many thanks to JMicron for their support of FreeBSD. H/W donated by: JMicron Revision Changes Path 1.2.2.1 +3083 -0 src/sys/dev/jme/if_jme.c (new) 1.1.4.1 +1010 -0 src/sys/dev/jme/if_jmereg.h (new) 1.1.4.1 +232 -0 src/sys/dev/jme/if_jmevar.h (new) From yongari at FreeBSD.org Mon Jul 28 01:31:41 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 01:31:49 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200807280131.m6S1VeHv012976@repoman.freebsd.org> yongari 2008-07-28 01:31:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/jme if_jme.c Log: SVN rev 180857 on 2008-07-28 01:31:24Z by yongari Add compatibility code to build jme(4) on stable/6. Revision Changes Path 1.2.2.2 +62 -2 src/sys/dev/jme/if_jme.c From yongari at FreeBSD.org Mon Jul 28 01:47:35 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 01:47:41 2008 Subject: cvs commit: src/sys/conf NOTES files src/sys/modules Makefile src/sys/modules/jme Makefile Message-ID: <200807280147.m6S1lYFC014332@repoman.freebsd.org> yongari 2008-07-28 01:47:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/conf NOTES files sys/modules Makefile Added files: (Branch: RELENG_6) sys/modules/jme Makefile Log: SVN rev 180858 on 2008-07-28 01:47:06Z by yongari MFC r179338. Hook up jme(4) to the build. Revision Changes Path 1.1325.2.43 +1 -0 src/sys/conf/NOTES 1.1031.2.76 +1 -0 src/sys/conf/files 1.450.2.39 +1 -0 src/sys/modules/Makefile 1.1.4.1 +8 -0 src/sys/modules/jme/Makefile (new) From yongari at FreeBSD.org Mon Jul 28 01:51:38 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 01:51:49 2008 Subject: cvs commit: src/share/man/man4 jme.4 Message-ID: <200807280151.m6S1pbuH014683@repoman.freebsd.org> yongari 2008-07-28 01:51:25 UTC FreeBSD src repository Added files: (Branch: RELENG_6) share/man/man4 jme.4 Log: SVN rev 180859 on 2008-07-28 01:51:25Z by yongari MFC r179339. Add man page for jme(4). Revision Changes Path 1.1.4.1 +153 -0 src/share/man/man4/jme.4 (new) From yongari at FreeBSD.org Mon Jul 28 01:56:54 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 01:57:00 2008 Subject: cvs commit: src/share/man/man4 vlan.4 Message-ID: <200807280156.m6S1urck015112@repoman.freebsd.org> yongari 2008-07-28 01:56:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 vlan.4 Log: SVN rev 180860 on 2008-07-28 01:56:42Z by yongari MFC r179340. Add jme(4) to the list of devices supporting full VLAN processing in hardware. Revision Changes Path 1.23.2.10 +2 -1 src/share/man/man4/vlan.4 From yongari at FreeBSD.org Mon Jul 28 02:00:11 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 02:00:23 2008 Subject: cvs commit: src/share/man/man4 altq.4 Message-ID: <200807280200.m6S20Asb015397@repoman.freebsd.org> yongari 2008-07-28 02:00:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 altq.4 Log: SVN rev 180861 on 2008-07-28 02:00:00Z by yongari MFC r179341. Add jme(4) to the list of drivers supporting ALTQ. Revision Changes Path 1.13.2.12 +2 -1 src/share/man/man4/altq.4 From yongari at FreeBSD.org Mon Jul 28 02:02:11 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 02:02:22 2008 Subject: cvs commit: src/share/man/man4 miibus.4 Message-ID: <200807280202.m6S22BIV015585@repoman.freebsd.org> yongari 2008-07-28 02:01:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 miibus.4 Log: SVN rev 180862 on 2008-07-28 02:01:54Z by yongari MFC r179342. Add jme(4) to the list of drivers use the miibus interface. Revision Changes Path 1.15.2.6 +4 -1 src/share/man/man4/miibus.4 From yongari at FreeBSD.org Mon Jul 28 02:06:42 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 02:06:54 2008 Subject: cvs commit: src/sys/boot/forth loader.conf Message-ID: <200807280206.m6S26gxb017145@repoman.freebsd.org> yongari 2008-07-28 02:06:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/boot/forth loader.conf Log: SVN rev 180863 on 2008-07-28 02:06:35Z by yongari MFC r179343. Add an entry for the jme(4) module. Revision Changes Path 1.95.2.14 +1 -0 src/sys/boot/forth/loader.conf From yongari at FreeBSD.org Mon Jul 28 02:14:14 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 02:14:19 2008 Subject: cvs commit: src/usr.sbin/sysinstall devices.c Message-ID: <200807280214.m6S2EDHK017753@repoman.freebsd.org> yongari 2008-07-28 02:13:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/sysinstall devices.c Log: SVN rev 180864 on 2008-07-28 02:13:59Z by yongari MFC r179344. Add jme(4) to the list of supported network interface. Revision Changes Path 1.160.2.9 +1 -0 src/usr.sbin/sysinstall/devices.c From yongari at FreeBSD.org Mon Jul 28 02:17:00 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 02:17:06 2008 Subject: cvs commit: src/share/man/man4 Makefile Message-ID: <200807280216.m6S2GxXS017999@repoman.freebsd.org> yongari 2008-07-28 02:16:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 Makefile Log: SVN rev 180865 on 2008-07-28 02:16:47Z by yongari MFC r179346. Hook up jme(4) to the build. Revision Changes Path 1.320.2.34 +1 -0 src/share/man/man4/Makefile From yongari at FreeBSD.org Mon Jul 28 02:21:36 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 02:21:47 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC src/sys/i386/conf GENERIC Message-ID: <200807280221.m6S2LZ2K018422@repoman.freebsd.org> yongari 2008-07-28 02:20:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/conf GENERIC sys/i386/conf GENERIC Log: SVN rev 180866 on 2008-07-28 02:20:29Z by yongari MFC r179347. Add jme(4) to the list of drivers supported by GENERIC kernel. Revision Changes Path 1.439.2.21 +1 -0 src/sys/amd64/conf/GENERIC 1.429.2.18 +1 -0 src/sys/i386/conf/GENERIC From davidxu at FreeBSD.org Mon Jul 28 02:22:37 2008 From: davidxu at FreeBSD.org (David Xu) Date: Mon Jul 28 02:22:48 2008 Subject: cvs commit: src/lib/libc/gen Makefile.inc posix_spawn.3 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_init.3 posix_spawnattr_getflags.3 posix_spawnattr_getpgroup.3 posix_spawnattr_getschedparam.3 posix_spawnattr_getschedpolicy.3 posix_spawnattr_getsigdefault.3 posix_spawnattr_getsigmask.3 posix_spawnattr_init.3 Message-ID: <200807280222.m6S2ManZ018577@repoman.freebsd.org> davidxu 2008-07-28 02:22:19 UTC FreeBSD src repository Modified files: lib/libc/gen Makefile.inc Added files: lib/libc/gen posix_spawn.3 posix_spawn_file_actions_addopen.3 posix_spawn_file_actions_init.3 posix_spawnattr_getflags.3 posix_spawnattr_getpgroup.3 posix_spawnattr_getschedparam.3 posix_spawnattr_getschedpolicy.3 posix_spawnattr_getsigdefault.3 posix_spawnattr_getsigmask.3 posix_spawnattr_init.3 Log: SVN rev 180867 on 2008-07-28 02:22:19Z by davidxu Add manual pages for posix_spawn() functions. PR: standards/122051 Revision Changes Path 1.140 +18 -1 src/lib/libc/gen/Makefile.inc 1.1 +455 -0 src/lib/libc/gen/posix_spawn.3 (new) 1.1 +182 -0 src/lib/libc/gen/posix_spawn_file_actions_addopen.3 (new) 1.1 +104 -0 src/lib/libc/gen/posix_spawn_file_actions_init.3 (new) 1.1 +111 -0 src/lib/libc/gen/posix_spawnattr_getflags.3 (new) 1.1 +96 -0 src/lib/libc/gen/posix_spawnattr_getpgroup.3 (new) 1.1 +100 -0 src/lib/libc/gen/posix_spawnattr_getschedparam.3 (new) 1.1 +98 -0 src/lib/libc/gen/posix_spawnattr_getschedpolicy.3 (new) 1.1 +98 -0 src/lib/libc/gen/posix_spawnattr_getsigdefault.3 (new) 1.1 +98 -0 src/lib/libc/gen/posix_spawnattr_getsigmask.3 (new) 1.1 +123 -0 src/lib/libc/gen/posix_spawnattr_init.3 (new) From yongari at FreeBSD.org Mon Jul 28 02:24:07 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 02:24:24 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200807280224.m6S2O7nF018704@repoman.freebsd.org> yongari 2008-07-28 02:23:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/jme if_jme.c Log: SVN rev 180868 on 2008-07-28 02:23:51Z by yongari MFC r180582. Correct 1000Mbps link handling logic for JMC250. This should make jme(4) run on 1000Mbps link. Revision Changes Path 1.2.2.3 +1 -1 src/sys/dev/jme/if_jme.c From yongari at FreeBSD.org Mon Jul 28 02:37:24 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Jul 28 02:37:30 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200807280237.m6S2bNrb019805@repoman.freebsd.org> yongari 2008-07-28 02:37:15 UTC FreeBSD src repository Modified files: sys/dev/jme if_jme.c Log: SVN rev 180869 on 2008-07-28 02:37:15Z by yongari Fix buffer discard index. While I'm here dicard all buffers if errored frame is part of multi-segmented frames. Pointed out by: sephe Reviewd by: sephe MFC after: 3 days Revision Changes Path 1.3 +4 -1 src/sys/dev/jme/if_jme.c From alc at FreeBSD.org Mon Jul 28 03:58:58 2008 From: alc at FreeBSD.org (Alan Cox) Date: Mon Jul 28 03:59:09 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807280358.m6S3wufU027376@repoman.freebsd.org> alc 2008-07-28 03:58:49 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180870 on 2008-07-28 03:58:49Z by alc Add a check for 1GB page mappings to pmap_change_attr() so that it fails gracefully. (On K10 family processors the direct map is implemented using 1GB page mappings.) Revision Changes Path 1.637 +7 -1 src/sys/amd64/amd64/pmap.c From alc at FreeBSD.org Mon Jul 28 04:14:00 2008 From: alc at FreeBSD.org (Alan Cox) Date: Mon Jul 28 04:14:06 2008 Subject: cvs commit: src/sys/i386/i386 pmap.c Message-ID: <200807280413.m6S4DxnH029883@repoman.freebsd.org> alc 2008-07-28 04:13:49 UTC FreeBSD src repository Modified files: sys/i386/i386 pmap.c Log: SVN rev 180871 on 2008-07-28 04:13:49Z by alc Don't allow pmap_change_attr() to be applied to the recursive mapping. Revision Changes Path 1.625 +1 -1 src/sys/i386/i386/pmap.c From alc at FreeBSD.org Mon Jul 28 05:00:01 2008 From: alc at FreeBSD.org (Alan Cox) Date: Mon Jul 28 05:00:06 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807280500.m6S5017d042775@repoman.freebsd.org> alc 2008-07-28 04:59:48 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 180872 on 2008-07-28 04:59:48Z by alc Don't allow pmap_change_attr() to be applied to the recursive mapping. Revision Changes Path 1.638 +5 -2 src/sys/amd64/amd64/pmap.c From alc at FreeBSD.org Mon Jul 28 05:41:47 2008 From: alc at FreeBSD.org (Alan Cox) Date: Mon Jul 28 05:41:58 2008 Subject: cvs commit: src/sys/i386/i386 pmap.c Message-ID: <200807280541.m6S5flTL047244@repoman.freebsd.org> alc 2008-07-28 05:41:35 UTC FreeBSD src repository Modified files: sys/i386/i386 pmap.c Log: SVN rev 180873 on 2008-07-28 05:41:35Z by alc Correct an off-by-one error in the previous change to pmap_change_attr(). Change the nearby comment to mention the recursive map. Revision Changes Path 1.626 +4 -2 src/sys/i386/i386/pmap.c From mav at FreeBSD.org Mon Jul 28 06:57:49 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Jul 28 06:57:54 2008 Subject: cvs commit: src/sys/netinet raw_ip.c Message-ID: <200807280657.m6S6vmQT054355@repoman.freebsd.org> mav 2008-07-28 06:57:28 UTC FreeBSD src repository Modified files: sys/netinet raw_ip.c Log: SVN rev 180874 on 2008-07-28 06:57:28Z by mav Some style and assertion fixes to the previous commits hinted by rwatson. There is no functional changes. Revision Changes Path 1.191 +9 -3 src/sys/netinet/raw_ip.c From ed at FreeBSD.org Mon Jul 28 08:01:36 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Mon Jul 28 08:01:55 2008 Subject: cvs commit: src/usr.bin/procstat procstat.1 Message-ID: <200807280801.m6S81Zsj060647@repoman.freebsd.org> ed 2008-07-28 08:01:24 UTC FreeBSD src repository Modified files: usr.bin/procstat procstat.1 Log: SVN rev 180875 on 2008-07-28 08:01:24Z by ed Fix a small typo in the procstat(1) manpage: messsage queue. Approved by: philip (mentor) MFC after: 3 days Revision Changes Path 1.5 +1 -1 src/usr.bin/procstat/procstat.1 From ed at FreeBSD.org Mon Jul 28 09:37:08 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Mon Jul 28 09:37:20 2008 Subject: cvs commit: src/lib/libc/gen posix_spawn.3 posix_spawn_file_actions_addopen.3 Message-ID: <200807280937.m6S9b7tP079702@repoman.freebsd.org> ed 2008-07-28 09:36:56 UTC FreeBSD src repository Modified files: lib/libc/gen posix_spawn.3 posix_spawn_file_actions_addopen.3 Log: SVN rev 180876 on 2008-07-28 09:36:56Z by ed Fix the email address formats in some posix_spawn(3) manpages. It seems I made a small bug when writing some of the posix_spawn(3) manpages. Remove the redundant "Ed Schouten", which broke the AUTHORS section. Approved by: philip (mentor, implicit) Revision Changes Path 1.2 +1 -1 src/lib/libc/gen/posix_spawn.3 1.2 +1 -1 src/lib/libc/gen/posix_spawn_file_actions_addopen.3 From edwin at FreeBSD.org Mon Jul 28 12:49:29 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Mon Jul 28 12:49:39 2008 Subject: cvs commit: src/usr.bin/ldd ldd.c Message-ID: <200807281249.m6SCnSGp007868@repoman.freebsd.org> edwin 2008-07-28 12:49:16 UTC FreeBSD src repository Modified files: usr.bin/ldd ldd.c Log: SVN rev 180877 on 2008-07-28 12:49:16Z by edwin Fix text in the comment why we check for ELF32_R_TYPE Approved by: bde@ MFC after: 2 days2 days Revision Changes Path 1.38 +5 -8 src/usr.bin/ldd/ldd.c From bzeeb-lists at lists.zabbadoz.net Mon Jul 28 15:10:06 2008 From: bzeeb-lists at lists.zabbadoz.net (Bjoern A. Zeeb) Date: Mon Jul 28 15:10:25 2008 Subject: cvs commit: src/etc network.subr In-Reply-To: <20080709161734.V57089@maildrop.int.zabbadoz.net> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> <20080705155205.W57089@maildrop.int.zabbadoz.net> <20080707160339.GB57420@lor.one-eyed-alien.net> <20080709143845.C57089@maildrop.int.zabbadoz.net> <20080709153904.GA83313@lor.one-eyed-alien.net> <20080709161734.V57089@maildrop.int.zabbadoz.net> Message-ID: <20080728150325.M57089@maildrop.int.zabbadoz.net> On Wed, 9 Jul 2008, Bjoern A. Zeeb wrote: > On Wed, 9 Jul 2008, Brooks Davis wrote: > > Hi, > >> Add NOAUTO to both ifconfig_ lines and neither will come up unless >> you manually bring them up. > > Okay, we are getting closer. I am fine if the printf will go away soon > then;-) > > I think what's left then is fix network_ipv6 to not use a homegrown > ifconfig -l but the same framework. Just a note on this: ipv6_network_interfaces is still needed or we will need better/more logic with ipv6_default_interface or similar. I have that note after one of the ip6_network_interfaces configurations: # keep order so default goes to fxp0 instead of bge0 It seems if you have multiple interfaces and could possibly get a default route rtsoling on both the first interface tested wins and ifconfig -l not neccessarily is the order you want. /bz -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From thompsa at FreeBSD.org Mon Jul 28 15:50:42 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:50:54 2008 Subject: cvs commit: src/sys/arm/xscale/ixp425 ixp425_qmgr.c src/sys/compat/linprocfs linprocfs.c src/sys/dev/cm smc90cx6.c src/sys/dev/ctau if_ct.c src/sys/dev/cx if_cx.c src/sys/dev/idt idt_pci.c src/sys/dev/isp isp_target.c src/sys/dev/my if_my.c src/sys/dev/sio sio.c ... Message-ID: <200807281550.m6SFoghN028620@repoman.freebsd.org> thompsa 2008-07-28 15:49:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/ixp425 ixp425_qmgr.c sys/compat/linprocfs linprocfs.c sys/dev/cm smc90cx6.c sys/dev/ctau if_ct.c sys/dev/cx if_cx.c sys/dev/idt idt_pci.c sys/dev/isp isp_target.c sys/dev/my if_my.c sys/dev/sio sio.c sys/dev/sound/isa ad1816.c ad1816.h sys/dev/sound/pci emu10kx.c envy24.c envy24ht.c sys/dev/sound/sbus cs4231.c sys/i4b/layer1/isic i4b_avm_a1.c i4b_elsa_pcc16.c i4b_isic.c i4b_itk_ix1.c i4b_tel_s016.c i4b_tel_s0163.c i4b_tel_s08.c sys/pc98/cbus sio.c sys/pci if_wb.c Log: SVN rev 180878 on 2008-07-28 15:49:26Z by thompsa MFC r172568 Spelling fix for interupt -> interrupt Revision Changes Path 1.2.4.1 +2 -2 src/sys/arm/xscale/ixp425/ixp425_qmgr.c 1.115.2.2 +1 -1 src/sys/compat/linprocfs/linprocfs.c 1.18.2.1 +3 -3 src/sys/dev/cm/smc90cx6.c 1.34.2.1 +1 -1 src/sys/dev/ctau/if_ct.c 1.57.2.1 +1 -1 src/sys/dev/cx/if_cx.c 1.8.2.1 +1 -1 src/sys/dev/idt/idt_pci.c 1.44.2.1 +2 -2 src/sys/dev/isp/isp_target.c 1.43.2.1 +1 -1 src/sys/dev/my/if_my.c 1.470.2.2 +1 -1 src/sys/dev/sio/sio.c 1.45.2.1 +4 -4 src/sys/dev/sound/isa/ad1816.c 1.4.2.1 +1 -1 src/sys/dev/sound/isa/ad1816.h 1.12.2.1 +1 -1 src/sys/dev/sound/pci/emu10kx.c 1.13.2.1 +1 -1 src/sys/dev/sound/pci/envy24.c 1.15.2.1 +1 -1 src/sys/dev/sound/pci/envy24ht.c 1.9.2.1 +1 -1 src/sys/dev/sound/sbus/cs4231.c 1.12.2.1 +1 -1 src/sys/i4b/layer1/isic/i4b_avm_a1.c 1.12.2.1 +1 -1 src/sys/i4b/layer1/isic/i4b_elsa_pcc16.c 1.8.2.1 +2 -2 src/sys/i4b/layer1/isic/i4b_isic.c 1.13.2.1 +2 -2 src/sys/i4b/layer1/isic/i4b_itk_ix1.c 1.13.2.1 +1 -1 src/sys/i4b/layer1/isic/i4b_tel_s016.c 1.12.2.1 +1 -1 src/sys/i4b/layer1/isic/i4b_tel_s0163.c 1.12.2.1 +1 -1 src/sys/i4b/layer1/isic/i4b_tel_s08.c 1.245.2.2 +1 -1 src/sys/pc98/cbus/sio.c 1.92.2.1 +1 -1 src/sys/pci/if_wb.c From jhb at FreeBSD.org Mon Jul 28 15:52:09 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 15:52:21 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <200807281552.m6SFq8FT028762@repoman.freebsd.org> jhb 2008-07-28 15:52:02 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: SVN rev 180879 on 2008-07-28 15:52:02Z by jhb Various and sundry style and whitespace fixes. Revision Changes Path 1.127 +74 -74 src/sys/kern/sched_4bsd.c From thompsa at FreeBSD.org Mon Jul 28 15:52:24 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:52:35 2008 Subject: cvs commit: src/sys/arm/include asm.h Message-ID: <200807281552.m6SFqO1J028809@repoman.freebsd.org> thompsa 2008-07-28 15:52:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/include asm.h Log: SVN rev 180880 on 2008-07-28 15:52:07Z by thompsa MFC r172613 Define _ARM_ARCH_5E too, so that we know if pld/strd/ldrd are available. Revision Changes Path 1.6.2.1 +6 -1 src/sys/arm/include/asm.h From thompsa at FreeBSD.org Mon Jul 28 15:52:55 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:53:01 2008 Subject: cvs commit: src/sys/arm/arm bcopy_page.S bcopyinout.S in_cksum_arm.S support.S swtch.S Message-ID: <200807281552.m6SFqtcL028881@repoman.freebsd.org> thompsa 2008-07-28 15:52:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm bcopy_page.S bcopyinout.S in_cksum_arm.S support.S swtch.S Log: SVN rev 180881 on 2008-07-28 15:52:53Z by thompsa MFC r172614 Do not use __XSCALE__ to detect if pld/strd/ldrd is available, use _ARM_ARCH_5E instead. Revision Changes Path 1.4.2.1 +5 -5 src/sys/arm/arm/bcopy_page.S 1.8.2.1 +2 -2 src/sys/arm/arm/bcopyinout.S 1.6.2.1 +6 -6 src/sys/arm/arm/in_cksum_arm.S 1.12.2.2 +9 -9 src/sys/arm/arm/support.S 1.20.2.1 +3 -3 src/sys/arm/arm/swtch.S From thompsa at FreeBSD.org Mon Jul 28 15:53:57 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:54:09 2008 Subject: cvs commit: src/sys/arm/arm cpufunc.c cpufunc_asm_arm11.S cpufunc_asm_armv5.S cpufunc_asm_armv5_ec.S identcpu.c src/sys/arm/include cpuconf.h cpufunc.h Message-ID: <200807281553.m6SFruOL029007@repoman.freebsd.org> thompsa 2008-07-28 15:53:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm cpufunc.c identcpu.c sys/arm/include cpuconf.h cpufunc.h Added files: (Branch: RELENG_7) sys/arm/arm cpufunc_asm_arm11.S cpufunc_asm_armv5.S cpufunc_asm_armv5_ec.S Log: SVN rev 180882 on 2008-07-28 15:53:53Z by thompsa MFC r172738 Merge support from p4 (from NetBSD) for arm9e and arm10, arm11 cores. Not yet connected to the build, but reduces diffs to p4 repo. Revision Changes Path 1.18.2.1 +124 -4 src/sys/arm/arm/cpufunc.c 1.1.2.1 +124 -0 src/sys/arm/arm/cpufunc_asm_arm11.S (new) 1.1.2.1 +238 -0 src/sys/arm/arm/cpufunc_asm_armv5.S (new) 1.1.2.1 +206 -0 src/sys/arm/arm/cpufunc_asm_armv5_ec.S (new) 1.11.2.1 +54 -8 src/sys/arm/arm/identcpu.c 1.10.2.1 +33 -7 src/sys/arm/include/cpuconf.h 1.12.2.1 +55 -3 src/sys/arm/include/cpufunc.h From thompsa at FreeBSD.org Mon Jul 28 15:54:57 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:55:03 2008 Subject: cvs commit: src/sys/arm/at91 at91_mcireg.h Message-ID: <200807281554.m6SFsvIg029101@repoman.freebsd.org> thompsa 2008-07-28 15:54:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 at91_mcireg.h Log: SVN rev 180883 on 2008-07-28 15:54:48Z by thompsa MFC r172739 correct guard variable names. Revision Changes Path 1.1.4.1 +3 -3 src/sys/arm/at91/at91_mcireg.h From thompsa at FreeBSD.org Mon Jul 28 15:55:58 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:56:10 2008 Subject: cvs commit: src/sys/arm/at91 ohci_atmelarm.c Message-ID: <200807281555.m6SFtwdU029274@repoman.freebsd.org> thompsa 2008-07-28 15:55:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 ohci_atmelarm.c Log: SVN rev 180884 on 2008-07-28 15:55:41Z by thompsa MFC r173155 kill commented out line of code. Revision Changes Path 1.3.2.1 +0 -1 src/sys/arm/at91/ohci_atmelarm.c From thompsa at FreeBSD.org Mon Jul 28 15:56:44 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:56:55 2008 Subject: cvs commit: src/sys/arm/arm cpufunc.c Message-ID: <200807281556.m6SFui5m029359@repoman.freebsd.org> thompsa 2008-07-28 15:56:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm cpufunc.c Log: SVN rev 180885 on 2008-07-28 15:56:33Z by thompsa MFC r173215 Don't define get_cachetype() for CPU_ARM9E unless it's going to be used. Revision Changes Path 1.18.2.2 +1 -1 src/sys/arm/arm/cpufunc.c From thompsa at FreeBSD.org Mon Jul 28 15:57:45 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:57:57 2008 Subject: cvs commit: src/sys/arm/include cpuconf.h Message-ID: <200807281557.m6SFvjLe029450@repoman.freebsd.org> thompsa 2008-07-28 15:57:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/include cpuconf.h Log: SVN rev 180886 on 2008-07-28 15:57:31Z by thompsa MFC r173249 __CPU_XSCALE_PXA2XX -> CPU_XSCALE_PXA2X0 Revision Changes Path 1.10.2.2 +1 -1 src/sys/arm/include/cpuconf.h From thompsa at FreeBSD.org Mon Jul 28 15:58:32 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:58:43 2008 Subject: cvs commit: src/sys/arm/xscale/ixp425 if_npe.c Message-ID: <200807281558.m6SFwVmF029531@repoman.freebsd.org> thompsa 2008-07-28 15:58:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/ixp425 if_npe.c Log: SVN rev 180887 on 2008-07-28 15:58:24Z by thompsa MFC r173336 Remove a staled comment, NPE-C should work fine. Revision Changes Path 1.6.2.2 +0 -1 src/sys/arm/xscale/ixp425/if_npe.c From thompsa at FreeBSD.org Mon Jul 28 15:59:32 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 15:59:49 2008 Subject: cvs commit: src/sys/arm/arm cpufunc.c Message-ID: <200807281559.m6SFxWxS029621@repoman.freebsd.org> thompsa 2008-07-28 15:59:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm cpufunc.c Log: SVN rev 180888 on 2008-07-28 15:59:24Z by thompsa MFC r173442 Add entries for the L2 cache-related functions for armv5. Revision Changes Path 1.18.2.3 +5 -0 src/sys/arm/arm/cpufunc.c From thompsa at FreeBSD.org Mon Jul 28 16:00:33 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:00:40 2008 Subject: cvs commit: src/sys/arm/arm busdma_machdep.c Message-ID: <200807281600.m6SG0XUO029789@repoman.freebsd.org> thompsa 2008-07-28 16:00:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm busdma_machdep.c Log: SVN rev 180889 on 2008-07-28 16:00:19Z by thompsa MFC r174051 Correct the logic : we can just invalidate the cache lines, and not write-back them, only if PREWRITE is not set, and if the buffer is cache-line aligned. Revision Changes Path 1.35.2.2 +1 -1 src/sys/arm/arm/busdma_machdep.c From thompsa at FreeBSD.org Mon Jul 28 16:01:34 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:01:45 2008 Subject: cvs commit: src/sys/arm/arm cpufunc.c Message-ID: <200807281601.m6SG1YEf029893@repoman.freebsd.org> thompsa 2008-07-28 16:01:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm cpufunc.c Log: SVN rev 180890 on 2008-07-28 16:01:18Z by thompsa MFC r174058 Fixes for ARM9/ARM10 : Call uma_sel_align() there at well. Set CPU_CONTROL_VECRELOC if we're using the high vectors page. Revision Changes Path 1.18.2.4 +4 -1 src/sys/arm/arm/cpufunc.c From thompsa at FreeBSD.org Mon Jul 28 16:02:47 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:03:01 2008 Subject: cvs commit: src/sys/arm/sa11x0 files.sa11x0 src/sys/conf files.arm Message-ID: <200807281602.m6SG2l0Z030012@repoman.freebsd.org> thompsa 2008-07-28 16:02:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/sa11x0 files.sa11x0 sys/conf files.arm Log: SVN rev 180891 on 2008-07-28 16:02:10Z by thompsa MFC r174176 Move the strongarm-specific files from conf/files.arm to sa11x0/files.sa11xO. Revision Changes Path 1.2.10.1 +2 -0 src/sys/arm/sa11x0/files.sa11x0 1.15.2.2 +0 -2 src/sys/conf/files.arm From thompsa at FreeBSD.org Mon Jul 28 16:03:19 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:03:49 2008 Subject: cvs commit: src/sys/arm/at91 at91.c Message-ID: <200807281603.m6SG3Jme031216@repoman.freebsd.org> thompsa 2008-07-28 16:03:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 at91.c Log: SVN rev 180892 on 2008-07-28 16:03:06Z by thompsa MFC r174700 Use M_NOWAIT instead of M_WAITOK to cause malloc() to return NULL Revision Changes Path 1.13.2.1 +1 -1 src/sys/arm/at91/at91.c From thompsa at FreeBSD.org Mon Jul 28 16:04:08 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:04:20 2008 Subject: cvs commit: src/sys/arm/at91 at91.c Message-ID: <200807281604.m6SG45PE031294@repoman.freebsd.org> thompsa 2008-07-28 16:03:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 at91.c Log: SVN rev 180893 on 2008-07-28 16:03:59Z by thompsa MFC r174781 Actually program the interrupt controller for priorities. As we support more AT91 platforms, we'll need to move this into some platform init routine. Revision Changes Path 1.13.2.2 +43 -3 src/sys/arm/at91/at91.c From thompsa at FreeBSD.org Mon Jul 28 16:05:06 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:05:18 2008 Subject: cvs commit: src/sys/arm/at91 if_ate.c Message-ID: <200807281605.m6SG56s4031415@repoman.freebsd.org> thompsa 2008-07-28 16:04:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 if_ate.c Log: SVN rev 180894 on 2008-07-28 16:04:53Z by thompsa MFC r175120 Add a missing \n. Revision Changes Path 1.20.2.3 +1 -1 src/sys/arm/at91/if_ate.c From thompsa at FreeBSD.org Mon Jul 28 16:05:52 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:06:03 2008 Subject: cvs commit: src/sys/arm/xscale/ixp425 ixp425_iic.c Message-ID: <200807281605.m6SG5qV8031552@repoman.freebsd.org> thompsa 2008-07-28 16:05:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/ixp425 ixp425_iic.c Log: SVN rev 180895 on 2008-07-28 16:05:48Z by thompsa MFC r176759 Convert to be a 2-clause bsd-only license. Revision Changes Path 1.1.4.1 +0 -7 src/sys/arm/xscale/ixp425/ixp425_iic.c From thompsa at FreeBSD.org Mon Jul 28 16:06:38 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:06:44 2008 Subject: cvs commit: src/sys/arm/arm busdma_machdep.c Message-ID: <200807281606.m6SG6cx8031637@repoman.freebsd.org> thompsa 2008-07-28 16:06:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm busdma_machdep.c Log: SVN rev 180896 on 2008-07-28 16:06:34Z by thompsa MFC r177103 Improve ARM bus_dmamap_load_buffer() error handling. Revision Changes Path 1.35.2.3 +4 -2 src/sys/arm/arm/busdma_machdep.c From thompsa at FreeBSD.org Mon Jul 28 16:07:39 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:07:51 2008 Subject: cvs commit: src/sys/arm/arm nexus.c Message-ID: <200807281607.m6SG7d35031753@repoman.freebsd.org> thompsa 2008-07-28 16:07:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm nexus.c Log: SVN rev 180897 on 2008-07-28 16:07:30Z by thompsa MFC r177105 Respect RF_SHAREABLE flag in ARM nexus_setup_intr() Revision Changes Path 1.11.2.1 +3 -0 src/sys/arm/arm/nexus.c From thompsa at FreeBSD.org Mon Jul 28 16:08:40 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:08:46 2008 Subject: cvs commit: src/sys/dev/usb usbdi.c Message-ID: <200807281608.m6SG8elq031841@repoman.freebsd.org> thompsa 2008-07-28 16:08:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb usbdi.c Log: SVN rev 180898 on 2008-07-28 16:08:26Z by thompsa MFC r177457 Correct cache handling for xfer requests marked URQ_REQUEST: many (if not all uses) involve a read but usbd_start_transfer only does a PREWRITE; change this to BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE as I'm not sure if any users do write+read. Revision Changes Path 1.103.2.1 +2 -1 src/sys/dev/usb/usbdi.c From thompsa at FreeBSD.org Mon Jul 28 16:09:26 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:09:32 2008 Subject: cvs commit: src/sys/dev/usb ehci.c ohci.c Message-ID: <200807281609.m6SG9Q7R031921@repoman.freebsd.org> thompsa 2008-07-28 16:09:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb ehci.c ohci.c Log: SVN rev 180899 on 2008-07-28 16:09:22Z by thompsa MFC r177459 Workaround design botch in usb: blindly mixing bus_dma with PIO does not work on architectures with a write-back cache as the PIO writes end up in the cache which the sync(BUS_DMASYNC_POSTREAD) in usb_transfer_complete then discards; compensate in the xfer methods that do PIO by pushing the writes out of the cache before usb_transfer_complete is called. Revision Changes Path 1.56.2.2 +16 -0 src/sys/dev/usb/ehci.c 1.170.2.1 +16 -0 src/sys/dev/usb/ohci.c From thompsa at FreeBSD.org Mon Jul 28 16:11:01 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:11:13 2008 Subject: cvs commit: src/sys/arm/xscale/ixp425 if_npe.c Message-ID: <200807281611.m6SGB0ew032830@repoman.freebsd.org> thompsa 2008-07-28 16:10:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/ixp425 if_npe.c Log: SVN rev 180900 on 2008-07-28 16:10:18Z by thompsa MFC r177505 Improve mac+phy configuration so that hints can be used to describe layouts different than the defaults: o hint.npe.0.mac="A", "B", etc. specifies the window for MAC register accesses o hint.npe.0.mii="A", "B", etc. specifies PHY registers o hint.npe.1.phy=%d specifies the PHY to map to a port Revision Changes Path 1.6.2.3 +80 -16 src/sys/arm/xscale/ixp425/if_npe.c From thompsa at FreeBSD.org Mon Jul 28 16:11:32 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:11:43 2008 Subject: cvs commit: src/sys/arm/xscale/ixp425 avila_machdep.c Message-ID: <200807281611.m6SGBVlW032979@repoman.freebsd.org> thompsa 2008-07-28 16:11:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/ixp425 avila_machdep.c Log: SVN rev 180901 on 2008-07-28 16:11:11Z by thompsa MFC r177874 KERNBASE + 0x00200000 is the same thing as KERNVIRTADDR on this platform, so use the latter in preference to the former. This makes the fake_preload setup be the same between kb920x_machdep.c and avila_machdep.c.... Revision Changes Path 1.5.2.2 +2 -3 src/sys/arm/xscale/ixp425/avila_machdep.c From thompsa at FreeBSD.org Mon Jul 28 16:12:04 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:12:15 2008 Subject: cvs commit: src/sys/arm/arm machdep.c src/sys/arm/at91 kb920x_machdep.c src/sys/arm/include machdep.h src/sys/arm/sa11x0 assabet_machdep.c src/sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c src/sys/arm/xscale/i8134x crb_machdep.c ... Message-ID: <200807281612.m6SGC3Pq033168@repoman.freebsd.org> thompsa 2008-07-28 16:12:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm machdep.c sys/arm/at91 kb920x_machdep.c sys/arm/include machdep.h sys/arm/sa11x0 assabet_machdep.c sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c sys/arm/xscale/i8134x crb_machdep.c sys/arm/xscale/ixp425 avila_machdep.c Log: SVN rev 180902 on 2008-07-28 16:12:00Z by thompsa MFC r177883 Take the first baby step towards unifying and cleaning up arminit(): - Pull all the code to deal with the trampoline stuff into one centeralized place and use it from everywhere. - Some minor style tidiness Revision Changes Path 1.28.2.2 +57 -0 src/sys/arm/arm/machdep.c 1.23.2.4 +3 -53 src/sys/arm/at91/kb920x_machdep.c 1.2.10.1 +5 -5 src/sys/arm/include/machdep.h 1.21.2.2 +7 -43 src/sys/arm/sa11x0/assabet_machdep.c 1.7.2.2 +2 -53 src/sys/arm/xscale/i80321/ep80219_machdep.c 1.28.2.2 +2 -50 src/sys/arm/xscale/i80321/iq31244_machdep.c 1.2.2.2 +2 -54 src/sys/arm/xscale/i8134x/crb_machdep.c 1.5.2.3 +1 -48 src/sys/arm/xscale/ixp425/avila_machdep.c From thompsa at FreeBSD.org Mon Jul 28 16:13:05 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:13:13 2008 Subject: cvs commit: src/sys/arm/xscale/ixp425 avila_machdep.c Message-ID: <200807281613.m6SGD4OP033291@repoman.freebsd.org> thompsa 2008-07-28 16:12:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/ixp425 avila_machdep.c Log: SVN rev 180903 on 2008-07-28 16:12:56Z by thompsa MFC r177886 Fix AVILA build. Revision Changes Path 1.5.2.4 +2 -2 src/sys/arm/xscale/ixp425/avila_machdep.c From thompsa at FreeBSD.org Mon Jul 28 16:14:06 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:14:13 2008 Subject: cvs commit: src/sys/arm/sa11x0 files.sa11x0 sa11x0_io.c src/sys/arm/xscale/i80321 files.ep80219 files.i80219 files.i80321 files.iq31244 obio_space.c src/sys/arm/xscale/i8134x obio_space.c src/sys/arm/xscale/ixp425 files.avila files.ixp425 ... Message-ID: <200807281614.m6SGE6Sd033467@repoman.freebsd.org> thompsa 2008-07-28 16:13:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/sa11x0 files.sa11x0 sa11x0_io.c sys/arm/xscale/i80321 files.ep80219 files.i80219 files.i80321 files.iq31244 obio_space.c sys/arm/xscale/i8134x obio_space.c sys/arm/xscale/ixp425 files.avila files.ixp425 ixp425_a4x_space.c ixp425_space.c Log: SVN rev 180904 on 2008-07-28 16:13:55Z by thompsa MFC r177887 Refactor certain ARM bus space methods: instead of having multiple copies of the same code introduce sys/arm/arm/bus_space_generic.c for a shared set of routines. Revision Changes Path 1.2.10.2 +1 -0 src/sys/arm/sa11x0/files.sa11x0 1.10.2.1 +7 -120 src/sys/arm/sa11x0/sa11x0_io.c 1.1.2.1 +1 -0 src/sys/arm/xscale/i80321/files.ep80219 1.1.2.1 +1 -0 src/sys/arm/xscale/i80321/files.i80219 1.3.2.1 +1 -0 src/sys/arm/xscale/i80321/files.i80321 1.2.10.1 +1 -0 src/sys/arm/xscale/i80321/files.iq31244 1.4.2.1 +6 -103 src/sys/arm/xscale/i80321/obio_space.c 1.1.2.1 +6 -103 src/sys/arm/xscale/i8134x/obio_space.c 1.2.4.1 +1 -0 src/sys/arm/xscale/ixp425/files.avila 1.4.2.1 +1 -0 src/sys/arm/xscale/ixp425/files.ixp425 1.1.4.1 +6 -7 src/sys/arm/xscale/ixp425/ixp425_a4x_space.c 1.1.4.1 +6 -91 src/sys/arm/xscale/ixp425/ixp425_space.c From thompsa at FreeBSD.org Mon Jul 28 16:15:07 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:15:19 2008 Subject: cvs commit: src/sys/arm/arm bus_space_generic.c Message-ID: <200807281615.m6SGF7wh033596@repoman.freebsd.org> thompsa 2008-07-28 16:14:49 UTC FreeBSD src repository Added files: (Branch: RELENG_7) sys/arm/arm bus_space_generic.c Log: SVN rev 180905 on 2008-07-28 16:14:49Z by thompsa MFC r177888 Now really add the bus_space_generic.c file... Revision Changes Path 1.1.2.1 +146 -0 src/sys/arm/arm/bus_space_generic.c (new) From thompsa at FreeBSD.org Mon Jul 28 16:16:36 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:16:42 2008 Subject: cvs commit: src/sys/arm/arm elf_trampoline.c src/sys/conf Makefile.arm Message-ID: <200807281616.m6SGGaE2033759@repoman.freebsd.org> thompsa 2008-07-28 16:15:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm elf_trampoline.c sys/conf Makefile.arm Log: SVN rev 180906 on 2008-07-28 16:15:42Z by thompsa MFC r177916 Make kernel.tramp build properly on ARM9E. Revision Changes Path 1.18.2.1 +2 -0 src/sys/arm/arm/elf_trampoline.c 1.34.2.1 +1 -1 src/sys/conf/Makefile.arm From thompsa at FreeBSD.org Mon Jul 28 16:16:58 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:17:29 2008 Subject: cvs commit: src/sys/arm/xscale/i8134x files.i81342 Message-ID: <200807281616.m6SGGvCh033812@repoman.freebsd.org> thompsa 2008-07-28 16:16:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/i8134x files.i81342 Log: SVN rev 180907 on 2008-07-28 16:16:38Z by thompsa MFC r177943 Add bus_space_generic.c for the i81342 as well. Revision Changes Path 1.1.2.1 +1 -0 src/sys/arm/xscale/i8134x/files.i81342 From thompsa at FreeBSD.org Mon Jul 28 16:17:45 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:17:57 2008 Subject: cvs commit: src/sys/arm/xscale/i80321 files.ep80219 files.iq31244 src/sys/arm/xscale/ixp425 files.avila Message-ID: <200807281617.m6SGHjll033907@repoman.freebsd.org> thompsa 2008-07-28 16:17:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/i80321 files.ep80219 files.iq31244 sys/arm/xscale/ixp425 files.avila Log: SVN rev 180908 on 2008-07-28 16:17:33Z by thompsa MFC r177944 Remove bus_space_generic.c from the per-plarform files. Having it in the per-cpu files should be enough. Revision Changes Path 1.1.2.2 +0 -1 src/sys/arm/xscale/i80321/files.ep80219 1.2.10.2 +0 -1 src/sys/arm/xscale/i80321/files.iq31244 1.2.4.2 +0 -1 src/sys/arm/xscale/ixp425/files.avila From thompsa at FreeBSD.org Mon Jul 28 16:18:46 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:18:53 2008 Subject: cvs commit: src/sys/arm/arm exception.S locore.S src/sys/arm/sa11x0 assabet_machdep.c src/sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c src/sys/arm/xscale/i8134x crb_machdep.c src/sys/arm/xscale/ixp425 avila_machdep.c Message-ID: <200807281618.m6SGIktU034079@repoman.freebsd.org> thompsa 2008-07-28 16:18:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/arm exception.S locore.S sys/arm/sa11x0 assabet_machdep.c sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c sys/arm/xscale/i8134x crb_machdep.c sys/arm/xscale/ixp425 avila_machdep.c Log: SVN rev 180909 on 2008-07-28 16:18:28Z by thompsa MFC r178001 Remove some long-dead code Revision Changes Path 1.5.10.1 +0 -5 src/sys/arm/arm/exception.S 1.17.2.1 +0 -37 src/sys/arm/arm/locore.S 1.21.2.3 +1 -4 src/sys/arm/sa11x0/assabet_machdep.c 1.7.2.3 +0 -4 src/sys/arm/xscale/i80321/ep80219_machdep.c 1.28.2.3 +0 -4 src/sys/arm/xscale/i80321/iq31244_machdep.c 1.2.2.3 +0 -4 src/sys/arm/xscale/i8134x/crb_machdep.c 1.5.2.5 +0 -4 src/sys/arm/xscale/ixp425/avila_machdep.c From thompsa at FreeBSD.org Mon Jul 28 16:19:17 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:19:29 2008 Subject: cvs commit: src/sys/dev/usb ehci.c ohci.c Message-ID: <200807281619.m6SGJH31034151@repoman.freebsd.org> thompsa 2008-07-28 16:19:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb ehci.c ohci.c Log: SVN rev 180910 on 2008-07-28 16:19:16Z by thompsa MFC r178978 Don't let hacksync() call bus_dmamap_sync(9) on DMA maps which are not initialized. This fixes a panic on sparc64 where calling bus_dmamap_sync(9) on NULL DMA maps is fatal. Revision Changes Path 1.56.2.3 +7 -3 src/sys/dev/usb/ehci.c 1.170.2.2 +7 -3 src/sys/dev/usb/ohci.c From thompsa at FreeBSD.org Mon Jul 28 16:20:18 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:20:25 2008 Subject: cvs commit: src/sys/arm/at91 at91_twi.c Message-ID: <200807281620.m6SGKII3034334@repoman.freebsd.org> thompsa 2008-07-28 16:20:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 at91_twi.c Log: SVN rev 180911 on 2008-07-28 16:20:08Z by thompsa MFC r179375 Release the resources for the registers for the TWI device with SYS_RES_MEMORY to match how we allocate them... Revision Changes Path 1.10.2.1 +1 -1 src/sys/arm/at91/at91_twi.c From thompsa at FreeBSD.org Mon Jul 28 16:21:19 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:21:30 2008 Subject: cvs commit: src/sys/arm/xscale/i8134x crb_machdep.c Message-ID: <200807281621.m6SGLJ8V034432@repoman.freebsd.org> thompsa 2008-07-28 16:21:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/i8134x crb_machdep.c Log: SVN rev 180912 on 2008-07-28 16:21:01Z by thompsa MFC r179664 Remove sa1_cache_clean_addr Revision Changes Path 1.2.2.4 +0 -2 src/sys/arm/xscale/i8134x/crb_machdep.c From thompsa at FreeBSD.org Mon Jul 28 16:22:05 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:22:17 2008 Subject: cvs commit: src/sys/arm/at91 if_ate.c Message-ID: <200807281622.m6SGM5lf034526@repoman.freebsd.org> thompsa 2008-07-28 16:21:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 if_ate.c Log: SVN rev 180913 on 2008-07-28 16:21:56Z by thompsa MFC r179693 Since we create a DMA tag "mtag" for TX map with bus_dmamap_create(), we must synchronize such a map against "mtag" with bus_dmamap_sync(), not the tag designated for RX map. Revision Changes Path 1.20.2.4 +2 -2 src/sys/arm/at91/if_ate.c From thompsa at FreeBSD.org Mon Jul 28 16:22:51 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:22:57 2008 Subject: cvs commit: src/sys/arm/xscale/i8134x i81342_pci.c Message-ID: <200807281622.m6SGMpXo034598@repoman.freebsd.org> thompsa 2008-07-28 16:22:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/i8134x i81342_pci.c Log: SVN rev 180914 on 2008-07-28 16:22:46Z by thompsa MFC r179745 Fix a typo: i80321_pci_probe -> i81342_pci_probe Revision Changes Path 1.2.2.1 +1 -1 src/sys/arm/xscale/i8134x/i81342_pci.c From thompsa at FreeBSD.org Mon Jul 28 16:23:52 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:24:04 2008 Subject: cvs commit: src/sys/arm/at91 if_atereg.h Message-ID: <200807281623.m6SGNqPS034694@repoman.freebsd.org> thompsa 2008-07-28 16:23:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/at91 if_atereg.h Log: SVN rev 180915 on 2008-07-28 16:23:39Z by thompsa MFC r180486 fix multicast hash register definition Revision Changes Path 1.2.2.1 +2 -2 src/sys/arm/at91/if_atereg.h From thompsa at FreeBSD.org Mon Jul 28 16:24:54 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:25:00 2008 Subject: cvs commit: src/sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c src/sys/arm/xscale/i8134x crb_machdep.c src/sys/arm/xscale/ixp425 avila_machdep.c Message-ID: <200807281624.m6SGOr5u034823@repoman.freebsd.org> thompsa 2008-07-28 16:24:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c sys/arm/xscale/i8134x crb_machdep.c sys/arm/xscale/ixp425 avila_machdep.c Log: SVN rev 180916 on 2008-07-28 16:24:35Z by thompsa MFC r180584 Eliminate unused global variables. (These global variables became fields of struct kva_md_info many years ago.) Revision Changes Path 1.7.2.4 +0 -1 src/sys/arm/xscale/i80321/ep80219_machdep.c 1.28.2.4 +0 -1 src/sys/arm/xscale/i80321/iq31244_machdep.c 1.2.2.5 +0 -1 src/sys/arm/xscale/i8134x/crb_machdep.c 1.5.2.6 +0 -1 src/sys/arm/xscale/ixp425/avila_machdep.c From thompsa at FreeBSD.org Mon Jul 28 16:48:09 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Mon Jul 28 16:48:21 2008 Subject: cvs commit: src/sys/arm/include armreg.h Message-ID: <200807281648.m6SGm9Ga047366@repoman.freebsd.org> thompsa 2008-07-28 16:47:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/arm/include armreg.h Log: SVN rev 180917 on 2008-07-28 16:47:58Z by thompsa MFC r172734 Merge definitions for ARM9E, ARM10 and ARM11 processors from p4 (which got them from NetBSD). Revision Changes Path 1.6.2.1 +14 -2 src/sys/arm/include/armreg.h From obrien at FreeBSD.org Mon Jul 28 16:56:10 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Jul 28 16:56:39 2008 Subject: cvs commit: src/contrib/cvs AUTHORS BUGS ChangeLog DEVEL-CVS FAQ FREEBSD-Xlist FREEBSD-upgrade FREEBSD-vendstock HACKING INSTALL Makefile.in NEWS README TESTS TODO acinclude.m4 aclocal.m4 compile config.h.in configure configure.in depcomp install-sh missing ... Message-ID: <200807281656.m6SGuAGc048440@repoman.freebsd.org> obrien 2008-07-28 16:52:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/cvs AUTHORS BUGS ChangeLog DEVEL-CVS FAQ FREEBSD-Xlist FREEBSD-upgrade HACKING INSTALL Makefile.in NEWS README TESTS TODO acinclude.m4 aclocal.m4 compile config.h.in configure configure.in depcomp install-sh missing mkinstalldirs contrib/cvs/contrib ChangeLog Makefile.am Makefile.in README clmerge.in cln_hist.in commit_prep.in cvs2vendor.sh cvs_acls.in cvscheck.sh debug_check_log.sh descend.sh log.in log_accum.in mfpipe.in pvcs2rcs.in rcs-to-cvs.sh rcs2log.sh rcs2sccs.sh rcslock.in sccs2rcs.in contrib/cvs/diff ChangeLog Makefile.am Makefile.in contrib/cvs/doc ChangeLog Makefile.am Makefile.in cvs.1 cvs.man.footer cvs.man.header cvs.texinfo cvsclient.texi mdate-sh stamp-1 stamp-vti version-client.texi version.texi contrib/cvs/lib ChangeLog Makefile.am Makefile.in fncase.c getpass.c regex.c system.h xsize.h xtime.h contrib/cvs/man ChangeLog Makefile.am Makefile.in cvs.1 contrib/cvs/src ChangeLog Makefile.am Makefile.in add.c admin.c annotate.c buffer.c buffer.h checkin.c checkout.c classify.c client.c client.h commit.c create_adm.c cvs.h cvsrc.c diff.c edit.c edit.h entries.c expand_path.c fileattr.c filesubr.c find_names.c hardlink.c hardlink.h hash.c hash.h history.c history.h ignore.c import.c lock.c log.c login.c logmsg.c main.c mkmodules.c modules.c myndbm.c myndbm.h no_diff.c parseinfo.c patch.c rcs.c rcs.h rcscmds.c recurse.c release.c remove.c repos.c root.c root.h run.c sanity.sh server.c server.h stack.c stack.h status.c subr.c tag.c update.c vers_ts.c version.c watch.c wrapper.c zlib.c contrib/cvs/tools ChangeLog Makefile.am Makefile.in README gnu/usr.bin/cvs/lib config.h.proto Added files: (Branch: RELENG_7) contrib/cvs FREEBSD-vendstock contrib/cvs/contrib cvs_acls.html contrib/cvs/doc HACKING.DOCS mkman.pl contrib/cvs/lib test-getdate.sh Log: SVN rev 180918 on 2008-07-28 16:52:28Z by obrien MFC: CVS version 1.11.22.1 (almost 1.11.23). Revision Changes Path 1.1.1.2.18.1 +3 -1 src/contrib/cvs/AUTHORS 1.1.1.8.18.1 +0 -16 src/contrib/cvs/BUGS 1.1.1.15.18.1 +371 -0 src/contrib/cvs/ChangeLog 1.1.1.5.24.1 +0 -31 src/contrib/cvs/DEVEL-CVS 1.1.1.7.18.1 +30 -7 src/contrib/cvs/FAQ 1.1.18.1 +2 -1 src/contrib/cvs/FREEBSD-Xlist 1.11.18.1 +9 -2 src/contrib/cvs/FREEBSD-upgrade 1.1.2.1 +11 -0 src/contrib/cvs/FREEBSD-vendstock (new) 1.1.1.7.18.1 +57 -30 src/contrib/cvs/HACKING 1.1.1.13.18.1 +35 -3 src/contrib/cvs/INSTALL 1.1.1.12.18.1 +216 -141 src/contrib/cvs/Makefile.in 1.1.1.13.18.1 +265 -1 src/contrib/cvs/NEWS 1.1.1.6.18.1 +43 -16 src/contrib/cvs/README 1.1.1.7.18.1 +18 -14 src/contrib/cvs/TESTS 1.1.1.10.18.1 +5 -33 src/contrib/cvs/TODO 1.1.1.5.18.1 +11 -1 src/contrib/cvs/acinclude.m4 1.1.1.5.18.1 +616 -970 src/contrib/cvs/aclocal.m4 1.1.1.1.26.1 +106 -46 src/contrib/cvs/compile 1.1.1.13.18.1 +9 -1 src/contrib/cvs/config.h.in 1.1.1.14.18.1 +6966 -6819 src/contrib/cvs/configure 1.1.1.14.18.1 +121 -12 src/contrib/cvs/configure.in 1.1.1.13.18.1 +52 -1 src/contrib/cvs/contrib/ChangeLog 1.1.1.5.18.1 +6 -3 src/contrib/cvs/contrib/Makefile.am 1.1.1.10.18.1 +152 -102 src/contrib/cvs/contrib/Makefile.in 1.1.1.5.24.1 +1 -2 src/contrib/cvs/contrib/README 1.1.1.1.26.1 +12 -0 src/contrib/cvs/contrib/clmerge.in 1.1.1.1.26.1 +12 -0 src/contrib/cvs/contrib/cln_hist.in 1.1.1.2.18.1 +32 -2 src/contrib/cvs/contrib/commit_prep.in 1.1.1.2.18.1 +12 -0 src/contrib/cvs/contrib/cvs2vendor.sh 1.1.1.1.2.1 +459 -0 src/contrib/cvs/contrib/cvs_acls.html (new) 1.1.1.4.22.1 +930 -160 src/contrib/cvs/contrib/cvs_acls.in 1.1.1.2.48.1 +12 -0 src/contrib/cvs/contrib/cvscheck.sh 1.1.1.2.24.1 +12 -9 src/contrib/cvs/contrib/debug_check_log.sh 1.1.1.2.48.1 +12 -0 src/contrib/cvs/contrib/descend.sh 1.1.1.1.26.1 +32 -2 src/contrib/cvs/contrib/log.in 1.1.1.2.18.1 +37 -8 src/contrib/cvs/contrib/log_accum.in 1.1.1.1.26.1 +32 -2 src/contrib/cvs/contrib/mfpipe.in 1.1.1.1.26.1 +1 -1 src/contrib/cvs/contrib/pvcs2rcs.in 1.1.1.2.48.1 +13 -4 src/contrib/cvs/contrib/rcs-to-cvs.sh 1.1.1.5.18.1 +12 -0 src/contrib/cvs/contrib/rcs2log.sh 1.1.1.4.18.1 +11 -0 src/contrib/cvs/contrib/rcs2sccs.sh 1.1.1.1.26.1 +31 -1 src/contrib/cvs/contrib/rcslock.in 1.5.18.1 +12 -0 src/contrib/cvs/contrib/sccs2rcs.in 1.1.1.3.18.1 +132 -27 src/contrib/cvs/depcomp 1.1.1.9.18.1 +8 -0 src/contrib/cvs/diff/ChangeLog 1.1.1.2.18.1 +1 -1 src/contrib/cvs/diff/Makefile.am 1.1.1.8.18.1 +140 -119 src/contrib/cvs/diff/Makefile.in 1.1.1.16.18.1 +262 -0 src/contrib/cvs/doc/ChangeLog 1.1.1.2.22.1 +46 -0 src/contrib/cvs/doc/HACKING.DOCS (new) 1.1.1.4.18.1 +43 -24 src/contrib/cvs/doc/Makefile.am 1.1.1.8.18.1 +386 -165 src/contrib/cvs/doc/Makefile.in 1.1.1.1.20.1 +353 -93 src/contrib/cvs/doc/cvs.1 1.1.1.1.20.1 +1 -3 src/contrib/cvs/doc/cvs.man.footer 1.1.1.1.20.1 +3 -3 src/contrib/cvs/doc/cvs.man.header 1.1.1.15.18.1 +572 -198 src/contrib/cvs/doc/cvs.texinfo 1.1.1.12.18.1 +29 -48 src/contrib/cvs/doc/cvsclient.texi 1.1.1.1.26.1 +122 -13 src/contrib/cvs/doc/mdate-sh 1.1.1.2.2.1 +372 -0 src/contrib/cvs/doc/mkman.pl (new) 1.1.1.5.18.1 +4 -4 src/contrib/cvs/doc/stamp-1 1.1.1.5.18.1 +4 -4 src/contrib/cvs/doc/stamp-vti 1.1.1.5.18.1 +4 -4 src/contrib/cvs/doc/version-client.texi 1.1.1.5.18.1 +4 -4 src/contrib/cvs/doc/version.texi 1.1.1.3.24.1 +456 -200 src/contrib/cvs/install-sh 1.1.1.14.18.1 +59 -0 src/contrib/cvs/lib/ChangeLog 1.1.1.4.18.1 +22 -4 src/contrib/cvs/lib/Makefile.am 1.1.1.12.18.1 +269 -184 src/contrib/cvs/lib/Makefile.in 1.1.1.2.18.1 +1 -1 src/contrib/cvs/lib/fncase.c 1.1.1.1.20.1 +5 -0 src/contrib/cvs/lib/getpass.c 1.1.1.6.18.1 +2 -2 src/contrib/cvs/lib/regex.c 1.1.1.9.18.1 +13 -9 src/contrib/cvs/lib/system.h 1.1.1.1.2.1 +127 -0 src/contrib/cvs/lib/test-getdate.sh (new) 1.1.1.1.28.1 +3 -1 src/contrib/cvs/lib/xsize.h 1.1.1.1.26.1 +4 -0 src/contrib/cvs/lib/xtime.h 1.1.1.11.18.1 +4 -0 src/contrib/cvs/man/ChangeLog 1.1.1.3.18.1 +5 -3 src/contrib/cvs/man/Makefile.am 1.1.1.9.18.1 +125 -79 src/contrib/cvs/man/Makefile.in 1.22.2.1 +22 -13 src/contrib/cvs/man/cvs.1 1.1.1.1.26.1 +161 -59 src/contrib/cvs/missing 1.1.1.3.24.1 +147 -26 src/contrib/cvs/mkinstalldirs 1.1.1.16.18.1 +1348 -9 src/contrib/cvs/src/ChangeLog 1.1.1.5.18.1 +5 -3 src/contrib/cvs/src/Makefile.am 1.1.1.12.18.1 +176 -174 src/contrib/cvs/src/Makefile.in 1.1.1.12.18.1 +46 -14 src/contrib/cvs/src/add.c 1.1.1.12.18.1 +21 -13 src/contrib/cvs/src/admin.c 1.1.1.5.18.1 +8 -2 src/contrib/cvs/src/annotate.c 1.5.18.1 +50 -18 src/contrib/cvs/src/buffer.c 1.1.1.6.18.1 +14 -0 src/contrib/cvs/src/buffer.h 1.1.1.5.18.1 +10 -4 src/contrib/cvs/src/checkin.c 1.5.18.1 +12 -10 src/contrib/cvs/src/checkout.c 1.1.1.8.18.1 +73 -23 src/contrib/cvs/src/classify.c 1.12.18.1 +131 -136 src/contrib/cvs/src/client.c 1.1.1.9.18.1 +17 -4 src/contrib/cvs/src/client.h 1.15.18.1 +129 -61 src/contrib/cvs/src/commit.c 1.1.1.9.18.1 +7 -2 src/contrib/cvs/src/create_adm.c 1.20.18.1 +31 -18 src/contrib/cvs/src/cvs.h 1.1.1.7.18.1 +8 -3 src/contrib/cvs/src/cvsrc.c 1.21.18.1 +100 -66 src/contrib/cvs/src/diff.c 1.1.1.11.18.1 +25 -17 src/contrib/cvs/src/edit.c 1.1.1.3.18.1 +2 -2 src/contrib/cvs/src/edit.h 1.4.18.1 +8 -2 src/contrib/cvs/src/entries.c 1.1.1.6.18.1 +76 -97 src/contrib/cvs/src/expand_path.c 1.1.1.6.18.1 +3 -0 src/contrib/cvs/src/fileattr.c 1.12.18.1 +62 -38 src/contrib/cvs/src/filesubr.c 1.1.1.9.18.1 +7 -2 src/contrib/cvs/src/find_names.c 1.1.1.5.18.1 +4 -2 src/contrib/cvs/src/hardlink.c 1.1.1.2.44.1 +2 -0 src/contrib/cvs/src/hardlink.h 1.1.1.6.18.1 +6 -1 src/contrib/cvs/src/hash.c 1.1.1.6.18.1 +15 -10 src/contrib/cvs/src/hash.h 1.1.1.12.18.1 +53 -26 src/contrib/cvs/src/history.c 1.1.1.1.20.1 +4 -2 src/contrib/cvs/src/history.h 1.1.1.10.18.1 +20 -7 src/contrib/cvs/src/ignore.c 1.12.18.1 +54 -46 src/contrib/cvs/src/import.c 1.13.18.1 +183 -43 src/contrib/cvs/src/lock.c 1.3.2.1 +69 -28 src/contrib/cvs/src/log.c 1.9.10.1 +45 -22 src/contrib/cvs/src/login.c 1.12.18.1 +13 -16 src/contrib/cvs/src/logmsg.c 1.25.18.1 +110 -136 src/contrib/cvs/src/main.c 1.13.18.1 +74 -9 src/contrib/cvs/src/mkmodules.c 1.1.1.10.18.1 +10 -7 src/contrib/cvs/src/modules.c 1.1.1.10.18.1 +7 -1 src/contrib/cvs/src/myndbm.c 1.1.1.2.48.1 +14 -0 src/contrib/cvs/src/myndbm.h 1.1.1.6.18.1 +9 -2 src/contrib/cvs/src/no_diff.c 1.3.18.2 +37 -7 src/contrib/cvs/src/parseinfo.c 1.2.10.1 +51 -21 src/contrib/cvs/src/patch.c 1.28.10.1 +544 -231 src/contrib/cvs/src/rcs.c 1.11.18.1 +9 -3 src/contrib/cvs/src/rcs.h 1.10.18.1 +80 -94 src/contrib/cvs/src/rcscmds.c 1.12.18.1 +95 -74 src/contrib/cvs/src/recurse.c 1.1.1.8.18.1 +25 -12 src/contrib/cvs/src/release.c 1.1.1.11.18.1 +7 -2 src/contrib/cvs/src/remove.c 1.1.1.6.18.1 +7 -2 src/contrib/cvs/src/repos.c 1.1.1.11.18.1 +36 -29 src/contrib/cvs/src/root.c 1.1.1.2.18.1 +19 -4 src/contrib/cvs/src/root.h 1.1.1.8.18.1 +136 -24 src/contrib/cvs/src/run.c 1.1.1.15.18.1 +3351 -774 src/contrib/cvs/src/sanity.sh 1.24.18.1 +141 -78 src/contrib/cvs/src/server.c 1.1.1.8.18.1 +9 -9 src/contrib/cvs/src/server.h 1.1.1.1.20.1 +4 -3 src/contrib/cvs/src/stack.c 1.1.1.1.20.1 +2 -3 src/contrib/cvs/src/stack.h 1.1.1.10.18.1 +13 -18 src/contrib/cvs/src/status.c 1.1.1.13.18.1 +7 -56 src/contrib/cvs/src/subr.c 1.2.18.1 +180 -83 src/contrib/cvs/src/tag.c 1.14.18.1 +188 -164 src/contrib/cvs/src/update.c 1.1.1.12.18.1 +49 -21 src/contrib/cvs/src/vers_ts.c 1.1.1.13.24.1 +8 -6 src/contrib/cvs/src/version.c 1.1.1.10.18.1 +11 -12 src/contrib/cvs/src/watch.c 1.1.1.12.18.1 +5 -5 src/contrib/cvs/src/wrapper.c 1.1.1.7.18.1 +4 -12 src/contrib/cvs/src/zlib.c 1.1.1.8.18.1 +10 -0 src/contrib/cvs/tools/ChangeLog 1.1.1.2.18.1 +5 -3 src/contrib/cvs/tools/Makefile.am 1.1.1.8.18.1 +106 -60 src/contrib/cvs/tools/Makefile.in 1.1.1.3.24.1 +3 -4 src/contrib/cvs/tools/README 1.17.20.1 +44 -5 src/gnu/usr.bin/cvs/lib/config.h.proto From imp at FreeBSD.org Mon Jul 28 17:00:46 2008 From: imp at FreeBSD.org (Warner Losh) Date: Mon Jul 28 17:00:58 2008 Subject: cvs commit: src/sys/dev/wi if_wi.c if_wivar.h Message-ID: <200807281700.m6SH0kQe048821@repoman.freebsd.org> imp 2008-07-28 17:00:37 UTC FreeBSD src repository Modified files: sys/dev/wi if_wi.c if_wivar.h Log: SVN rev 180919 on 2008-07-28 17:00:37Z by imp Export the hardware type (as number and name), the secondary firmware revision and (on Prism cards) the primary firmware revision via sysctl. Move the printing of this information under bootverbose, since it is relatively easy to get to it now. Revision Changes Path 1.220 +43 -19 src/sys/dev/wi/if_wi.c 1.33 +2 -0 src/sys/dev/wi/if_wivar.h From jhb at FreeBSD.org Mon Jul 28 17:05:22 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 17:05:28 2008 Subject: cvs commit: src/sys/dev/mpt mpt_raid.c Message-ID: <200807281705.m6SH5HLW050354@repoman.freebsd.org> jhb 2008-07-28 17:05:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mpt mpt_raid.c Log: SVN rev 180920 on 2008-07-28 17:05:09Z by jhb MFC: Allocate a single CCB at the start of the main loop of the RAID monitoring kthread of the mpt(4) driver. Revision Changes Path 1.15.2.1 +4 -4 src/sys/dev/mpt/mpt_raid.c From jhb at FreeBSD.org Mon Jul 28 17:10:24 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 17:10:31 2008 Subject: cvs commit: src/sys/dev/mpt mpt_raid.c Message-ID: <200807281710.m6SHAOpQ050780@repoman.freebsd.org> jhb 2008-07-28 17:10:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mpt mpt_raid.c Log: SVN rev 180921 on 2008-07-28 17:10:09Z by jhb MFC: Allocate a single CCB at the start of the main loop of the RAID monitoring kthread of the mpt(4) driver. Revision Changes Path 1.1.2.5 +4 -4 src/sys/dev/mpt/mpt_raid.c From obrien at FreeBSD.org Mon Jul 28 17:12:11 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Jul 28 17:12:18 2008 Subject: cvs commit: src/usr.sbin/config config.y lang.l Message-ID: <200807281712.m6SHCBu8050948@repoman.freebsd.org> obrien 2008-07-28 17:11:57 UTC FreeBSD src repository Modified files: usr.sbin/config config.y lang.l Log: SVN rev 180922 on 2008-07-28 17:11:57Z by obrien Allow kernel config files to include files other than those in the CWD, using unquoted paths. Revision Changes Path 1.80 +6 -0 src/usr.sbin/config/config.y 1.46 +6 -0 src/usr.sbin/config/lang.l From jhb at FreeBSD.org Mon Jul 28 17:25:43 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 17:25:49 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <200807281725.m6SHPgMP052305@repoman.freebsd.org> jhb 2008-07-28 17:25:24 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: SVN rev 180923 on 2008-07-28 17:25:24Z by jhb Implement support for cpusets in the 4BSD scheduler. - When a cpuset is applied to a thread, walk the cpuset to see if it is a "full" cpuset (includes all available CPUs). If not, set a new TDS_AFFINITY flag to indicate that this thread can't run on all CPUs. When inheriting a cpuset from another thread during thread creation, the new thread also inherits this flag. It is in a new ts_flags field in td_sched rather than using one of the TDF_SCHEDx flags because fork() clears td_flags after invoking sched_fork(). - When placing a thread on a runqueue via sched_add(), if the thread is not pinned or bound but has the TDS_AFFINITY flag set, then invoke a new routine (sched_pickcpu()) to pick a CPU for the thread to run on next. sched_pickcpu() walks the cpuset and picks the CPU with the shortest per-CPU runqueue length. Note that the reason for the TDS_AFFINITY flag is to avoid having to walk the cpuset and examine runq lengths in the common case. - To avoid walking the per-CPU runqueues in sched_pickcpu(), add an array of counters to hold the length of the per-CPU runqueues and update them when adding and removing threads to per-CPU runqueues. MFC after: 2 weeks Revision Changes Path 1.128 +116 -0 src/sys/kern/sched_4bsd.c From antoine at FreeBSD.org Mon Jul 28 17:42:48 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 17:43:00 2008 Subject: cvs commit: src/etc/mtree BSD.usr.dist Message-ID: <200807281742.m6SHghbo053776@repoman.freebsd.org> antoine 2008-07-28 17:42:37 UTC FreeBSD src repository Modified files: etc/mtree BSD.usr.dist Log: SVN rev 180924 on 2008-07-28 17:42:37Z by antoine Remove an empty directory that is already in ObsoleteFiles.inc from mtree/BSD.usr.dist Revision Changes Path 1.335 +0 -2 src/etc/mtree/BSD.usr.dist From antoine at FreeBSD.org Mon Jul 28 17:56:45 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 17:56:56 2008 Subject: cvs commit: src/sys/modules/et Makefile Message-ID: <200807281756.m6SHujIa054872@repoman.freebsd.org> antoine 2008-07-28 17:56:37 UTC FreeBSD src repository Modified files: sys/modules/et Makefile Log: SVN rev 180925 on 2008-07-28 17:56:37Z by antoine Remove a file that is not used and does not exist. Revision Changes Path 1.2 +1 -1 src/sys/modules/et/Makefile From antoine at FreeBSD.org Mon Jul 28 18:01:01 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 18:01:07 2008 Subject: cvs commit: src/tools/build/mk OptionalObsoleteFiles.inc Message-ID: <200807281801.m6SI11XO055255@repoman.freebsd.org> antoine 2008-07-28 18:00:45 UTC FreeBSD src repository Modified files: tools/build/mk OptionalObsoleteFiles.inc Log: SVN rev 180926 on 2008-07-28 18:00:45Z by antoine Add files to remove when MK_GNU_CPIO = no Revision Changes Path 1.18 +6 -0 src/tools/build/mk/OptionalObsoleteFiles.inc From pjd at FreeBSD.org Mon Jul 28 18:11:10 2008 From: pjd at FreeBSD.org (Pawel Jakub Dawidek) Date: Mon Jul 28 18:11:23 2008 Subject: cvs commit: src/sys/kern subr_sleepqueue.c Message-ID: <200807281811.m6SIB8At057207@repoman.freebsd.org> pjd 2008-07-28 18:10:26 UTC FreeBSD src repository Modified files: sys/kern subr_sleepqueue.c Log: SVN rev 180927 on 2008-07-28 18:10:26Z by pjd Properly check if td_name is empty and if it is, print process name, instead of empty thread name. Reviewed by: jhb Revision Changes Path 1.54 +2 -2 src/sys/kern/subr_sleepqueue.c From antoine at FreeBSD.org Mon Jul 28 18:17:36 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 18:17:42 2008 Subject: cvs commit: src/sys/net if_ethersubr.c Message-ID: <200807281817.m6SIHWAZ057759@repoman.freebsd.org> antoine 2008-07-28 18:17:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_ethersubr.c Log: SVN rev 180928 on 2008-07-28 18:17:23Z by antoine MFC r178920 to stable/7: Add missing braces in #if 0ed code. Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.236.2.3 +2 -1 src/sys/net/if_ethersubr.c From antoine at FreeBSD.org Mon Jul 28 18:22:18 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 18:22:25 2008 Subject: cvs commit: src/sys/net if_ethersubr.c Message-ID: <200807281822.m6SIMIaG058568@repoman.freebsd.org> antoine 2008-07-28 18:22:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if_ethersubr.c Log: SVN rev 180929 on 2008-07-28 18:22:06Z by antoine MFC r178920 to stable/6: Add missing braces in #if 0ed code. Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.193.2.17 +2 -1 src/sys/net/if_ethersubr.c From jhb at FreeBSD.org Mon Jul 28 18:34:04 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 18:34:10 2008 Subject: cvs commit: src/sys/kern subr_sleepqueue.c Message-ID: <200807281834.m6SIY4JM059538@repoman.freebsd.org> jhb 2008-07-28 18:33:43 UTC FreeBSD src repository Modified files: sys/kern subr_sleepqueue.c Log: SVN rev 180930 on 2008-07-28 18:33:43Z by jhb Really fix this. Revision Changes Path 1.55 +1 -2 src/sys/kern/subr_sleepqueue.c From jhb at FreeBSD.org Mon Jul 28 18:58:20 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 18:59:21 2008 Subject: cvs commit: src/contrib/telnet/telnetd state.c telnetd.c Message-ID: <200807281858.m6SIwKr9061652@repoman.freebsd.org> jhb 2008-07-28 18:58:16 UTC FreeBSD src repository Modified files: contrib/telnet/telnetd state.c telnetd.c Log: SVN rev 180931 on 2008-07-28 18:58:16Z by jhb Don't attempt authentication at all if it has been disabled via '-a off'. This works around a bug in HP-UX's telnet client and also gives a much saner user experience when using FreeBSD's telnet client. PR: bin/19405 Submitted by: Joel Ray Holveck joelh of gnu.org MFC after: 1 month Revision Changes Path 1.15 +4 -2 src/contrib/telnet/telnetd/state.c 1.30 +7 -5 src/contrib/telnet/telnetd/telnetd.c From mav at FreeBSD.org Mon Jul 28 19:32:23 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Jul 28 19:32:34 2008 Subject: cvs commit: src/sys/netinet6 icmp6.c raw_ip6.c Message-ID: <200807281932.m6SJWMVX066895@repoman.freebsd.org> mav 2008-07-28 19:32:18 UTC FreeBSD src repository Modified files: sys/netinet6 icmp6.c raw_ip6.c Log: SVN rev 180932 on 2008-07-28 19:32:18Z by mav Move inpcb lock higher to protect some nonbinding fields reading. It fixes nothing at this time, but decided to be more correct. Revision Changes Path 1.87 +4 -2 src/sys/netinet6/icmp6.c 1.82 +2 -1 src/sys/netinet6/raw_ip6.c From antoine at FreeBSD.org Mon Jul 28 19:35:40 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 19:35:47 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c Message-ID: <200807281935.m6SJZeUX067265@repoman.freebsd.org> antoine 2008-07-28 19:35:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/stdio fdopen.c Log: SVN rev 180933 on 2008-07-28 19:35:26Z by antoine MFC r178921 to stable/7: Remove useless call to getdtablesize(2) in fdopen(3) and its useless variable nofile. PR: 123109 Submitted by: Christoph Mallon Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.8.2.2 +0 -4 src/lib/libc/stdio/fdopen.c From antoine at FreeBSD.org Mon Jul 28 19:37:42 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 19:37:48 2008 Subject: cvs commit: src/lib/libc/stdio fdopen.c Message-ID: <200807281937.m6SJbg2A067438@repoman.freebsd.org> antoine 2008-07-28 19:37:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/stdio fdopen.c Log: SVN rev 180934 on 2008-07-28 19:37:26Z by antoine MFC r178921 to stable/6: Remove useless call to getdtablesize(2) in fdopen(3) and its useless variable nofile. PR: 123109 Submitted by: Christoph Mallon Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.7.14.2 +0 -4 src/lib/libc/stdio/fdopen.c From antoine at FreeBSD.org Mon Jul 28 20:04:58 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 20:05:21 2008 Subject: cvs commit: src/usr.sbin/pw pw_user.c Message-ID: <200807282004.m6SK4wFm070768@repoman.freebsd.org> antoine 2008-07-28 20:04:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pw pw_user.c Log: SVN rev 180935 on 2008-07-28 20:04:39Z by antoine MFC r179365 to stable/7: - Increase the size of the salt in pw(8) from 8 to 32 (same as in pam_unix(8)). This makes blowfish password hashes look normal when set using pw(8)/adduser(8). [1] - Make it possible to have a '/' in the salt. PR: 121146 [1] Submitted by: Jaakko Heinonen [1] Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.61.2.1 +7 -5 src/usr.sbin/pw/pw_user.c From antoine at FreeBSD.org Mon Jul 28 20:08:18 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Mon Jul 28 20:08:25 2008 Subject: cvs commit: src/usr.sbin/pw pw_user.c Message-ID: <200807282008.m6SK8Eek071137@repoman.freebsd.org> antoine 2008-07-28 20:08:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/pw pw_user.c Log: SVN rev 180936 on 2008-07-28 20:08:08Z by antoine MFC r179365 to stable/6: - Increase the size of the salt in pw(8) from 8 to 32 (same as in pam_unix(8)). This makes blowfish password hashes look normal when set using pw(8)/adduser(8). [1] - Make it possible to have a '/' in the salt. PR: 121146 [1] Submitted by: Jaakko Heinonen [1] Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.57.8.4 +7 -5 src/usr.sbin/pw/pw_user.c From jhb at FreeBSD.org Mon Jul 28 20:39:31 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 20:39:42 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <200807282039.m6SKdU1T073711@repoman.freebsd.org> jhb 2008-07-28 20:39:21 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: SVN rev 180937 on 2008-07-28 20:39:21Z by jhb When choosing a CPU for a thread in a cpuset, prefer the last CPU that the thread ran on if there are no other CPUs in the set with a shorter per-CPU runqueue. Revision Changes Path 1.129 +4 -1 src/sys/kern/sched_4bsd.c From jhb at FreeBSD.org Mon Jul 28 21:19:17 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 21:19:22 2008 Subject: cvs commit: src/lib/libc/stdio mktemp.c Message-ID: <200807282119.m6SLJHn2087686@repoman.freebsd.org> jhb 2008-07-28 21:18:59 UTC FreeBSD src repository Modified files: lib/libc/stdio mktemp.c Log: SVN rev 180938 on 2008-07-28 21:18:59Z by jhb Fix a few bugs with the _gettemp() routine which implements mkstemp(), mkstemps(), and mkdtemp(). - Add proper range checking for the 'slen' parameter passed to mkstemps(). - Try all possible permutations of a template if a collision is encountered. Previously, once a single template character reached 'z', it would not wrap around to '0' and keep going until it encountered the original starting letter. In the edge case that the randomly generated starting name used all 'z' characters, only that single name would be tried before giving up. PR: standards/66531 Submitted by: Jim Luther Obtained from: Apple MFC after: 1 week Revision Changes Path 1.31 +26 -11 src/lib/libc/stdio/mktemp.c From des at FreeBSD.org Mon Jul 28 21:33:48 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Mon Jul 28 21:33:54 2008 Subject: cvs commit: src/share/colldef Makefile no_NO.ISO8859-1.src no_NO.ISO8859-15.src Message-ID: <200807282133.m6SLXlsQ089184@repoman.freebsd.org> des 2008-07-28 21:33:34 UTC FreeBSD src repository Modified files: share/colldef Makefile Added files: share/colldef no_NO.ISO8859-1.src no_NO.ISO8859-15.src Log: SVN rev 180939 on 2008-07-28 21:33:34Z by des Add collation sequence for no_NO. The same sequence applies to nb_NO and nn_NO, which are symlinked to no_NO. The patch in the PR contained a number of errors apparently based on (sometimes incorrect) pronunciation; for instance, v and w are distinct letters and should be collated in that order, even if they are pronounced the same, while should be collated with u, even though it is often mispronounced as y. For lack of a solid reference, I have taken sv_SE and simply changed the last three letters of the alphabet. PR: conf/51920 MFC after: 2 weeks Revision Changes Path 1.73 +7 -3 src/share/colldef/Makefile 1.1 +40 -0 src/share/colldef/no_NO.ISO8859-1.src (new) 1.1 +40 -0 src/share/colldef/no_NO.ISO8859-15.src (new) From jhb at freebsd.org Mon Jul 28 21:43:08 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Jul 28 21:43:20 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c In-Reply-To: <200807271732.m6RHWtqo043358@repoman.freebsd.org> References: <200807271732.m6RHWtqo043358@repoman.freebsd.org> Message-ID: <200807281106.46020.jhb@freebsd.org> On Sunday 27 July 2008 01:32:36 pm Alan Cox wrote: > alc 2008-07-27 17:32:36 UTC > > FreeBSD src repository > > Modified files: > sys/amd64/amd64 pmap.c > Log: > SVN rev 180845 on 2008-07-27 17:32:36Z by alc > > Enhance pmap_change_attr(). Use pmap_demote_pde() to demote a 2MB page > mapping to 4KB page mappings when the specified attribute change only > applies to a portion of the 2MB page. Previously, in such cases, > pmap_change_attr() gave up and returned an error. > > Submitted by: Magesh Dhasayyan Woo, thanks for taking care of this! -- John Baldwin From jhb at freebsd.org Mon Jul 28 21:43:13 2008 From: jhb at freebsd.org (John Baldwin) Date: Mon Jul 28 21:43:31 2008 Subject: cvs commit: src/sys/kern kern_thread.c In-Reply-To: <200807261858.m6QIwuL8037138@repoman.freebsd.org> References: <200807261858.m6QIwuL8037138@repoman.freebsd.org> Message-ID: <200807281152.37119.jhb@freebsd.org> On Saturday 26 July 2008 02:58:50 pm Konstantin Belousov wrote: > kib 2008-07-26 18:58:50 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/kern kern_thread.c > Log: > SVN rev 180830 on 2008-07-26 18:58:50Z by kib > > Although being recorded as MFC of the r177369, this change was > introduced for the KSE case in the r177083. Both were done by jeff, > MFC is needed due to recent cpuset(2) commit to RELENG_7. > > r177083: > KSE may free a thread that was never actually forked. This will leave > td_cpuset NULL. Check for this condition before dereferencing the > cpuset. > > r177369: > Restore the NULL check for td_cpuset. This can happen if a partially > constructed thread was torn down as is the case when we fail to allocate > a kernel stack. Thanks. -- John Baldwin From jhb at FreeBSD.org Mon Jul 28 21:44:36 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 21:44:43 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c In-Reply-To: <200807282039.m6SKdU1T073711@repoman.freebsd.org> References: <200807282039.m6SKdU1T073711@repoman.freebsd.org> Message-ID: <200807281647.37400.jhb@freebsd.org> On Monday 28 July 2008 04:39:21 pm John Baldwin wrote: > jhb 2008-07-28 20:39:21 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_4bsd.c > Log: > SVN rev 180937 on 2008-07-28 20:39:21Z by jhb > > When choosing a CPU for a thread in a cpuset, prefer the last CPU that the > thread ran on if there are no other CPUs in the set with a shorter per-CPU > runqueue. I used the test program below. Prior to this change, the two child processes bounced between the two CPUs constantly. With this patch on an otherwise-idle box, they only switched CPUs once after starting. With ULE they switch CPUs occasionally (once every few seconds) but not nearly as bad as 4BSD before this patch (multiple switches per second). Granted, this is a very contrived test. :) Note that I ran this on a 4-CPU box and used CPUs 2 and 3. You can change which CPUs are used by changing the 'cpus[]' array. This is also quite x86 specific. :) #include #include #include #include #include #include int apic_ids[2]; int cpus[2] = { 2, 3 }; int apic_id(void) { u_int regs[4]; do_cpuid(1, regs); return (regs[1] >> 24); } void check_id(pid_t pid, int *id) { int new; new = apic_id(); if (*id == new) return; printf("%d: moved from APIC ID %d to APIC ID %d\n", pid, *id, new); *id = new; } void child(void) { int last_id; pid_t pid; int i; pid = getpid(); last_id = apic_id(); printf("%d: starting on APIC ID %d\n", pid, last_id); for (;;) { for (i = 0; i < 10000000; i++) check_id(pid, &last_id); usleep(5); check_id(pid, &last_id); } } int main(int ac, char **av) { cpuset_t set; int i; for (i = 0; i < 2; i++) { CPU_ZERO(&set); CPU_SET(cpus[i], &set); if (cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, sizeof(set), &set)) err(1, "cpuset_affinity(%d)", cpus[i]); apic_ids[i] = apic_id(); printf("CPU%d has APIC ID %d\n", cpus[i], apic_ids[i]); } CPU_ZERO(&set); for (i = 0; i < 2; i++) CPU_SET(cpus[i], &set); if (cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, sizeof(set), &set)) err(1, "cpuset_affinity"); for (i = 0; i < 2; i++) { switch (fork()) { case -1: err(1, "fork"); case 0: break; default: child(); } } for (i = 0; i < 2; i++) wait(NULL); return (0); } -- John Baldwin From jhb at FreeBSD.org Mon Jul 28 21:47:19 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 21:47:31 2008 Subject: cvs commit: src/sys/conf files Message-ID: <200807282147.m6SLlIOA090300@repoman.freebsd.org> jhb 2008-07-28 21:47:04 UTC FreeBSD src repository Modified files: sys/conf files Log: SVN rev 180940 on 2008-07-28 21:47:04Z by jhb Remove a stale reference to sys/dev/ixgbe/tcp_lro.c. Revision Changes Path 1.1319 +0 -2 src/sys/conf/files From des at FreeBSD.org Mon Jul 28 21:50:35 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Mon Jul 28 21:50:46 2008 Subject: cvs commit: src/share/timedef Makefile nb_NO.ISO8859-1.src nb_NO.UTF-8.src no_NO.ISO8859-1.src no_NO.UTF-8.src Message-ID: <200807282150.m6SLoYb2090625@repoman.freebsd.org> des 2008-07-28 21:50:21 UTC FreeBSD src repository Modified files: share/timedef Makefile Added files: share/timedef nb_NO.ISO8859-1.src nb_NO.UTF-8.src Removed files: share/timedef no_NO.ISO8859-1.src no_NO.UTF-8.src Log: SVN rev 180941 on 2008-07-28 21:50:21Z by des In some cases (such as LC_COLLATE), nb_NO and nn_NO are identical, and it makes sense to have them both link to no_NO. In other cases (such as LC_TIME), they differ, and the correct solution is to have no_NO link to nb_NO, rather than the other way around.o MFC after: 2 weeks Revision Changes Path 1.51 +1 -1 src/share/timedef/Makefile 1.1 +102 -0 src/share/timedef/nb_NO.ISO8859-1.src (new) 1.1 +102 -0 src/share/timedef/nb_NO.UTF-8.src (new) 1.15 +0 -102 src/share/timedef/no_NO.ISO8859-1.src (dead) 1.4 +0 -102 src/share/timedef/no_NO.UTF-8.src (dead) From jhb at FreeBSD.org Mon Jul 28 22:17:07 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Mon Jul 28 22:17:22 2008 Subject: cvs commit: src/sys/conf NOTES Message-ID: <200807282217.m6SMH5x5093899@repoman.freebsd.org> jhb 2008-07-28 22:16:58 UTC FreeBSD src repository Modified files: sys/conf NOTES Log: SVN rev 180942 on 2008-07-28 22:16:58Z by jhb Re-enable em(4) and igb(4) in NOTES. PR: conf/112081 Revision Changes Path 1.1500 +2 -2 src/sys/conf/NOTES From mav at FreeBSD.org Mon Jul 28 22:22:53 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Jul 28 22:23:05 2008 Subject: cvs commit: src/sys/netgraph ng_l2tp.c Message-ID: <200807282222.m6SMMr5k094545@repoman.freebsd.org> mav 2008-07-28 22:22:38 UTC FreeBSD src repository Modified files: sys/netgraph ng_l2tp.c Log: SVN rev 180943 on 2008-07-28 22:22:38Z by mav Don't use memcpy() to copy several bytes. Store IDs is host order. It is not so important to bloat code for it. Combine m_adj() and M_PREPEND() into single M_PREPEND(). Revision Changes Path 1.26 +22 -40 src/sys/netgraph/ng_l2tp.c From julian at elischer.org Mon Jul 28 23:14:29 2008 From: julian at elischer.org (Julian Elischer) Date: Mon Jul 28 23:14:41 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c In-Reply-To: <200807281647.37400.jhb@freebsd.org> References: <200807282039.m6SKdU1T073711@repoman.freebsd.org> <200807281647.37400.jhb@freebsd.org> Message-ID: <488E5249.5010608@elischer.org> John Baldwin wrote: > On Monday 28 July 2008 04:39:21 pm John Baldwin wrote: >> jhb 2008-07-28 20:39:21 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/kern sched_4bsd.c >> Log: >> SVN rev 180937 on 2008-07-28 20:39:21Z by jhb >> >> When choosing a CPU for a thread in a cpuset, prefer the last CPU that the >> thread ran on if there are no other CPUs in the set with a shorter per-CPU >> runqueue. would this help teh case where we set up a cpu set with all CPUs? in other words shouldn't we just drop the single cpu runqueue and have this always turned on? > > I used the test program below. Prior to this change, the two child processes > bounced between the two CPUs constantly. With this patch on an > otherwise-idle box, they only switched CPUs once after starting. With ULE > they switch CPUs occasionally (once every few seconds) but not nearly as bad > as 4BSD before this patch (multiple switches per second). Granted, this is a > very contrived test. :) > > Note that I ran this on a 4-CPU box and used CPUs 2 and 3. You can change > which CPUs are used by changing the 'cpus[]' array. This is also quite x86 > specific. :) > > #include > #include > #include > #include > #include > #include > > int apic_ids[2]; > int cpus[2] = { 2, 3 }; > > int > apic_id(void) > { > u_int regs[4]; > > do_cpuid(1, regs); > return (regs[1] >> 24); > } > > void > check_id(pid_t pid, int *id) > { > int new; > > new = apic_id(); > if (*id == new) > return; > printf("%d: moved from APIC ID %d to APIC ID %d\n", pid, *id, new); > *id = new; > } > > void > child(void) > { > int last_id; > pid_t pid; > int i; > > pid = getpid(); > last_id = apic_id(); > printf("%d: starting on APIC ID %d\n", pid, last_id); > for (;;) { > for (i = 0; i < 10000000; i++) > check_id(pid, &last_id); > usleep(5); > check_id(pid, &last_id); > } > } > > int > main(int ac, char **av) > { > cpuset_t set; > int i; > > for (i = 0; i < 2; i++) { > CPU_ZERO(&set); > CPU_SET(cpus[i], &set); > > if (cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, > sizeof(set), &set)) > err(1, "cpuset_affinity(%d)", cpus[i]); > apic_ids[i] = apic_id(); > printf("CPU%d has APIC ID %d\n", cpus[i], apic_ids[i]); > } > > CPU_ZERO(&set); > for (i = 0; i < 2; i++) > CPU_SET(cpus[i], &set); > if (cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1, > sizeof(set), &set)) > err(1, "cpuset_affinity"); > > for (i = 0; i < 2; i++) { > switch (fork()) { > case -1: > err(1, "fork"); > case 0: > break; > default: > child(); > } > } > > for (i = 0; i < 2; i++) > wait(NULL); > > return (0); > } > From kmacy at FreeBSD.org Mon Jul 28 23:38:24 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Jul 28 23:38:30 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/cxgb cxgb_adapter.h cxgb_config.h cxgb_main.c cxgb_offload.c cxgb_offload.h cxgb_osdep.h cxgb_sge.c src/sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_mc5.c cxgb_mv88e1xxx.c cxgb_t3_cpl.h ... Message-ID: <200807282338.m6SNcNox002584@repoman.freebsd.org> kmacy 2008-07-28 23:37:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files sys/dev/cxgb cxgb_adapter.h cxgb_config.h cxgb_main.c cxgb_offload.c cxgb_offload.h cxgb_osdep.h cxgb_sge.c sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_mc5.c cxgb_mv88e1xxx.c cxgb_t3_cpl.h cxgb_t3_hw.c cxgb_vsc8211.c cxgb_xgmac.c sys/dev/cxgb/ulp/toecore cxgb_toedev.h sys/modules/cxgb Makefile sys/modules/cxgb/cxgb Makefile sys/modules/cxgb/cxgb_t3fw Makefile Added files: (Branch: RELENG_7) sys/dev/cxgb/common cxgb_tn1010.c sys/dev/cxgb/ulp/iw_cxgb iw_cxgb.c iw_cxgb.h iw_cxgb_cm.c iw_cxgb_cm.h iw_cxgb_cq.c iw_cxgb_dbg.c iw_cxgb_ev.c iw_cxgb_hal.c iw_cxgb_hal.h iw_cxgb_mem.c iw_cxgb_provider.c iw_cxgb_provider.h iw_cxgb_qp.c iw_cxgb_resource.c iw_cxgb_resource.h iw_cxgb_user.h iw_cxgb_wr.h sys/dev/cxgb/ulp/toecore toedev.c sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_cpl_socket.c cxgb_ddp.c cxgb_defs.h cxgb_l2t.c cxgb_l2t.h cxgb_listen.c cxgb_t3_ddp.h cxgb_tcp.h cxgb_tcp_offload.c cxgb_tcp_offload.h cxgb_toepcb.h cxgb_tom.c cxgb_tom.h cxgb_tom_sysctl.c cxgb_vm.c cxgb_vm.h sys/modules/cxgb/iw_cxgb Makefile sys/modules/cxgb/toecore Makefile sys/modules/cxgb/tom Makefile Log: SVN rev 180944 on 2008-07-28 23:37:33Z by kmacy MFC the following: - vendor bug fixes - driver side of iwarp support - driver side of TOE support - Makefile cleanup Revision Changes Path 1.1243.2.31 +1 -0 src/sys/conf/files 1.3.2.2 +408 -45 src/sys/dev/cxgb/common/cxgb_ael1002.c 1.7.2.2 +41 -27 src/sys/dev/cxgb/common/cxgb_common.h 1.5.2.2 +12 -6 src/sys/dev/cxgb/common/cxgb_mc5.c 1.2.2.2 +2 -2 src/sys/dev/cxgb/common/cxgb_mv88e1xxx.c 1.4.2.2 +28 -4 src/sys/dev/cxgb/common/cxgb_t3_cpl.h 1.9.2.2 +78 -26 src/sys/dev/cxgb/common/cxgb_t3_hw.c 1.1.2.1 +225 -0 src/sys/dev/cxgb/common/cxgb_tn1010.c (new) 1.3.2.2 +5 -2 src/sys/dev/cxgb/common/cxgb_vsc8211.c 1.7.2.2 +29 -26 src/sys/dev/cxgb/common/cxgb_xgmac.c 1.20.2.2 +1 -1 src/sys/dev/cxgb/cxgb_adapter.h 1.4.2.2 +0 -1 src/sys/dev/cxgb/cxgb_config.h 1.36.2.3 +51 -23 src/sys/dev/cxgb/cxgb_main.c 1.8.2.3 +2 -3 src/sys/dev/cxgb/cxgb_offload.c 1.5.2.2 +0 -6 src/sys/dev/cxgb/cxgb_offload.h 1.14.2.2 +17 -4 src/sys/dev/cxgb/cxgb_osdep.h 1.30.2.2 +49 -15 src/sys/dev/cxgb/cxgb_sge.c 1.1.2.1 +294 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c (new) 1.1.2.1 +168 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.h (new) 1.1.2.1 +1779 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c (new) 1.1.2.1 +249 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.h (new) 1.2.2.1 +276 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cq.c (new) 1.2.2.1 +255 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_dbg.c (new) 1.1.2.1 +265 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_ev.c (new) 1.1.2.1 +1418 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_hal.c (new) 1.1.2.1 +330 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_hal.h (new) 1.1.2.1 +219 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_mem.c (new) 1.1.2.1 +1295 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c (new) 1.1.2.1 +362 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.h (new) 1.1.2.1 +1052 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_qp.c (new) 1.1.2.1 +382 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_resource.c (new) 1.1.2.1 +59 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_resource.h (new) 1.1.2.1 +68 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_user.h (new) 1.1.2.1 +684 -0 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_wr.h (new) 1.2.2.2 +4 -1 src/sys/dev/cxgb/ulp/toecore/cxgb_toedev.h 1.1.2.1 +424 -0 src/sys/dev/cxgb/ulp/toecore/toedev.c (new) 1.15.2.1 +4456 -0 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c (new) 1.10.2.1 +1030 -0 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c (new) 1.4.2.1 +738 -0 src/sys/dev/cxgb/ulp/tom/cxgb_ddp.c (new) 1.4.2.1 +90 -0 src/sys/dev/cxgb/ulp/tom/cxgb_defs.h (new) 1.1.2.1 +542 -0 src/sys/dev/cxgb/ulp/tom/cxgb_l2t.c (new) 1.1.2.1 +161 -0 src/sys/dev/cxgb/ulp/tom/cxgb_l2t.h (new) 1.4.2.1 +338 -0 src/sys/dev/cxgb/ulp/tom/cxgb_listen.c (new) 1.3.2.1 +181 -0 src/sys/dev/cxgb/ulp/tom/cxgb_t3_ddp.h (new) 1.2.2.1 +47 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tcp.h (new) 1.4.2.1 +95 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c (new) 1.6.2.1 +155 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h (new) 1.3.2.1 +119 -0 src/sys/dev/cxgb/ulp/tom/cxgb_toepcb.h (new) 1.5.2.1 +1510 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tom.c (new) 1.2.2.1 +159 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tom.h (new) 1.3.2.1 +119 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tom_sysctl.c (new) 1.1.2.1 +180 -0 src/sys/dev/cxgb/ulp/tom/cxgb_vm.c (new) 1.1.2.1 +40 -0 src/sys/dev/cxgb/ulp/tom/cxgb_vm.h (new) 1.10.2.2 +11 -0 src/sys/modules/cxgb/Makefile 1.8.2.2 +13 -7 src/sys/modules/cxgb/cxgb/Makefile 1.2.2.2 +1 -0 src/sys/modules/cxgb/cxgb_t3fw/Makefile 1.1.2.1 +14 -0 src/sys/modules/cxgb/iw_cxgb/Makefile (new) 1.1.2.1 +8 -0 src/sys/modules/cxgb/toecore/Makefile (new) 1.5.2.1 +14 -0 src/sys/modules/cxgb/tom/Makefile (new) From emax at FreeBSD.org Tue Jul 29 00:18:10 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Tue Jul 29 00:18:17 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/drivers/ubt ng_ubt.c Message-ID: <200807290018.m6T0IAn1007022@repoman.freebsd.org> emax 2008-07-29 00:17:53 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/drivers/ubt ng_ubt.c Log: SVN rev 180945 on 2008-07-29 00:17:53Z by emax Simplify ubt_isoc_in_complete2(). Also should fix off by 1 bug. MFC after: 3 months Revision Changes Path 1.35 +18 -28 src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c From peterjeremy at optushome.com.au Tue Jul 29 00:57:24 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Tue Jul 29 00:57:30 2008 Subject: cvs commit: src/sys/conf NOTES files src/sys/modules Makefile src/sys/modules/jme Makefile In-Reply-To: <200805270154.m4R1sjAn023638@repoman.freebsd.org> References: <200805270154.m4R1sjAn023638@repoman.freebsd.org> Message-ID: <20080728191208.GA40936@server.vk2pj.dyndns.org> [A bit late but I only just noticed] On 2008-May-27 01:54:45 +0000, Pyun YongHyeon wrote: >yongari 2008-05-27 01:54:45 UTC > > FreeBSD src repository > > Modified files: > sys/conf NOTES files > sys/modules Makefile > Added files: > sys/modules/jme Makefile > Log: > Hook up jme(4) to the build. > > Revision Changes Path > 1.1492 +1 -0 src/sys/conf/NOTES ... Whilst you have included a comment about jme(4) in NOTES, there is no associated 'device jme' line. All other NIC drivers have both a comment line and an actual device line apart from msk(4) and stge(4) (both of which you also committed). This bug has been carried through in your MFCs. Could you please update NOTES to include both lines for all three devices in all relevant branches so ensure that LINT builds include these devices. -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080729/f07ff481/attachment.pgp From yongari at FreeBSD.org Tue Jul 29 01:15:27 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 29 01:15:33 2008 Subject: cvs commit: src/sys/conf NOTES Message-ID: <200807290115.m6T1FQb0024156@repoman.freebsd.org> yongari 2008-07-29 01:15:11 UTC FreeBSD src repository Modified files: sys/conf NOTES Log: SVN rev 180946 on 2008-07-29 01:15:11Z by yongari Add missing jme(4), msk(4), nfe(4), re(4) and stge(4) in NOTES and ensure that LINT builds include these devices. Reported by: Peter Jeremy Revision Changes Path 1.1501 +7 -0 src/sys/conf/NOTES From pyunyh at gmail.com Tue Jul 29 01:47:14 2008 From: pyunyh at gmail.com (Pyun YongHyeon) Date: Tue Jul 29 01:47:21 2008 Subject: cvs commit: src/sys/conf NOTES files src/sys/modules Makefile src/sys/modules/jme Makefile In-Reply-To: <20080728191208.GA40936@server.vk2pj.dyndns.org> References: <200805270154.m4R1sjAn023638@repoman.freebsd.org> <20080728191208.GA40936@server.vk2pj.dyndns.org> Message-ID: <20080729011614.GA96129@cdnetworks.co.kr> On Tue, Jul 29, 2008 at 05:12:08AM +1000, Peter Jeremy wrote: > [A bit late but I only just noticed] > On 2008-May-27 01:54:45 +0000, Pyun YongHyeon wrote: > >yongari 2008-05-27 01:54:45 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/conf NOTES files > > sys/modules Makefile > > Added files: > > sys/modules/jme Makefile > > Log: > > Hook up jme(4) to the build. > > > > Revision Changes Path > > 1.1492 +1 -0 src/sys/conf/NOTES > ... > > Whilst you have included a comment about jme(4) in NOTES, there is no > associated 'device jme' line. All other NIC drivers have both a comment > line and an actual device line apart from msk(4) and stge(4) (both of > which you also committed). > > This bug has been carried through in your MFCs. > > Could you please update NOTES to include both lines for all three devices > in all relevant branches so ensure that LINT builds include these devices. > Done. I'll make sure to MFC the change. Thanks for pointing out! -- Regards, Pyun YongHyeon From bmah at FreeBSD.org Tue Jul 29 04:23:33 2008 From: bmah at FreeBSD.org (Bruce A. Mah) Date: Tue Jul 29 04:23:40 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml Message-ID: <200807290423.m6T4NW8P042598@repoman.freebsd.org> bmah 2008-07-29 04:23:18 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: SVN rev 180947 on 2008-07-29 04:23:18Z by bmah Modified release notes: Add one more name to credits on KSE item. Submitted by: jhb@ Reviewed by: brooks@ Revision Changes Path 1.1092 +1 -1 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From kmacy at FreeBSD.org Tue Jul 29 07:45:21 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Jul 29 07:45:34 2008 Subject: cvs commit: src/sys/sys sockbuf.h socketvar.h sockopt.h sockstate.h Message-ID: <200807290745.m6T7jLbg071227@repoman.freebsd.org> kmacy 2008-07-29 07:45:05 UTC FreeBSD src repository Modified files: sys/sys socketvar.h Added files: sys/sys sockbuf.h sockopt.h sockstate.h Log: SVN rev 180948 on 2008-07-29 07:45:05Z by kmacy Factor sockbuf, sockopt, and sockstate out of socketvar.h in to separate headers. Reviewed by: rwatson MFC after: 3 days Revision Changes Path 1.1 +198 -0 src/sys/sys/sockbuf.h (new) 1.166 +9 -221 src/sys/sys/socketvar.h 1.1 +72 -0 src/sys/sys/sockopt.h (new) 1.1 +83 -0 src/sys/sys/sockstate.h (new) From roberto at FreeBSD.org Tue Jul 29 08:07:37 2008 From: roberto at FreeBSD.org (Ollivier Robert) Date: Tue Jul 29 08:07:59 2008 Subject: cvs commit: src/share/syscons/keymaps fr.macbook.acc.kbd Message-ID: <200807290807.m6T87bwk074171@repoman.freebsd.org> roberto 2008-07-29 08:07:27 UTC FreeBSD src repository Modified files: share/syscons/keymaps fr.macbook.acc.kbd Log: SVN rev 180949 on 2008-07-29 08:07:27Z by roberto Macbook [Pro] keyboards in AZERTY don't need shift to get to '~'. MFC after: 3 days Revision Changes Path 1.2 +1 -1 src/share/syscons/keymaps/fr.macbook.acc.kbd From yongari at FreeBSD.org Tue Jul 29 08:32:39 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 29 08:32:47 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h Message-ID: <200807290832.m6T8WcQw076121@repoman.freebsd.org> yongari 2008-07-29 08:32:29 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c if_bfereg.h Log: SVN rev 180950 on 2008-07-29 08:32:29Z by yongari s/printf/device_printf/g Don't hard code function name in device_printf() and use __func__. While I'm here nuke bfe_unit in softc as it's not needed anymore. Revision Changes Path 1.46 +19 -22 src/sys/dev/bfe/if_bfe.c 1.12 +0 -1 src/sys/dev/bfe/if_bfereg.h From maxim at FreeBSD.org Tue Jul 29 08:45:42 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Jul 29 08:45:53 2008 Subject: cvs commit: src/sys Makefile Message-ID: <200807290845.m6T8jgcM077273@repoman.freebsd.org> maxim 2008-07-29 08:44:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys Makefile Log: SVN rev 180951 on 2008-07-29 08:44:44Z by maxim Partially MFC r180627: add cddl, nlm and xdr to CSCOPEDIRS. Revision Changes Path 1.45.2.1 +3 -3 src/sys/Makefile From yongari at FreeBSD.org Tue Jul 29 08:49:44 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 29 08:49:50 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200807290849.m6T8nhQ9086818@repoman.freebsd.org> yongari 2008-07-29 08:49:36 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c Log: SVN rev 180952 on 2008-07-29 08:49:36Z by yongari Cache PCI vendor/device ids to avoid unnecessary PCI configuration space access in device probe. Also nuke referencing softc in device probe. Revision Changes Path 1.47 +4 -7 src/sys/dev/bfe/if_bfe.c From niclas.zeising at gmail.com Tue Jul 29 08:58:54 2008 From: niclas.zeising at gmail.com (Niclas Zeising) Date: Tue Jul 29 08:59:01 2008 Subject: cvs commit: src/share/timedef Makefile nb_NO.ISO8859-1.src nb_NO.UTF-8.src no_NO.ISO8859-1.src no_NO.UTF-8.src In-Reply-To: <200807282150.m6SLoYb2090625@repoman.freebsd.org> References: <200807282150.m6SLoYb2090625@repoman.freebsd.org> Message-ID: On Mon, Jul 28, 2008 at 11:50 PM, Dag-Erling Smorgrav wrote: > des 2008-07-28 21:50:21 UTC > > FreeBSD src repository > > Modified files: > share/timedef Makefile > Added files: > share/timedef nb_NO.ISO8859-1.src nb_NO.UTF-8.src > Removed files: > share/timedef no_NO.ISO8859-1.src no_NO.UTF-8.src > Log: > SVN rev 180941 on 2008-07-28 21:50:21Z by des > > In some cases (such as LC_COLLATE), nb_NO and nn_NO are identical, and it > makes sense to have them both link to no_NO. > > In other cases (such as LC_TIME), they differ, and the correct solution > is to have no_NO link to nb_NO, rather than the other way around.o > > MFC after: 2 weeks > > Revision Changes Path > 1.51 +1 -1 src/share/timedef/Makefile > 1.1 +102 -0 src/share/timedef/nb_NO.ISO8859-1.src (new) > 1.1 +102 -0 src/share/timedef/nb_NO.UTF-8.src (new) > 1.15 +0 -102 src/share/timedef/no_NO.ISO8859-1.src (dead) > 1.4 +0 -102 src/share/timedef/no_NO.UTF-8.src (dead) > _______________________________________________ > cvs-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-all > To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" > This commit broke the build, at least on tinderbox. Something like the attached patch is needed. Regards! //Niclas -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile.diff Type: application/octet-stream Size: 326 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080729/2f5f2f0b/Makefile.obj From maxim at FreeBSD.org Tue Jul 29 09:01:32 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Tue Jul 29 09:01:38 2008 Subject: cvs commit: src/games/fortune/datfiles fortunes Message-ID: <200807290901.m6T91VfQ087796@repoman.freebsd.org> maxim 2008-07-29 09:01:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) games/fortune/datfiles fortunes Log: SVN rev 180953 on 2008-07-29 09:01:15Z by maxim MFC r180694: fix attribution, correct surname. Revision Changes Path 1.241.2.3 +1 -1 src/games/fortune/datfiles/fortunes From yongari at FreeBSD.org Tue Jul 29 09:02:02 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Tue Jul 29 09:02:19 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200807290902.m6T922Jt087859@repoman.freebsd.org> yongari 2008-07-29 09:02:00 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c Log: SVN rev 180954 on 2008-07-29 09:02:00Z by yongari style(9) - space after keywords, don't indent case. Revision Changes Path 1.48 +63 -64 src/sys/dev/bfe/if_bfe.c From rrs at FreeBSD.org Tue Jul 29 09:06:48 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Tue Jul 29 09:07:00 2008 Subject: cvs commit: src/sys/netinet sctp_asconf.c sctp_bsd_addr.c sctp_constants.h sctp_input.c sctp_timer.c sctputil.c Message-ID: <200807290906.m6T96mjX089466@repoman.freebsd.org> rrs 2008-07-29 09:06:35 UTC FreeBSD src repository Modified files: sys/netinet sctp_asconf.c sctp_bsd_addr.c sctp_constants.h sctp_input.c sctp_timer.c sctputil.c Log: SVN rev 180955 on 2008-07-29 09:06:35Z by rrs - Out with some printfs. - Fix a initialization of last_tsn_used - Fix handling of mapped IPv4 addresses Obtained from: Michael Tuexen and I :-) MFC after: 1 week Revision Changes Path 1.39 +3 -8 src/sys/netinet/sctp_asconf.c 1.21 +3 -0 src/sys/netinet/sctp_bsd_addr.c 1.38 +0 -2 src/sys/netinet/sctp_constants.h 1.74 +3 -3 src/sys/netinet/sctp_input.c 1.37 +0 -3 src/sys/netinet/sctp_timer.c 1.80 +3 -3 src/sys/netinet/sctputil.c From rrs at FreeBSD.org Tue Jul 29 09:31:05 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Tue Jul 29 09:31:11 2008 Subject: cvs commit: src/sys/netinet sctp_bsd_addr.c Message-ID: <200807290931.m6T9V47x091412@repoman.freebsd.org> rrs 2008-07-29 09:30:50 UTC FreeBSD src repository Modified files: sys/netinet sctp_bsd_addr.c Log: SVN rev 180956 on 2008-07-29 09:30:50Z by rrs Fix build breakage - kthread_exit() in 8 now has no arguments MFC after: 1 week Revision Changes Path 1.22 +2 -1 src/sys/netinet/sctp_bsd_addr.c From rwatson at FreeBSD.org Tue Jul 29 09:31:05 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 29 09:31:22 2008 Subject: cvs commit: src/sys/netinet6 ip6_output.c Message-ID: <200807290931.m6T9V56T091446@repoman.freebsd.org> rwatson 2008-07-29 09:31:03 UTC FreeBSD src repository Modified files: sys/netinet6 ip6_output.c Log: SVN rev 180957 on 2008-07-29 09:31:03Z by rwatson Marginally decomplicate set/getsockopt code in ip6_output.c by simply using the passed arguments explicitly and unconditionally rather than testing them and calling panic(). The result is the same but easier to read. MFC after: 3 days Revision Changes Path 1.119 +11 -18 src/sys/netinet6/ip6_output.c From kib at FreeBSD.org Tue Jul 29 11:31:44 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Tue Jul 29 11:31:50 2008 Subject: cvs commit: src/sys Makefile Message-ID: <200807291131.m6TBVhWX003346@repoman.freebsd.org> kib 2008-07-29 11:31:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys Makefile Log: SVN rev 180958 on 2008-07-29 11:31:08Z by kib Correct CSCOPEDIRS definition Revision Changes Path 1.45.2.2 +1 -1 src/sys/Makefile From des at FreeBSD.org Tue Jul 29 11:32:45 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Tue Jul 29 11:32:57 2008 Subject: cvs commit: src/share/timedef Makefile Message-ID: <200807291132.m6TBWjxe003437@repoman.freebsd.org> des 2008-07-29 11:32:42 UTC FreeBSD src repository Modified files: share/timedef Makefile Log: SVN rev 180959 on 2008-07-29 11:32:42Z by des In the previous commit, no_NO should have been replaced with nb_NO in the LOCALES list. Since no_NO was still in LOCALES, make tried to build the corresponding .out files, but couldn't since the .src files were gone. I did not notice this because I still had the old .out files in my .OBJDIR. Thanks to kib@ for the heads-up. Revision Changes Path 1.52 +2 -2 src/share/timedef/Makefile From kib at FreeBSD.org Tue Jul 29 11:34:46 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Tue Jul 29 11:35:17 2008 Subject: cvs commit: src/sbin/mksnap_ffs mksnap_ffs.8 Message-ID: <200807291134.m6TBYkCX003624@repoman.freebsd.org> kib 2008-07-29 11:34:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/mksnap_ffs mksnap_ffs.8 Log: SVN rev 180960 on 2008-07-29 11:34:32Z by kib MFC r180822: Note that snapshots may cause a panic on the full UFS filesystem. Revision Changes Path 1.3.20.1 +3 -0 src/sbin/mksnap_ffs/mksnap_ffs.8 From kib at FreeBSD.org Tue Jul 29 12:10:48 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Tue Jul 29 12:10:59 2008 Subject: cvs commit: src/sys/vm swap_pager.c Message-ID: <200807291210.m6TCAmLN007584@repoman.freebsd.org> kib 2008-07-29 12:10:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/vm swap_pager.c Log: SVN rev 180961 on 2008-07-29 12:10:15Z by kib MFC r180446: Use the VM_ALLOC_INTERRUPT for the page requests when allocating memory for the bio for swapout write. Revision Changes Path 1.295.2.1 +5 -7 src/sys/vm/swap_pager.c From kientzle at FreeBSD.org Tue Jul 29 15:23:52 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Tue Jul 29 15:24:04 2008 Subject: cvs commit: src/usr.bin/cpio cmdline.c cpio.c cpio.h Message-ID: <200807291523.m6TFNqAi036104@repoman.freebsd.org> kientzle 2008-07-29 15:23:31 UTC FreeBSD src repository Modified files: usr.bin/cpio cmdline.c cpio.c cpio.h Log: SVN rev 180962 on 2008-07-29 15:23:31Z by kientzle Add --no-preserve-owner, which seems to be required by some ports. Thanks to: Erwin Lansing Revision Changes Path 1.4 +1 -0 src/usr.bin/cpio/cmdline.c 1.9 +3 -0 src/usr.bin/cpio/cpio.c 1.3 +1 -0 src/usr.bin/cpio/cpio.h From ed at FreeBSD.org Tue Jul 29 16:30:08 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Tue Jul 29 16:30:14 2008 Subject: cvs commit: src/lib/libc/gen popen.c Message-ID: <200807291630.m6TGU8PJ042619@repoman.freebsd.org> ed 2008-07-29 16:29:59 UTC FreeBSD src repository Modified files: lib/libc/gen popen.c Log: SVN rev 180963 on 2008-07-29 16:29:59Z by ed Convert popen()'s `pidlist' to a SLIST, for consistency. I guess the original author of the popen() code didn't want to use our macro's, because the single linked list macro's didn't offer O(1) deletion. Because I introduced SLIST_REMOVE_NEXT() some time ago, we can now use the macro's here. By converting the code to an SLIST, it is more consistent with other parts of the C library and the operating system. Reviewed by: csjp Approved by: philip (mentor, implicit) Revision Changes Path 1.20 +13 -11 src/lib/libc/gen/popen.c From emax at FreeBSD.org Tue Jul 29 17:02:10 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Tue Jul 29 17:02:22 2008 Subject: cvs commit: src/usr.bin/bluetooth/btsockstat btsockstat.c Message-ID: <200807291702.m6TH2937054418@repoman.freebsd.org> emax 2008-07-29 17:02:00 UTC FreeBSD src repository Modified files: usr.bin/bluetooth/btsockstat btsockstat.c Log: SVN rev 180964 on 2008-07-29 17:02:00Z by emax Fix build Revision Changes Path 1.6 +1 -0 src/usr.bin/bluetooth/btsockstat/btsockstat.c From rwatson at FreeBSD.org Tue Jul 29 18:09:56 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 29 18:10:08 2008 Subject: cvs commit: src/sys/netinet6 icmp6.c raw_ip6.c Message-ID: <200807291809.m6TI9uvW069722@repoman.freebsd.org> rwatson 2008-07-29 18:09:46 UTC FreeBSD src repository Modified files: sys/netinet6 icmp6.c raw_ip6.c Log: SVN rev 180965 on 2008-07-29 18:09:46Z by rwatson Since we fail IPv6 raw socket allocation if inp->in6p_icmp6filt can't be allocated, there's no need to conditionize use and freeing of it later. MFC after: 1 week Revision Changes Path 1.88 +2 -11 src/sys/netinet6/icmp6.c 1.83 +1 -4 src/sys/netinet6/raw_ip6.c From rwatson at FreeBSD.org Tue Jul 29 18:34:13 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 29 18:34:19 2008 Subject: cvs commit: src/tools/regression/netinet6/icmp6_filter Makefile icmp6_filter.c Message-ID: <200807291834.m6TIYCEp072315@repoman.freebsd.org> rwatson 2008-07-29 18:33:56 UTC FreeBSD src repository Added files: tools/regression/netinet6/icmp6_filter Makefile icmp6_filter.c Log: SVN rev 180966 on 2008-07-29 18:33:56Z by rwatson Add a simple ICMPv6 filter test for IPv6 raw sockets: determine that the default ICMPv6 filter is pass all, test that we can set it to block all and restore to pass all. No attempt is made to test that the filtering works, just that we can get and set it. Revision Changes Path 1.1 +9 -0 src/tools/regression/netinet6/icmp6_filter/Makefile (new) 1.1 +132 -0 src/tools/regression/netinet6/icmp6_filter/icmp6_filter.c (new) From rwatson at FreeBSD.org Tue Jul 29 18:38:44 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 29 18:38:55 2008 Subject: cvs commit: src/tools/regression/netinet6/icmp6_filter icmp6_filter.c Message-ID: <200807291838.m6TIchiM072722@repoman.freebsd.org> rwatson 2008-07-29 18:38:37 UTC FreeBSD src repository Modified files: tools/regression/netinet6/icmp6_filter icmp6_filter.c Log: SVN rev 180967 on 2008-07-29 18:38:37Z by rwatson Remove extra comment that snuck in in last commit. Revision Changes Path 1.2 +0 -3 src/tools/regression/netinet6/icmp6_filter/icmp6_filter.c From rwatson at FreeBSD.org Tue Jul 29 19:37:31 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Jul 29 19:37:42 2008 Subject: cvs commit: src/sys/netinet6 icmp6.c Message-ID: <200807291937.m6TJbUrt089634@repoman.freebsd.org> rwatson 2008-07-29 19:37:16 UTC FreeBSD src repository Modified files: sys/netinet6 icmp6.c Log: SVN rev 180968 on 2008-07-29 19:37:16Z by rwatson When copying in and out current ICMPv6 filters on a raw IPv6 socket, lock the inpcb and use a local stack variable to copy to/from userspace so that sooptcopyin()/sooptcopyout() aren't called while holding an rwlock. While here, fix a bug in which a failed sooptcopyin() might lead to partially consistent ICMPv6 filters on the socket by not ignoring the error returned by sooptcopyin(). MFC after: 2 weeks Revision Changes Path 1.89 +14 -6 src/sys/netinet6/icmp6.c From jhb at freebsd.org Tue Jul 29 20:16:12 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Jul 29 20:16:29 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c In-Reply-To: <200807290849.m6T8nhQ9086818@repoman.freebsd.org> References: <200807290849.m6T8nhQ9086818@repoman.freebsd.org> Message-ID: <200807291111.07260.jhb@freebsd.org> On Tuesday 29 July 2008 04:49:36 am Pyun YongHyeon wrote: > yongari 2008-07-29 08:49:36 UTC > > FreeBSD src repository > > Modified files: > sys/dev/bfe if_bfe.c > Log: > SVN rev 180952 on 2008-07-29 08:49:36Z by yongari > > Cache PCI vendor/device ids to avoid unnecessary PCI configuration > space access in device probe. > Also nuke referencing softc in device probe. pci_get_vendor() and pci_get_device() don't do configuration space accessses, they read values cached in the ivars for the device maintained by the PCI bus driver. -- John Baldwin From jhb at freebsd.org Tue Jul 29 20:16:28 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Jul 29 20:16:40 2008 Subject: cvs commit: src/sys/kern sched_4bsd.c In-Reply-To: <488E5249.5010608@elischer.org> References: <200807282039.m6SKdU1T073711@repoman.freebsd.org> <200807281647.37400.jhb@freebsd.org> <488E5249.5010608@elischer.org> Message-ID: <200807291202.36185.jhb@freebsd.org> On Monday 28 July 2008 07:12:09 pm Julian Elischer wrote: > John Baldwin wrote: > > On Monday 28 July 2008 04:39:21 pm John Baldwin wrote: > >> jhb 2008-07-28 20:39:21 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/kern sched_4bsd.c > >> Log: > >> SVN rev 180937 on 2008-07-28 20:39:21Z by jhb > >> > >> When choosing a CPU for a thread in a cpuset, prefer the last CPU that the > >> thread ran on if there are no other CPUs in the set with a shorter per-CPU > >> runqueue. > > would this help teh case where we set up a cpu set with all CPUs? > > in other words shouldn't we just drop the single cpu runqueue > and have this always turned on? I'm not sure. I think that fundamentally changes 4BSD a lot (much more like ULE) and it's useful to keep around for comparison. -- John Baldwin From jhb at freebsd.org Tue Jul 29 20:24:09 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Jul 29 20:24:16 2008 Subject: cvs commit: src/usr.bin/ldd ldd.c In-Reply-To: <200807281249.m6SCnSGp007868@repoman.freebsd.org> References: <200807281249.m6SCnSGp007868@repoman.freebsd.org> Message-ID: <200807291623.53215.jhb@freebsd.org> On Monday 28 July 2008 08:49:16 am Edwin Groothuis wrote: > edwin 2008-07-28 12:49:16 UTC > > FreeBSD src repository > > Modified files: > usr.bin/ldd ldd.c > Log: > SVN rev 180877 on 2008-07-28 12:49:16Z by edwin > > Fix text in the comment why we check for ELF32_R_TYPE > > Approved by: bde@ > MFC after: 2 days2 days Did you see the ldd32 patch I e-mailed you that enables tracing of 32-bit shared libraries? -- John Baldwin From emax at FreeBSD.org Tue Jul 29 21:20:26 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Tue Jul 29 21:20:37 2008 Subject: cvs commit: src/usr.bin/netstat inet.c Message-ID: <200807292120.m6TLKPdS010625@repoman.freebsd.org> emax 2008-07-29 21:20:03 UTC FreeBSD src repository Modified files: usr.bin/netstat inet.c Log: SVN rev 180969 on 2008-07-29 21:20:03Z by emax Fix build Revision Changes Path 1.84 +1 -1 src/usr.bin/netstat/inet.c From cognet at FreeBSD.org Tue Jul 29 21:48:12 2008 From: cognet at FreeBSD.org (Olivier Houchard) Date: Tue Jul 29 21:48:24 2008 Subject: cvs commit: src/sys/sys sockbuf.h Message-ID: <200807292148.m6TLmBJW012740@repoman.freebsd.org> cognet 2008-07-29 21:48:01 UTC FreeBSD src repository Modified files: sys/sys sockbuf.h Log: SVN rev 180970 on 2008-07-29 21:48:01Z by cognet Unbreak the build by protecting kernel-only functions with #ifdef _KERNEL. Revision Changes Path 1.2 +4 -0 src/sys/sys/sockbuf.h From kmacy at FreeBSD.org Tue Jul 29 23:00:16 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Jul 29 23:00:22 2008 Subject: cvs commit: src/sys/sys sockbuf.h Message-ID: <200807292300.m6TN0DlC019516@repoman.freebsd.org> kmacy 2008-07-29 23:00:00 UTC FreeBSD src repository Modified files: sys/sys sockbuf.h Log: SVN rev 180971 on 2008-07-29 23:00:00Z by kmacy fix build by forward declaring thread and hiding socket buffer definitions from user code Revision Changes Path 1.3 +6 -3 src/sys/sys/sockbuf.h From kmacy at FreeBSD.org Tue Jul 29 23:00:59 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Tue Jul 29 23:01:11 2008 Subject: cvs commit: src/sys/sys sockbuf.h Message-ID: <200807292300.m6TN0xMR019624@repoman.freebsd.org> kmacy 2008-07-29 23:00:54 UTC FreeBSD src repository Modified files: sys/sys sockbuf.h Log: SVN rev 180972 on 2008-07-29 23:00:54Z by kmacy remove redundant ifdef ... lol Revision Changes Path 1.4 +0 -2 src/sys/sys/sockbuf.h From pyunyh at gmail.com Tue Jul 29 23:07:43 2008 From: pyunyh at gmail.com (Pyun YongHyeon) Date: Tue Jul 29 23:07:55 2008 Subject: cvs commit: src/sys/dev/bfe if_bfe.c In-Reply-To: <200807291111.07260.jhb@freebsd.org> References: <200807290849.m6T8nhQ9086818@repoman.freebsd.org> <200807291111.07260.jhb@freebsd.org> Message-ID: <20080729230531.GB407@cdnetworks.co.kr> On Tue, Jul 29, 2008 at 11:11:06AM -0400, John Baldwin wrote: > On Tuesday 29 July 2008 04:49:36 am Pyun YongHyeon wrote: > > yongari 2008-07-29 08:49:36 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/bfe if_bfe.c > > Log: > > SVN rev 180952 on 2008-07-29 08:49:36Z by yongari > > > > Cache PCI vendor/device ids to avoid unnecessary PCI configuration > > space access in device probe. > > Also nuke referencing softc in device probe. > > pci_get_vendor() and pci_get_device() don't do configuration space accessses, > they read values cached in the ivars for the device maintained by the PCI bus > driver. > I stand corrected. Thanks for pointing out! -- Regards, Pyun YongHyeon From phk at FreeBSD.org Tue Jul 29 23:22:15 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Tue Jul 29 23:22:27 2008 Subject: cvs commit: src/sbin/routed routed.8 Message-ID: <200807292322.m6TNMFAC024915@repoman.freebsd.org> phk 2008-07-29 23:22:06 UTC FreeBSD src repository Modified files: sbin/routed routed.8 Log: SVN rev 180973 on 2008-07-29 23:22:06Z by phk Clarify which route property routed(8) looks at. Revision Changes Path 1.35 +1 -1 src/sbin/routed/routed.8 From kmacy at FreeBSD.org Wed Jul 30 00:09:32 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 00:09:39 2008 Subject: cvs commit: src/sys/netinet tcp_offload.c tcp_offload.h Message-ID: <200807300009.m6U09WZ1030181@repoman.freebsd.org> kmacy 2008-07-30 00:09:15 UTC FreeBSD src repository Added files: (Branch: RELENG_7) sys/netinet tcp_offload.c tcp_offload.h Log: SVN rev 180974 on 2008-07-30 00:09:15Z by kmacy MFC core TCP offload infrastructure bits without hooking them up to the build. Revision Changes Path 1.4.2.1 +144 -0 src/sys/netinet/tcp_offload.c (new) 1.5.2.1 +341 -0 src/sys/netinet/tcp_offload.h (new) From kmacy at FreeBSD.org Wed Jul 30 00:16:49 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 00:16:55 2008 Subject: cvs commit: src/sys/netinet toedev.h Message-ID: <200807300016.m6U0GmIa030880@repoman.freebsd.org> kmacy 2008-07-30 00:16:37 UTC FreeBSD src repository Added files: (Branch: RELENG_7) sys/netinet toedev.h Log: SVN rev 180975 on 2008-07-30 00:16:37Z by kmacy MFC toe device interface Revision Changes Path 1.5.2.1 +160 -0 src/sys/netinet/toedev.h (new) From kmacy at FreeBSD.org Wed Jul 30 00:17:51 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 00:17:57 2008 Subject: cvs commit: src/sys/net if.h Message-ID: <200807300017.m6U0Ho10030984@repoman.freebsd.org> kmacy 2008-07-30 00:17:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if.h Log: SVN rev 180976 on 2008-07-30 00:17:40Z by kmacy MFC IFCAP_TOE Revision Changes Path 1.108.2.3 +3 -0 src/sys/net/if.h From kmacy at FreeBSD.org Wed Jul 30 00:18:51 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 00:19:03 2008 Subject: cvs commit: src/sys/netinet in_pcb.h Message-ID: <200807300018.m6U0Ipec031084@repoman.freebsd.org> kmacy 2008-07-30 00:18:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in_pcb.h Log: SVN rev 180977 on 2008-07-30 00:18:32Z by kmacy add INP_W(UN)LOCK forward compat macros Revision Changes Path 1.100.2.3 +2 -0 src/sys/netinet/in_pcb.h From kmacy at FreeBSD.org Wed Jul 30 00:20:07 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 00:20:18 2008 Subject: cvs commit: src/sys/netinet tcp_var.h Message-ID: <200807300020.m6U0K7JI031237@repoman.freebsd.org> kmacy 2008-07-30 00:20:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_var.h Log: SVN rev 180978 on 2008-07-30 00:20:04Z by kmacy MFC TOE defines Revision Changes Path 1.157.2.4 +4 -1 src/sys/netinet/tcp_var.h From kmacy at FreeBSD.org Wed Jul 30 00:27:58 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 00:28:05 2008 Subject: cvs commit: src/sys/contrib/rdma core_priv.h ib_addr.h ib_cache.h ib_cm.h ib_fmr_pool.h ib_mad.h ib_marshall.h ib_pack.h ib_sa.h ib_smi.h ib_umem.h ib_user_cm.h ib_user_mad.h ib_user_sa.h ib_user_verbs.h ib_verbs.h iw_cm.h rdma_addr.c rdma_cache.c ... Message-ID: <200807300027.m6U0RuC6032061@repoman.freebsd.org> kmacy 2008-07-30 00:27:48 UTC FreeBSD src repository Added files: (Branch: RELENG_7) sys/contrib/rdma core_priv.h ib_addr.h ib_cache.h ib_cm.h ib_fmr_pool.h ib_mad.h ib_marshall.h ib_pack.h ib_sa.h ib_smi.h ib_umem.h ib_user_cm.h ib_user_mad.h ib_user_sa.h ib_user_verbs.h ib_verbs.h iw_cm.h rdma_addr.c rdma_cache.c rdma_cm.h rdma_cm_ib.h rdma_cma.c rdma_device.c rdma_iwcm.c rdma_user_cm.h rdma_verbs.c types.h sys/contrib/rdma/krping getopt.c getopt.h krping.c krping.h krping_dev.c Log: SVN rev 180979 on 2008-07-30 00:27:48Z by kmacy MFC basic common and iwarp kernel RDMA infrastructure. Revision Changes Path 1.1.2.1 +55 -0 src/sys/contrib/rdma/core_priv.h (new) 1.1.2.1 +164 -0 src/sys/contrib/rdma/ib_addr.h (new) 1.1.2.1 +120 -0 src/sys/contrib/rdma/ib_cache.h (new) 1.1.2.1 +593 -0 src/sys/contrib/rdma/ib_cm.h (new) 1.1.2.1 +97 -0 src/sys/contrib/rdma/ib_fmr_pool.h (new) 1.1.2.1 +656 -0 src/sys/contrib/rdma/ib_mad.h (new) 1.1.2.1 +55 -0 src/sys/contrib/rdma/ib_marshall.h (new) 1.1.2.1 +247 -0 src/sys/contrib/rdma/ib_pack.h (new) 1.1.2.1 +386 -0 src/sys/contrib/rdma/ib_sa.h (new) 1.1.2.1 +132 -0 src/sys/contrib/rdma/ib_smi.h (new) 1.1.2.1 +81 -0 src/sys/contrib/rdma/ib_umem.h (new) 1.1.2.1 +328 -0 src/sys/contrib/rdma/ib_user_cm.h (new) 1.1.2.1 +136 -0 src/sys/contrib/rdma/ib_user_mad.h (new) 1.1.2.1 +60 -0 src/sys/contrib/rdma/ib_user_sa.h (new) 1.1.2.1 +688 -0 src/sys/contrib/rdma/ib_user_verbs.h (new) 1.1.2.1 +1854 -0 src/sys/contrib/rdma/ib_verbs.h (new) 1.1.2.1 +266 -0 src/sys/contrib/rdma/iw_cm.h (new) 1.1.2.1 +77 -0 src/sys/contrib/rdma/krping/getopt.c (new) 1.1.2.1 +21 -0 src/sys/contrib/rdma/krping/getopt.h (new) 1.2.2.1 +1865 -0 src/sys/contrib/rdma/krping/krping.c (new) 1.1.2.1 +128 -0 src/sys/contrib/rdma/krping/krping.h (new) 1.1.2.1 +180 -0 src/sys/contrib/rdma/krping/krping_dev.c (new) 1.1.2.1 +408 -0 src/sys/contrib/rdma/rdma_addr.c (new) 1.1.2.1 +411 -0 src/sys/contrib/rdma/rdma_cache.c (new) 1.1.2.1 +318 -0 src/sys/contrib/rdma/rdma_cm.h (new) 1.1.2.1 +51 -0 src/sys/contrib/rdma/rdma_cm_ib.h (new) 1.1.2.1 +2998 -0 src/sys/contrib/rdma/rdma_cma.c (new) 1.1.2.1 +776 -0 src/sys/contrib/rdma/rdma_device.c (new) 1.1.2.1 +1086 -0 src/sys/contrib/rdma/rdma_iwcm.c (new) 1.1.2.1 +215 -0 src/sys/contrib/rdma/rdma_user_cm.h (new) 1.1.2.1 +822 -0 src/sys/contrib/rdma/rdma_verbs.c (new) 1.2.2.1 +121 -0 src/sys/contrib/rdma/types.h (new) From thompsa at FreeBSD.org Wed Jul 30 00:38:27 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Wed Jul 30 00:38:34 2008 Subject: cvs commit: src/sys/dev/usb if_rum.c if_ural.c Message-ID: <200807300038.m6U0cRvM032901@repoman.freebsd.org> thompsa 2008-07-30 00:38:10 UTC FreeBSD src repository Modified files: sys/dev/usb if_rum.c if_ural.c Log: SVN rev 180980 on 2008-07-30 00:38:10Z by thompsa Free the correct buffer list on failure. Revision Changes Path 1.25 +1 -1 src/sys/dev/usb/if_rum.c 1.75 +1 -1 src/sys/dev/usb/if_ural.c From yongari at FreeBSD.org Wed Jul 30 00:39:44 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Jul 30 00:39:56 2008 Subject: cvs commit: src/sys/conf NOTES Message-ID: <200807300039.m6U0diw7033021@repoman.freebsd.org> yongari 2008-07-30 00:39:25 UTC FreeBSD src repository Modified files: sys/conf NOTES Log: SVN rev 180981 on 2008-07-30 00:39:25Z by yongari Unbreak build. Remove nfe(4). The driver applies to i386/amd64 only. Revision Changes Path 1.1502 +0 -2 src/sys/conf/NOTES From jhb at freebsd.org Wed Jul 30 17:32:41 2008 From: jhb at freebsd.org (John Baldwin) Date: Wed Jul 30 17:32:55 2008 Subject: cvs commit: src/sys/conf NOTES In-Reply-To: <200807300039.m6U0diw7033021@repoman.freebsd.org> References: <200807300039.m6U0diw7033021@repoman.freebsd.org> Message-ID: <200807301126.13274.jhb@freebsd.org> On Tuesday 29 July 2008 08:39:25 pm Pyun YongHyeon wrote: > yongari 2008-07-30 00:39:25 UTC > > FreeBSD src repository > > Modified files: > sys/conf NOTES > Log: > SVN rev 180981 on 2008-07-30 00:39:25Z by yongari > > Unbreak build. > Remove nfe(4). The driver applies to i386/amd64 only. You can add it to sys/i386/conf/NOTES and sys/amd64/conf/NOTES instead then. -- John Baldwin From marcel at FreeBSD.org Wed Jul 30 18:17:58 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Wed Jul 30 18:18:09 2008 Subject: cvs commit: src/lib/libthread_db libpthread_db.c libthr_db.c thread_db.c thread_db.h thread_db_int.h src/sys/sys procfs.h Message-ID: <200807301817.m6UIHvDB003228@repoman.freebsd.org> marcel 2008-07-30 00:59:19 UTC FreeBSD src repository Modified files: lib/libthread_db libpthread_db.c libthr_db.c thread_db.c thread_db.h thread_db_int.h sys/sys procfs.h Log: SVN rev 180982 on 2008-07-30 00:59:19Z by marcel Change the type of psaddr_t from void* to uintptr_t. A pointer type cannot be made wider to allow ILP32 platforms to target LP64 platforms. Revision Changes Path 1.17 +7 -9 src/lib/libthread_db/libpthread_db.c 1.14 +12 -13 src/lib/libthread_db/libthr_db.c 1.6 +2 -2 src/lib/libthread_db/thread_db.c 1.7 +2 -1 src/lib/libthread_db/thread_db.h 1.4 +2 -2 src/lib/libthread_db/thread_db_int.h 1.6 +1 -1 src/sys/sys/procfs.h From rnoland at FreeBSD.org Wed Jul 30 18:19:25 2008 From: rnoland at FreeBSD.org (Robert Noland) Date: Wed Jul 30 18:19:32 2008 Subject: cvs commit: src/share/misc committers-ports.dot Message-ID: <200807301819.m6UIJPL9003345@repoman.freebsd.org> rnoland 2008-07-30 01:05:13 UTC FreeBSD src repository Modified files: share/misc committers-ports.dot Log: SVN rev 180983 on 2008-07-30 01:05:13Z by rnoland Add my entry with a pointer to garga (mentor) Approved by: garga (mentor) Revision Changes Path 1.73 +2 -0 src/share/misc/committers-ports.dot From edwin at FreeBSD.org Wed Jul 30 18:19:27 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Wed Jul 30 18:19:53 2008 Subject: cvs commit: src/usr.bin/ldd ldd.c Message-ID: <200807301819.m6UIJQ3n003372@repoman.freebsd.org> edwin 2008-07-30 03:32:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/ldd ldd.c Log: SVN rev 180984 on 2008-07-30 03:32:32Z by edwin MFC of 180646, 180877: After the commit of SVN rev 180236, wilko@ noticed that the approach doesn't work on the Alpha platform: machine/elf.h doesn't include sys/elf32.h there. PR: related to bin/124906 Approved by: bde@ Revision Changes Path 1.33.14.2 +15 -4 src/usr.bin/ldd/ldd.c From edwin at FreeBSD.org Wed Jul 30 18:19:28 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Wed Jul 30 18:20:10 2008 Subject: cvs commit: src/usr.bin/ldd ldd.c Message-ID: <200807301819.m6UIJRDu003403@repoman.freebsd.org> edwin 2008-07-30 03:33:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/ldd ldd.c Log: SVN rev 180985 on 2008-07-30 03:33:49Z by edwin MFC of 180646, 180877: After the commit of SVN rev 180236, wilko@ noticed that the approach doesn't work on the Alpha platform: machine/elf.h doesn't include sys/elf32.h there. PR: related to bin/124906 Approved by: bde@ Revision Changes Path 1.33.24.2 +15 -4 src/usr.bin/ldd/ldd.c From scf at FreeBSD.org Wed Jul 30 18:19:28 2008 From: scf at FreeBSD.org (Sean Farley) Date: Wed Jul 30 18:20:12 2008 Subject: cvs commit: src/tools/tools/editing freebsd.vim Message-ID: <200807301819.m6UIJSpp003430@repoman.freebsd.org> scf 2008-07-30 03:34:23 UTC FreeBSD src repository Modified files: tools/tools/editing freebsd.vim Log: SVN rev 180986 on 2008-07-30 03:34:23Z by scf style(9) specifies that case statements are not indented. Revision Changes Path 1.2 +1 -1 src/tools/tools/editing/freebsd.vim From kientzle at FreeBSD.org Wed Jul 30 18:19:29 2008 From: kientzle at FreeBSD.org (Tim Kientzle) Date: Wed Jul 30 18:20:32 2008 Subject: cvs commit: src/usr.bin/cpio cpio.c Message-ID: <200807301819.m6UIJT66003457@repoman.freebsd.org> kientzle 2008-07-30 03:35:45 UTC FreeBSD src repository Modified files: usr.bin/cpio cpio.c Log: SVN rev 180987 on 2008-07-30 03:35:45Z by kientzle MfP4: Preserve permissions by default. In particular, this fixes the oddity that -dumpl would apply umask to copied dirs (which are created in the target tree) but not to "copied" files (which are only linked). After this change: $ ls -ld a a/b a/b/c d--x-w-r-- 3 tim tim 512 Jul 29 20:08 a drwxr----x 3 tim tim 512 Jul 29 20:09 a/b dr----x-w- 2 tim tim 512 Jul 29 20:09 a/b/c $ (echo a; echo a/b; echo a/b/c) | cpio -dumpl o $ cd o $ ls -ld a a/b a/b/c d--x-w-r-- 3 tim tim 512 Jul 29 20:08 a drwxr----x 3 tim tim 512 Jul 29 20:09 a/b dr----x-w- 2 tim tim 512 Jul 29 20:09 a/b/c Revision Changes Path 1.10 +1 -0 src/usr.bin/cpio/cpio.c From philip at FreeBSD.org Wed Jul 30 18:19:32 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Wed Jul 30 18:20:33 2008 Subject: cvs commit: CVSROOT mentors Message-ID: <200807301819.m6UIJUjm003484@repoman.freebsd.org> philip 2008-07-30 08:25:09 UTC FreeBSD src repository Modified files: . mentors Log: SVN rev 180988 on 2008-07-30 08:25:09Z by philip Release Ed Schouten (ed) from mentorship. May his collection of pointy hats flourish. :-) Revision Changes Path 1.15 +0 -1 CVSROOT/mentors From des at FreeBSD.org Wed Jul 30 18:19:32 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Jul 30 18:20:53 2008 Subject: cvs commit: src/crypto/openssh monitor_fdpass.c Message-ID: <200807301819.m6UIJVTU003510@repoman.freebsd.org> des 2008-07-30 09:16:46 UTC FreeBSD src repository Modified files: crypto/openssh monitor_fdpass.c Log: SVN rev 180989 on 2008-07-30 09:16:46Z by des Fix alignment of the cmsg buffer by placing it in a union with a struct cmsghdr. Derived from upstream patch. Submitted by: cognet MFC after: 2 weeks Revision Changes Path 1.2 +68 -19 src/crypto/openssh/monitor_fdpass.c From rwatson at FreeBSD.org Wed Jul 30 18:19:32 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 30 18:20:55 2008 Subject: cvs commit: src/sys/netinet6 raw_ip6.c Message-ID: <200807301819.m6UIJWFa003537@repoman.freebsd.org> rwatson 2008-07-30 09:26:27 UTC FreeBSD src repository Modified files: sys/netinet6 raw_ip6.c Log: SVN rev 180990 on 2008-07-30 09:26:27Z by rwatson Adopt the slightly weaker consistency locking approach used in IPv4 raw sockets for IPv6 raw sockets: separately lock the inpcb for determining the destination address for a connect()'d raw socket at the rip6_send() layer, and then re-acquire the inpcb lock in the rip6_output() layer to query other options on the socket. Previously, the global raw IP socket lock was used, which while correct and marginally more consistent, could add significantly to global raw IP socket lock contention. MFC after: 1 week Revision Changes Path 1.84 +3 -7 src/sys/netinet6/raw_ip6.c From kib at FreeBSD.org Wed Jul 30 18:19:34 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Wed Jul 30 18:21:05 2008 Subject: cvs commit: src/sys/kern kern_fork.c Message-ID: <200807301819.m6UIJXCo003568@repoman.freebsd.org> kib 2008-07-30 09:44:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_fork.c Log: SVN rev 180991 on 2008-07-30 09:44:40Z by kib MFC r180738: Do the pargs_hold() on the copy of the pointer to the p_args of the child process immediately after bulk bcopy() without dropping the process lock. Revision Changes Path 1.282.2.5 +1 -1 src/sys/kern/kern_fork.c From kib at FreeBSD.org Wed Jul 30 18:19:37 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Wed Jul 30 18:21:27 2008 Subject: cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c src/sys/amd64/ia32 ia32_signal.c src/sys/amd64/include pcb.h src/sys/amd64/linux32 linux32_machdep.c Message-ID: <200807301819.m6UIJalh003655@repoman.freebsd.org> kib 2008-07-30 11:30:55 UTC FreeBSD src repository Modified files: sys/amd64/amd64 cpu_switch.S genassym.c sys/amd64/ia32 ia32_signal.c sys/amd64/include pcb.h sys/amd64/linux32 linux32_machdep.c Log: SVN rev 180992 on 2008-07-30 11:30:55Z by kib Bring back the save/restore of the %ds, %es, %fs and %gs registers for the 32bit images on amd64. Change the semantic of the PCB_32BIT pcb flag to request the context switch code to operate on the segment registers. Its previous meaning of saving or restoring the %gs base offset is assigned to the new PCB_GS32BIT flag. FreeBSD 32bit image activator sets the PCB_32BIT flag, while Linux 32bit emulation sets PCB_32BIT | PCB_GS32BIT. Reviewed by: peter MFC after: 2 weeks Revision Changes Path 1.162 +29 -18 src/sys/amd64/amd64/cpu_switch.S 1.169 +1 -0 src/sys/amd64/amd64/genassym.c 1.18 +1 -1 src/sys/amd64/ia32/ia32_signal.c 1.65 +1 -0 src/sys/amd64/include/pcb.h 1.47 +1 -1 src/sys/amd64/linux32/linux32_machdep.c From phk at FreeBSD.org Wed Jul 30 18:19:38 2008 From: phk at FreeBSD.org (Poul-Henning Kamp) Date: Wed Jul 30 18:21:28 2008 Subject: cvs commit: src/sbin/routed defs.h if.c main.c output.c rdisc.c Message-ID: <200807301819.m6UIJb41003694@repoman.freebsd.org> phk 2008-07-30 11:56:15 UTC FreeBSD src repository Modified files: sbin/routed defs.h if.c main.c output.c rdisc.c Log: SVN rev 180993 on 2008-07-30 11:56:15Z by phk Update routed to use the RFC 3678 protocol-independent multicast API. Use IP_MULTICAST_IF with struct ip_mreqn (obtained from Linux) to tell the stack which interface index to use for sending IPv4 datagrams. Submitted by: bms Tested by: phk Revision Changes Path 1.19 +0 -15 src/sbin/routed/defs.h 1.17 +14 -17 src/sbin/routed/if.c 1.20 +12 -14 src/sbin/routed/main.c 1.13 +9 -24 src/sbin/routed/output.c 1.12 +31 -48 src/sbin/routed/rdisc.c From ed at FreeBSD.org Wed Jul 30 18:19:38 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Jul 30 18:21:48 2008 Subject: cvs commit: src/sys/kern subr_clist.c Message-ID: <200807301819.m6UIJcol003725@repoman.freebsd.org> ed 2008-07-30 12:32:42 UTC FreeBSD src repository Modified files: sys/kern subr_clist.c Log: SVN rev 180994 on 2008-07-30 12:32:42Z by ed Don't make subr_clist.c depend on the TTY layer. After the import of the new TTY layer, the TTY_QUOTE definition will not be present anymore. To make sure clists will still work as expected, introduce an internal definition called QUOTEMASK. Maybe we can decide to remove the quote bits entirely, but we still have to look into this. There may be drivers that still use the quote bits. Obtained from: //depot/projects/mpsafetty Revision Changes Path 1.47 +6 -5 src/sys/kern/subr_clist.c From ed at FreeBSD.org Wed Jul 30 18:19:39 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Jul 30 18:22:00 2008 Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200807301819.m6UIJd2W003752@repoman.freebsd.org> ed 2008-07-30 12:39:18 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: SVN rev 180995 on 2008-07-30 12:39:18Z by ed Remove the use of lbolt from the VFS syncer. It seems we only use `lbolt' inside the VFS syncer and the TTY layer now. Because I'm planning to replace the TTY layer next month, there's no reason to keep `lbolt' if it's only used in a single thread inside the kernel. Because the syncer code wanted to wake up the syncer thread before the timeout, it called sleepq_remove(). Because we now just use a condvar(9) with a timeout value of `hz', we can wake it up using cv_broadcast() without waking up any unrelated threads. Reviewed by: phk Revision Changes Path 1.736 +7 -9 src/sys/kern/vfs_subr.c From rwatson at FreeBSD.org Wed Jul 30 18:19:41 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 30 18:22:16 2008 Subject: cvs commit: src/sys/kern vfs_aio.c Message-ID: <200807301819.m6UIJe2O003779@repoman.freebsd.org> rwatson 2008-07-30 13:19:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern vfs_aio.c Log: SVN rev 180996 on 2008-07-30 13:19:50Z by rwatson Merge r175870 from head to stable/7: Use FEATURE() macro to advertise aio availability. Revision Changes Path 1.233.2.2 +2 -0 src/sys/kern/vfs_aio.c From rwatson at FreeBSD.org Wed Jul 30 18:19:42 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 30 18:22:17 2008 Subject: cvs commit: src/sys/net bpf.c Message-ID: <200807301819.m6UIJf8I003806@repoman.freebsd.org> rwatson 2008-07-30 14:04:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net bpf.c Log: SVN rev 180997 on 2008-07-30 14:04:01Z by rwatson Merge r175903 from head to stable/7: Add comment that bpfread() has multi-threading issues. Fix minor white space nit. Revision Changes Path 1.181.2.7 +4 -1 src/sys/net/bpf.c From des at FreeBSD.org Wed Jul 30 18:19:42 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Jul 30 18:22:38 2008 Subject: cvs commit: src/share/colldef no_NO.ISO8859-1.src no_NO.ISO8859-15.src Message-ID: <200807301819.m6UIJgCn003836@repoman.freebsd.org> des 2008-07-30 15:37:13 UTC FreeBSD src repository Modified files: share/colldef no_NO.ISO8859-1.src no_NO.ISO8859-15.src Log: SVN rev 180998 on 2008-07-30 15:37:13Z by des According to a proposed Norwegian standard for alphabetization of which I've obtained a draft, is indeed equivalent to u (to my surprise), and sorts immediately after z. The correct ordering is algorithmic (based on the EOR) and can not be accurately represented as a table. Revision Changes Path 1.2 +6 -4 src/share/colldef/no_NO.ISO8859-1.src 1.2 +6 -4 src/share/colldef/no_NO.ISO8859-15.src From sam at FreeBSD.org Wed Jul 30 18:19:43 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Wed Jul 30 18:22:49 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.8 Message-ID: <200807301819.m6UIJh3S003865@repoman.freebsd.org> sam 2008-07-30 16:22:52 UTC FreeBSD src repository Modified files: sbin/ifconfig ifconfig.8 Log: SVN rev 180999 on 2008-07-30 16:22:52Z by sam correct description of how to clear a desired channel Pointed out by: Chris Buechler MFC after: 1 week Revision Changes Path 1.149 +4 -6 src/sbin/ifconfig/ifconfig.8 From jhb at FreeBSD.org Wed Jul 30 18:19:44 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 18:23:06 2008 Subject: cvs commit: src/sys/pci if_sis.c Message-ID: <200807301819.m6UIJiT1003896@repoman.freebsd.org> jhb 2008-07-30 17:21:32 UTC FreeBSD src repository Modified files: sys/pci if_sis.c Log: SVN rev 181000 on 2008-07-30 17:21:32Z by jhb SIS_SETBIT() already does a read/modify/write operation, so there isn't a reason to read the register twice. MFC after: 1 week Revision Changes Path 1.151 +1 -2 src/sys/pci/if_sis.c From rwatson at FreeBSD.org Wed Jul 30 18:19:45 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 30 18:23:07 2008 Subject: cvs commit: src/sys/net if.c if_ethersubr.c Message-ID: <200807301819.m6UIJj7n003926@repoman.freebsd.org> rwatson 2008-07-30 17:27:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if.c if_ethersubr.c Log: SVN rev 181001 on 2008-07-30 17:27:10Z by rwatson Merge r176906 from head to stable/7: Move IFF_NEEDSGIANT warning from if_ethersubr.c to if.c so it is displayed for all network interfaces, not just ethernet-like ones. Upgrade it to a louder WARNING and be explicit that the flag is obsolete. Support for IFF_NEEDSGIANT will be removed in a few months (see arch@ for details) and will not appear in 8.0. Upgrade if_watchdog to a WARNING. Revision Changes Path 1.273.2.4 +5 -1 src/sys/net/if.c 1.236.2.4 +0 -2 src/sys/net/if_ethersubr.c From jhb at FreeBSD.org Wed Jul 30 18:19:47 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 18:23:27 2008 Subject: cvs commit: src/sys/pci if_sis.c Message-ID: <200807301819.m6UIJk66003953@repoman.freebsd.org> jhb 2008-07-30 17:28:49 UTC FreeBSD src repository Modified files: sys/pci if_sis.c Log: SVN rev 181002 on 2008-07-30 17:28:49Z by jhb Set all of the "optimum performance" PHY registers for the 15D parts as well as the 15C since it seems to be required in practice. The Linux natsemi.c driver mostly does this as well. PR: kern/112179 Submitted by: Mark Willson mark - hydrus org uk MFC after: 1 week Revision Changes Path 1.152 +8 -10 src/sys/pci/if_sis.c From jfv at FreeBSD.org Wed Jul 30 18:19:48 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Wed Jul 30 18:23:46 2008 Subject: cvs commit: src/sys/dev/ixgbe ixgbe.c ixgbe.h ixgbe_82598.c ixgbe_api.c ixgbe_api.h ixgbe_common.c ixgbe_common.h ixgbe_phy.c ixgbe_phy.h ixgbe_type.h Message-ID: <200807301819.m6UIJlip004007@repoman.freebsd.org> jfv 2008-07-30 18:15:18 UTC FreeBSD src repository Modified files: sys/dev/ixgbe ixgbe.c ixgbe.h ixgbe_82598.c ixgbe_api.c ixgbe_api.h ixgbe_common.c ixgbe_common.h ixgbe_phy.c ixgbe_phy.h ixgbe_type.h Log: SVN rev 181003 on 2008-07-30 18:15:18Z by jfv This updates the ixgbe driver to Intel internal version 1.4.7 Shared code changes, core driver fixes, vlan event/filter support Also Kip Macy's fix to allow any number of queues, thanks Kip! Revision Changes Path 1.6 +152 -113 src/sys/dev/ixgbe/ixgbe.c 1.6 +3 -0 src/sys/dev/ixgbe/ixgbe.h 1.5 +103 -40 src/sys/dev/ixgbe/ixgbe_82598.c 1.5 +37 -2 src/sys/dev/ixgbe/ixgbe_api.c 1.5 +3 -0 src/sys/dev/ixgbe/ixgbe_api.h 1.5 +62 -77 src/sys/dev/ixgbe/ixgbe_common.c 1.5 +1 -3 src/sys/dev/ixgbe/ixgbe_common.h 1.5 +0 -146 src/sys/dev/ixgbe/ixgbe_phy.c 1.5 +0 -1 src/sys/dev/ixgbe/ixgbe_phy.h 1.5 +35 -41 src/sys/dev/ixgbe/ixgbe_type.h From kib at FreeBSD.org Wed Jul 30 18:19:48 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Wed Jul 30 18:23:47 2008 Subject: cvs commit: src/sys/vm vnode_pager.c Message-ID: <200807301819.m6UIJmY4004034@repoman.freebsd.org> kib 2008-07-30 18:16:06 UTC FreeBSD src repository Modified files: sys/vm vnode_pager.c Log: SVN rev 181004 on 2008-07-30 18:16:06Z by kib The behaviour of the lockmgr going back at least to the 4.4BSD-Lite2 was to downgrade the exclusive lock to shared one when exclusive lock owner requested shared lock. New lockmgr panics instead. The vnode_pager_lock function requests shared lock on the vnode backing the OBJT_VNODE, and can be called when the current thread already holds an exlcusive lock on the vnode. For instance, it happens when handling page fault from the VOP_WRITE() uiomove that writes to the file, with the faulted in page fetched from the vm object backed by the same file. We then get the situation described above. Verify whether the vnode is already exclusively locked by the curthread and request recursed exclusive vnode lock instead of shared, if true. Reported by: gallatin Discussed with: attilio Revision Changes Path 1.243 +9 -2 src/sys/vm/vnode_pager.c From rwatson at FreeBSD.org Wed Jul 30 18:26:50 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 30 18:27:03 2008 Subject: cvs commit: src/sys/net if.c if_ethersubr.c In-Reply-To: <200807301819.m6UIJj7n003926@repoman.freebsd.org> References: <200807301819.m6UIJj7n003926@repoman.freebsd.org> Message-ID: <20080730192554.D89526@fledge.watson.org> On Wed, 30 Jul 2008, Robert Watson wrote: > rwatson 2008-07-30 17:27:10 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/net if.c if_ethersubr.c > Log: > SVN rev 181001 on 2008-07-30 17:27:10Z by rwatson > > Merge r176906 from head to stable/7: > > Move IFF_NEEDSGIANT warning from if_ethersubr.c to if.c so it is displayed > for all network interfaces, not just ethernet-like ones. > > Upgrade it to a louder WARNING and be explicit that the flag is obsolete. > Support for IFF_NEEDSGIANT will be removed in a few months (see arch@ for > details) and will not appear in 8.0. > > Upgrade if_watchdog to a WARNING. Just to be completely clear: there are no plans to remove IFF_NEEDSGIANT from 7.x, just 8.x, but the interfaces here remain obsoleted. Robert N M Watson Computer Laboratory University of Cambridge From rwatson at FreeBSD.org Wed Jul 30 18:28:19 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Jul 30 18:28:32 2008 Subject: cvs commit: src/sys/kern kern_synch.c Message-ID: <200807301828.m6UISJ97004800@repoman.freebsd.org> rwatson 2008-07-30 18:28:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_synch.c Log: SVN rev 181005 on 2008-07-30 18:28:09Z by rwatson Merge r177272 from head to stable/7: Consistently use ANSI C declarations for all functions in kern_synch.c. Revision Changes Path 1.302.2.3 +7 -19 src/sys/kern/kern_synch.c From jhb at FreeBSD.org Wed Jul 30 18:37:35 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 18:39:56 2008 Subject: cvs commit: src/usr.sbin/adduser rmuser.sh Message-ID: <200807301837.m6UIbZQa005555@repoman.freebsd.org> jhb 2008-07-30 18:37:21 UTC FreeBSD src repository Modified files: usr.sbin/adduser rmuser.sh Log: SVN rev 181006 on 2008-07-30 18:37:21Z by jhb The original adduser/rmuser scripts in Perl used to modify the PATH setting. When the scripts were converted to Bourne shell, this was removed. The adduser script was changed to use an explicit path for the pw(8) command so that /usr/sbin did not have to be in the user's PATH. The rmuser script continued to assume that /usr/sbin was in the user's path, however. This fixes the rmuser script to use an explicit path for pw(8) similar to adduser. MFC after: 2 weeks Revision Changes Path 1.11 +3 -2 src/usr.sbin/adduser/rmuser.sh From jhb at FreeBSD.org Wed Jul 30 19:17:08 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 19:17:20 2008 Subject: cvs commit: src/sys/dev/usb ehci_pci.c ehcireg.h Message-ID: <200807301917.m6UJH7oY010359@repoman.freebsd.org> jhb 2008-07-30 19:16:53 UTC FreeBSD src repository Modified files: sys/dev/usb ehci_pci.c ehcireg.h Log: SVN rev 181007 on 2008-07-30 19:16:53Z by jhb Use single byte read and write operations to toggle the BIOS and OS semaphores rather than 4 byte operations. MFC after: 1 month Revision Changes Path 1.34 +12 -11 src/sys/dev/usb/ehci_pci.c 1.9 +2 -3 src/sys/dev/usb/ehcireg.h From kmacy at FreeBSD.org Wed Jul 30 19:35:54 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 19:36:00 2008 Subject: cvs commit: src/sys/sys socket.h Message-ID: <200807301935.m6UJZstA011956@repoman.freebsd.org> kmacy 2008-07-30 19:35:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys socket.h Log: SVN rev 181008 on 2008-07-30 19:35:40Z by kmacy add socket options for disabling TOE Revision Changes Path 1.95.2.3 +2 -0 src/sys/sys/socket.h From jhb at FreeBSD.org Wed Jul 30 19:49:26 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 19:49:37 2008 Subject: cvs commit: src/sys/kern sys_process.c Message-ID: <200807301949.m6UJnPRh012979@repoman.freebsd.org> jhb 2008-07-30 19:49:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern sys_process.c Log: SVN rev 181009 on 2008-07-30 19:49:10Z by jhb MFC: Use VM_FAULT_DIRTY to fault in pages for write access in proc_rwmem(). Revision Changes Path 1.145.2.1 +3 -2 src/sys/kern/sys_process.c From jhb at FreeBSD.org Wed Jul 30 19:53:12 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 19:53:24 2008 Subject: cvs commit: src/sys/kern sys_process.c Message-ID: <200807301953.m6UJrCF1013323@repoman.freebsd.org> jhb 2008-07-30 19:52:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern sys_process.c Log: SVN rev 181010 on 2008-07-30 19:52:54Z by jhb MFC: Use VM_FAULT_DIRTY to fault in pages for write access in proc_rwmem(). Revision Changes Path 1.131.2.8 +3 -2 src/sys/kern/sys_process.c From kmacy at FreeBSD.org Wed Jul 30 20:08:45 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 20:08:58 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_cpl_socket.c cxgb_ddp.c cxgb_tcp_offload.h cxgb_tom.c Message-ID: <200807302008.m6UK8hkn015770@repoman.freebsd.org> kmacy 2008-07-30 20:08:34 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_cpl_socket.c cxgb_ddp.c cxgb_tcp_offload.h cxgb_tom.c Log: SVN rev 181011 on 2008-07-30 20:08:34Z by kmacy fix includes for post sockbuf re-factor Revision Changes Path 1.16 +3 -0 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.11 +3 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c 1.5 +3 -0 src/sys/dev/cxgb/ulp/tom/cxgb_ddp.c 1.7 +0 -141 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h 1.6 +3 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tom.c From emaste at FreeBSD.org Wed Jul 30 20:22:31 2008 From: emaste at FreeBSD.org (Ed Maste) Date: Wed Jul 30 20:22:37 2008 Subject: cvs commit: src/sys/kern kern_timeout.c Message-ID: <200807302022.m6UKMTf4017190@repoman.freebsd.org> emaste 2008-07-30 20:22:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_timeout.c Log: SVN rev 181012 on 2008-07-30 20:22:21Z by emaste MFC improved and simplified callout_drain logic and improved ktr(4) logging. r155957: Use the recently added msleep_spin() function to simplify the callout_drain() logic. We no longer need a separate non-spin mutex to do sleep/wakeup with, instead we can now just use the one spin mutex to manage all the callout functionality. r163246: Improve ktr(4) logging for callout(9) subsystem. Log all inserts and removals, including failures, into the callwheel. r171053: Fix an old standing LOR between callout_lock and sleepqueues chain (which could lead to a deadlock). - sleepq_set_timeout acquires callout_lock (via callout_reset()) only with sleepq chain lock held - msleep_spin in _callout_stop_safe lock the sleepqueue chain with callout_lock held In order to solve this don't use msleep_spin in _callout_stop_safe() but use directly sleepqueues as inline msleep_spin code. Rearrange the wakeup path in order to have it consistent too. r172025: Close a race that snuck in with the recent changes to fix a LOR between the callout_lock spin lock and the sleepqueue spin locks. In the fix, callout_drain() has to drop the callout_lock so it can acquire the sleepqueue lock. The state of the callout can change while the callout_lock is held however (for example, it can be rescheduled via callout_reset()). The previous code assumed that the only state change that could happen is that the callout could finish executing. This change alters callout_drain() to effectively restart and recheck everything after it acquires the sleepqueue lock thus handling all the possible states that the callout could be in after any changes while callout_lock was dropped. Revision Changes Path 1.97.2.3 +106 -60 src/sys/kern/kern_timeout.c From kmacy at FreeBSD.org Wed Jul 30 20:36:26 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 20:36:32 2008 Subject: cvs commit: src/sys/conf files src/sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h tcp_usrreq.c Message-ID: <200807302036.m6UKaQDa032283@repoman.freebsd.org> kmacy 2008-07-30 20:35:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h tcp_usrreq.c Log: SVN rev 181013 on 2008-07-30 20:35:41Z by kmacy MFC TCP hooks for conditionally tying TCP offload devices in to the TCP stack. Revision Changes Path 1.1243.2.32 +1 -0 src/sys/conf/files 1.300.2.4 +9 -2 src/sys/netinet/tcp_subr.c 1.130.2.9 +58 -13 src/sys/netinet/tcp_syncache.c 1.1.2.1 +6 -0 src/sys/netinet/tcp_syncache.h 1.163.2.4 +13 -9 src/sys/netinet/tcp_usrreq.c From kmacy at FreeBSD.org Wed Jul 30 20:51:29 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Jul 30 20:51:40 2008 Subject: cvs commit: src/sys/netinet tcp_syncache.c Message-ID: <200807302051.m6UKpRLd042964@repoman.freebsd.org> kmacy 2008-07-30 20:51:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_syncache.c Log: SVN rev 181014 on 2008-07-30 20:51:20Z by kmacy MFC interface for external consumers to syncache_expand Revision Changes Path 1.130.2.10 +13 -0 src/sys/netinet/tcp_syncache.c From jhb at FreeBSD.org Wed Jul 30 20:52:13 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 20:52:20 2008 Subject: cvs commit: src/sys/netinet tcp_hostcache.c Message-ID: <200807302052.m6UKqDEP043053@repoman.freebsd.org> jhb 2008-07-30 20:52:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet tcp_hostcache.c Log: SVN rev 181015 on 2008-07-30 20:52:12Z by jhb MFC: If we hit the global cache size limit but the bucket row is empty then we won't find an entry to recycle, so just return NULL and fail the insert. Revision Changes Path 1.10.2.2 +6 -0 src/sys/netinet/tcp_hostcache.c From jhb at FreeBSD.org Wed Jul 30 21:02:57 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 21:03:03 2008 Subject: cvs commit: src/sys/net if.h src/sys/sys sockio.h Message-ID: <200807302102.m6UL2vtq044004@repoman.freebsd.org> jhb 2008-07-30 21:01:51 UTC FreeBSD src repository Modified files: sys/net if.h sys/sys sockio.h Log: SVN rev 181016 on 2008-07-30 21:01:51Z by jhb Trim some noise from some #ifdef's. This had leaked into the compat32 support for bpf(4) due to hacks in the Y! tree for a truss32 binary (since superseded by native support for 32-bit binaries in truss itself). MFC after: 1 week Revision Changes Path 1.114 +1 -1 src/sys/net/if.h 1.32 +1 -1 src/sys/sys/sockio.h From stefanf at FreeBSD.org Wed Jul 30 21:07:13 2008 From: stefanf at FreeBSD.org (Stefan Farfeleder) Date: Wed Jul 30 21:07:19 2008 Subject: cvs commit: src/bin/sh eval.c Message-ID: <200807302107.m6UL7CcE045561@repoman.freebsd.org> stefanf 2008-07-30 21:07:04 UTC FreeBSD src repository Modified files: bin/sh eval.c Log: SVN rev 181017 on 2008-07-30 21:07:04Z by stefanf Pass the correct flags to expandarg() for NFROMFD and NTOFD. This fixes a segmentation fault when the argument expands to an empty string. Reported by: simon MFC after: 3 weeks Revision Changes Path 1.55 +1 -1 src/bin/sh/eval.c From jhb at FreeBSD.org Wed Jul 30 21:07:58 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 21:08:10 2008 Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c Message-ID: <200807302107.m6UL7wj4045633@repoman.freebsd.org> jhb 2008-07-30 21:07:56 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_lookup.c Log: SVN rev 181018 on 2008-07-30 21:07:56Z by jhb Whitespace tweak. Revision Changes Path 1.90 +0 -1 src/sys/ufs/ufs/ufs_lookup.c From jhb at FreeBSD.org Wed Jul 30 21:12:29 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 21:12:41 2008 Subject: cvs commit: src/sys/vm swap_pager.c Message-ID: <200807302112.m6ULCThe046074@repoman.freebsd.org> jhb 2008-07-30 21:12:15 UTC FreeBSD src repository Modified files: sys/vm swap_pager.c Log: SVN rev 181019 on 2008-07-30 21:12:15Z by jhb If the kernel has run out of metadata for swap, then explicitly panic() instead of emitting a warning before deadlocking. MFC after: 1 month Revision Changes Path 1.303 +1 -1 src/sys/vm/swap_pager.c From jhb at FreeBSD.org Wed Jul 30 21:18:17 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 21:18:28 2008 Subject: cvs commit: src/sys/vm vm_object.c vnode_pager.c Message-ID: <200807302118.m6ULIFoW046583@repoman.freebsd.org> jhb 2008-07-30 21:18:08 UTC FreeBSD src repository Modified files: sys/vm vm_object.c vnode_pager.c Log: SVN rev 181020 on 2008-07-30 21:18:08Z by jhb A few more whitespace fixes. Revision Changes Path 1.395 +0 -1 src/sys/vm/vm_object.c 1.244 +1 -1 src/sys/vm/vnode_pager.c From ed at FreeBSD.org Wed Jul 30 21:18:49 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Jul 30 21:19:01 2008 Subject: cvs commit: src/usr.bin/make main.c make.1 Message-ID: <200807302118.m6ULIkhD046645@repoman.freebsd.org> ed 2008-07-30 21:18:38 UTC FreeBSD src repository Modified files: usr.bin/make main.c make.1 Log: SVN rev 181021 on 2008-07-30 21:18:38Z by ed Add POSIX -p flag to make(1). This article [1] describes the -p flag for make(1): Write to standard output the complete set of macro definitions and target descriptions. The output format is unspecified. We already support a similar flag (-d g1), but unlike -p, it still executes commands. Our implementation just turns it into -d g1, but also sets flag `printGraphOnly', which will cause make(1) to skip execution. [1] http://www.opengroup.org/onlinepubs/009695399/utilities/make.html Reviewed by: imp PR: standards/99960 Revision Changes Path 1.169 +9 -3 src/usr.bin/make/main.c 1.112 +10 -1 src/usr.bin/make/make.1 From stefanf at FreeBSD.org Wed Jul 30 21:19:02 2008 From: stefanf at FreeBSD.org (Stefan Farfeleder) Date: Wed Jul 30 21:19:12 2008 Subject: cvs commit: src/tools/regression/bin/sh/errors redirection-error2.2 Message-ID: <200807302119.m6ULJ2Qe046698@repoman.freebsd.org> stefanf 2008-07-30 21:18:52 UTC FreeBSD src repository Added files: tools/regression/bin/sh/errors redirection-error2.2 Log: SVN rev 181022 on 2008-07-30 21:18:52Z by stefanf Add a regression test for r181017. Submitted by: simon Revision Changes Path 1.1 +4 -0 src/tools/regression/bin/sh/errors/redirection-error2.2 (new) From bz at FreeBSD.org Wed Jul 30 21:24:10 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Wed Jul 30 21:24:28 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c src/sys/netinet6 ip6_input.c ip6_var.h Message-ID: <200807302124.m6ULOAYt047213@repoman.freebsd.org> bz 2008-07-30 21:23:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet udp_usrreq.c sys/netinet6 ip6_input.c ip6_var.h Log: SVN rev 181023 on 2008-07-30 21:23:21Z by bz MFC r179289, rev. 1.221 udp_usrreq.c, 1.98 ip6_input.c, 1.42 ip6_var.h Factor out the v4-only vs. the v6-only inp_flags processing in ip6_savecontrol in preparation for udp_append() to no longer need an WLOCK as we will no longer be modifying socket options. Requested by: rwatson Reviewed by: gnn Revision Changes Path 1.218.2.1 +3 -8 src/sys/netinet/udp_usrreq.c 1.95.2.1 +33 -16 src/sys/netinet6/ip6_input.c 1.39.2.2 +1 -0 src/sys/netinet6/ip6_var.h From jhb at FreeBSD.org Wed Jul 30 21:24:12 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 21:24:29 2008 Subject: cvs commit: src/sys/vm vm_object.c Message-ID: <200807302124.m6ULOCee047240@repoman.freebsd.org> jhb 2008-07-30 21:23:32 UTC FreeBSD src repository Modified files: sys/vm vm_object.c Log: SVN rev 181024 on 2008-07-30 21:23:32Z by jhb One more whitespace nit. Revision Changes Path 1.396 +0 -2 src/sys/vm/vm_object.c From jhb at FreeBSD.org Wed Jul 30 21:31:43 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 21:31:55 2008 Subject: cvs commit: src/usr.bin/ipcs ipc.c Message-ID: <200807302131.m6ULVhVt047849@repoman.freebsd.org> jhb 2008-07-30 21:31:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/ipcs ipc.c Log: SVN rev 181025 on 2008-07-30 21:31:29Z by jhb In 6.x, the various shminfo fields are int rather than u_long. Revision Changes Path 1.1.4.2 +5 -5 src/usr.bin/ipcs/ipc.c From jhb at FreeBSD.org Wed Jul 30 21:44:59 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Jul 30 21:45:11 2008 Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c src/sys/vm vm_object.c vm_object.h vnode_pager.c Message-ID: <200807302144.m6ULix22049050@repoman.freebsd.org> jhb 2008-07-30 21:43:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ufs/ufs ufs_lookup.c sys/vm vm_object.c vm_object.h vnode_pager.c Log: SVN rev 181026 on 2008-07-30 21:43:42Z by jhb yyMFC: Allow VM object creation in ufs_lookup(). Revision Changes Path 1.83.2.2 +9 -0 src/sys/ufs/ufs/ufs_lookup.c 1.385.2.2 +22 -11 src/sys/vm/vm_object.c 1.114.2.1 +1 -0 src/sys/vm/vm_object.h 1.236.2.2 +12 -3 src/sys/vm/vnode_pager.c From jfv at FreeBSD.org Wed Jul 30 21:57:17 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Wed Jul 30 21:57:24 2008 Subject: cvs commit: src/sys/dev/e1000 LICENSE README e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_82575.c e1000_82575.h e1000_api.c e1000_api.h ... Message-ID: <200807302157.m6ULvGMT050324@repoman.freebsd.org> jfv 2008-07-30 21:56:53 UTC FreeBSD src repository Added files: sys/dev/e1000 LICENSE README e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_82575.c e1000_82575.h e1000_api.c e1000_api.h e1000_defines.h e1000_hw.h e1000_ich8lan.c e1000_ich8lan.h e1000_mac.c e1000_mac.h e1000_manage.c e1000_manage.h e1000_nvm.c e1000_nvm.h e1000_osdep.c e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h if_em.c if_em.h if_igb.c if_igb.h Removed files: sys/dev/em LICENSE README e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_api.c e1000_api.h e1000_defines.h e1000_hw.h e1000_ich8lan.c e1000_ich8lan.h e1000_mac.c e1000_mac.h e1000_manage.c e1000_manage.h e1000_nvm.c e1000_nvm.h e1000_osdep.c e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h if_em.c if_em.h sys/dev/igb e1000_82575.c e1000_82575.h e1000_api.c e1000_api.h e1000_defines.h e1000_hw.h e1000_mac.c e1000_mac.h e1000_manage.c e1000_manage.h e1000_nvm.c e1000_nvm.h e1000_osdep.c e1000_osdep.h e1000_phy.c e1000_phy.h e1000_regs.h if_igb.c if_igb.h Log: SVN rev 181027 on 2008-07-30 21:56:53Z by jfv Merge of the source for igb and em into dev/e1000, this proved to be necessary to make the static drivers work in EITHER/OR or BOTH configurations. Modules will still build in sys/modules/igb or em as before. This also updates the igb driver for support for the 82576 adapter, adds shared code fixes, and etc.... MFC after: ASAP Revision Changes Path 1.1 +31 -0 src/sys/dev/e1000/LICENSE (new) 1.1 +405 -0 src/sys/dev/e1000/README (new) 1.1 +1423 -0 src/sys/dev/e1000/e1000_80003es2lan.c (new) 1.1 +102 -0 src/sys/dev/e1000/e1000_80003es2lan.h (new) 1.1 +683 -0 src/sys/dev/e1000/e1000_82540.c (new) 1.1 +1330 -0 src/sys/dev/e1000/e1000_82541.c (new) 1.1 +92 -0 src/sys/dev/e1000/e1000_82541.h (new) 1.1 +584 -0 src/sys/dev/e1000/e1000_82542.c (new) 1.1 +1664 -0 src/sys/dev/e1000/e1000_82543.c (new) 1.1 +57 -0 src/sys/dev/e1000/e1000_82543.h (new) 1.1 +1542 -0 src/sys/dev/e1000/e1000_82571.c (new) 1.1 +59 -0 src/sys/dev/e1000/e1000_82571.h (new) 1.1 +1783 -0 src/sys/dev/e1000/e1000_82575.c (new) 1.1 +449 -0 src/sys/dev/e1000/e1000_82575.h (new) 1.1 +1232 -0 src/sys/dev/e1000/e1000_api.c (new) 1.1 +162 -0 src/sys/dev/e1000/e1000_api.h (new) 1.1 +1492 -0 src/sys/dev/e1000/e1000_defines.h (new) 1.1 +753 -0 src/sys/dev/e1000/e1000_hw.h (new) 1.1 +2717 -0 src/sys/dev/e1000/e1000_ich8lan.c (new) 1.1 +134 -0 src/sys/dev/e1000/e1000_ich8lan.h (new) 1.1 +2191 -0 src/sys/dev/e1000/e1000_mac.c (new) 1.1 +101 -0 src/sys/dev/e1000/e1000_mac.h (new) 1.1 +389 -0 src/sys/dev/e1000/e1000_manage.c (new) 1.1 +88 -0 src/sys/dev/e1000/e1000_manage.h (new) 1.1 +929 -0 src/sys/dev/e1000/e1000_nvm.c (new) 1.1 +68 -0 src/sys/dev/e1000/e1000_nvm.h (new) 1.1 +101 -0 src/sys/dev/e1000/e1000_osdep.c (new) 1.1 +187 -0 src/sys/dev/e1000/e1000_osdep.h (new) 1.1 +2566 -0 src/sys/dev/e1000/e1000_phy.c (new) 1.1 +200 -0 src/sys/dev/e1000/e1000_phy.h (new) 1.1 +464 -0 src/sys/dev/e1000/e1000_regs.h (new) 1.1 +5317 -0 src/sys/dev/e1000/if_em.c (new) 1.1 +489 -0 src/sys/dev/e1000/if_em.h (new) 1.1 +4809 -0 src/sys/dev/e1000/if_igb.c (new) 1.1 +460 -0 src/sys/dev/e1000/if_igb.h (new) 1.8 +0 -31 src/sys/dev/em/LICENSE (dead) 1.16 +0 -405 src/sys/dev/em/README (dead) 1.7 +0 -1421 src/sys/dev/em/e1000_80003es2lan.c (dead) 1.6 +0 -102 src/sys/dev/em/e1000_80003es2lan.h (dead) 1.7 +0 -683 src/sys/dev/em/e1000_82540.c (dead) 1.7 +0 -1331 src/sys/dev/em/e1000_82541.c (dead) 1.6 +0 -91 src/sys/dev/em/e1000_82541.h (dead) 1.7 +0 -584 src/sys/dev/em/e1000_82542.c (dead) 1.7 +0 -1665 src/sys/dev/em/e1000_82543.c (dead) 1.6 +0 -51 src/sys/dev/em/e1000_82543.h (dead) 1.8 +0 -1474 src/sys/dev/em/e1000_82571.c (dead) 1.8 +0 -54 src/sys/dev/em/e1000_82571.h (dead) 1.8 +0 -1223 src/sys/dev/em/e1000_api.c (dead) 1.8 +0 -182 src/sys/dev/em/e1000_api.h (dead) 1.8 +0 -1450 src/sys/dev/em/e1000_defines.h (dead) 1.8 +0 -742 src/sys/dev/em/e1000_hw.h (dead) 1.8 +0 -2713 src/sys/dev/em/e1000_ich8lan.c (dead) 1.8 +0 -127 src/sys/dev/em/e1000_ich8lan.h (dead) 1.7 +0 -2172 src/sys/dev/em/e1000_mac.c (dead) 1.7 +0 -101 src/sys/dev/em/e1000_mac.h (dead) 1.7 +0 -390 src/sys/dev/em/e1000_manage.c (dead) 1.6 +0 -88 src/sys/dev/em/e1000_manage.h (dead) 1.7 +0 -932 src/sys/dev/em/e1000_nvm.c (dead) 1.7 +0 -68 src/sys/dev/em/e1000_nvm.h (dead) 1.2 +0 -101 src/sys/dev/em/e1000_osdep.c (dead) 1.8 +0 -191 src/sys/dev/em/e1000_osdep.h (dead) 1.8 +0 -2553 src/sys/dev/em/e1000_phy.c (dead) 1.8 +0 -200 src/sys/dev/em/e1000_phy.h (dead) 1.6 +0 -330 src/sys/dev/em/e1000_regs.h (dead) 1.195 +0 -5317 src/sys/dev/em/if_em.c (dead) 1.70 +0 -489 src/sys/dev/em/if_em.h (dead) 1.3 +0 -1430 src/sys/dev/igb/e1000_82575.c (dead) 1.2 +0 -317 src/sys/dev/igb/e1000_82575.h (dead) 1.3 +0 -1060 src/sys/dev/igb/e1000_api.c (dead) 1.3 +0 -151 src/sys/dev/igb/e1000_api.h (dead) 1.3 +0 -1403 src/sys/dev/igb/e1000_defines.h (dead) 1.3 +0 -627 src/sys/dev/igb/e1000_hw.h (dead) 1.4 +0 -2171 src/sys/dev/igb/e1000_mac.c (dead) 1.2 +0 -101 src/sys/dev/igb/e1000_mac.h (dead) 1.2 +0 -390 src/sys/dev/igb/e1000_manage.c (dead) 1.3 +0 -88 src/sys/dev/igb/e1000_manage.h (dead) 1.2 +0 -932 src/sys/dev/igb/e1000_nvm.c (dead) 1.2 +0 -68 src/sys/dev/igb/e1000_nvm.h (dead) 1.3 +0 -87 src/sys/dev/igb/e1000_osdep.c (dead) 1.3 +0 -186 src/sys/dev/igb/e1000_osdep.h (dead) 1.3 +0 -2145 src/sys/dev/igb/e1000_phy.c (dead) 1.2 +0 -177 src/sys/dev/igb/e1000_phy.h (dead) 1.2 +0 -326 src/sys/dev/igb/e1000_regs.h (dead) 1.13 +0 -4419 src/sys/dev/igb/if_igb.c (dead) 1.3 +0 -427 src/sys/dev/igb/if_igb.h (dead) From jfv at FreeBSD.org Wed Jul 30 22:01:46 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Wed Jul 30 22:01:52 2008 Subject: cvs commit: src/sys/conf files Message-ID: <200807302201.m6UM1kcT050742@repoman.freebsd.org> jfv 2008-07-30 22:01:32 UTC FreeBSD src repository Modified files: sys/conf files Log: SVN rev 181028 on 2008-07-30 22:01:32Z by jfv Alter kernel build to work with new dev/e1000 structure. This makes both em and igb, or either alone build and work in the static kernel. MFC after:ASAP Revision Changes Path 1.1320 +32 -32 src/sys/conf/files From jfv at FreeBSD.org Wed Jul 30 22:05:17 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Wed Jul 30 22:05:29 2008 Subject: cvs commit: src/sys/modules/em Makefile Message-ID: <200807302205.m6UM5Hbi052203@repoman.freebsd.org> jfv 2008-07-30 22:05:06 UTC FreeBSD src repository Modified files: sys/modules/em Makefile Log: SVN rev 181029 on 2008-07-30 22:05:06Z by jfv Change to build module with new directory tree MFC after:ASAP Revision Changes Path 1.14 +4 -10 src/sys/modules/em/Makefile From jfv at FreeBSD.org Wed Jul 30 22:06:47 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Wed Jul 30 22:06:54 2008 Subject: cvs commit: src/sys/modules/igb Makefile Message-ID: <200807302206.m6UM6lP4052344@repoman.freebsd.org> jfv 2008-07-30 22:06:38 UTC FreeBSD src repository Modified files: sys/modules/igb Makefile Log: SVN rev 181030 on 2008-07-30 22:06:38Z by jfv Change Makefile to reflect new directory structure MFC after:ASAP Revision Changes Path 1.4 +5 -3 src/sys/modules/igb/Makefile From jfv at FreeBSD.org Wed Jul 30 22:27:49 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Wed Jul 30 22:27:54 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC Message-ID: <200807302227.m6UMRmE8053970@repoman.freebsd.org> jfv 2008-07-30 22:27:38 UTC FreeBSD src repository Modified files: sys/amd64/conf GENERIC Log: SVN rev 181031 on 2008-07-30 22:27:38Z by jfv Add igb to the default kernel MFC after:ASAP Revision Changes Path 1.505 +2 -1 src/sys/amd64/conf/GENERIC From jfv at FreeBSD.org Wed Jul 30 22:31:04 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Wed Jul 30 22:31:16 2008 Subject: cvs commit: src/sys/i386/conf GENERIC Message-ID: <200807302231.m6UMV4M6054279@repoman.freebsd.org> jfv 2008-07-30 22:30:49 UTC FreeBSD src repository Modified files: sys/i386/conf GENERIC Log: SVN rev 181032 on 2008-07-30 22:30:49Z by jfv Add igb driver to the default kernel Revision Changes Path 1.495 +2 -1 src/sys/i386/conf/GENERIC From emax at FreeBSD.org Wed Jul 30 22:41:36 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Wed Jul 30 22:41:42 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/include ng_btsocket_sco.h src/sys/netgraph/bluetooth/socket ng_btsocket.c ng_btsocket_sco.c Message-ID: <200807302241.m6UMfaAW055199@repoman.freebsd.org> emax 2008-07-30 22:41:23 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/socket ng_btsocket.c Added files: sys/netgraph/bluetooth/include ng_btsocket_sco.h sys/netgraph/bluetooth/socket ng_btsocket_sco.c Log: SVN rev 181033 on 2008-07-30 22:41:23Z by emax Introduce support for Bluetooth SCO sockets. This is based on older code that was revisted. MFC after: 3 months Revision Changes Path 1.1 +130 -0 src/sys/netgraph/bluetooth/include/ng_btsocket_sco.h (new) 1.14 +34 -1 src/sys/netgraph/bluetooth/socket/ng_btsocket.c 1.1 +1968 -0 src/sys/netgraph/bluetooth/socket/ng_btsocket_sco.c (new) From emax at FreeBSD.org Wed Jul 30 22:42:22 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Wed Jul 30 22:42:34 2008 Subject: cvs commit: src/sys/modules/netgraph/bluetooth/socket Makefile Message-ID: <200807302242.m6UMgMYZ055281@repoman.freebsd.org> emax 2008-07-30 22:42:17 UTC FreeBSD src repository Modified files: sys/modules/netgraph/bluetooth/socket Makefile Log: SVN rev 181034 on 2008-07-30 22:42:17Z by emax Hook up Bluetooth SCO sockets code to the build MFC after: 3 months Revision Changes Path 1.6 +2 -1 src/sys/modules/netgraph/bluetooth/socket/Makefile From ps at FreeBSD.org Wed Jul 30 23:54:40 2008 From: ps at FreeBSD.org (Paul Saab) Date: Wed Jul 30 23:54:46 2008 Subject: cvs commit: src/sys/dev/e1000 if_igb.c Message-ID: <200807302354.m6UNsdG9061990@repoman.freebsd.org> ps 2008-07-30 23:54:23 UTC FreeBSD src repository Modified files: sys/dev/e1000 if_igb.c Log: SVN rev 181035 on 2008-07-30 23:54:23Z by ps Include netinet/tcp_lro.h, unbreak the build Revision Changes Path 1.2 +1 -1 src/sys/dev/e1000/if_igb.c From jfvogel at gmail.com Thu Jul 31 00:28:51 2008 From: jfvogel at gmail.com (Jack Vogel) Date: Thu Jul 31 00:28:58 2008 Subject: cvs commit: src/sys/dev/e1000 if_igb.c In-Reply-To: <200807302354.m6UNsdG9061990@repoman.freebsd.org> References: <200807302354.m6UNsdG9061990@repoman.freebsd.org> Message-ID: <2a41acea0807301704r51703c1cm506c48c873084672@mail.gmail.com> Damn you're fast Paul, I just logged on to fix it :) On Wed, Jul 30, 2008 at 4:54 PM, Paul Saab wrote: > ps 2008-07-30 23:54:23 UTC > > FreeBSD src repository > > Modified files: > sys/dev/e1000 if_igb.c > Log: > SVN rev 181035 on 2008-07-30 23:54:23Z by ps > > Include netinet/tcp_lro.h, unbreak the build > > Revision Changes Path > 1.2 +1 -1 src/sys/dev/e1000/if_igb.c > From pyunyh at gmail.com Thu Jul 31 00:31:36 2008 From: pyunyh at gmail.com (Pyun YongHyeon) Date: Thu Jul 31 00:31:47 2008 Subject: cvs commit: src/sys/conf NOTES In-Reply-To: <200807301126.13274.jhb@freebsd.org> References: <200807300039.m6U0diw7033021@repoman.freebsd.org> <200807301126.13274.jhb@freebsd.org> Message-ID: <20080731002915.GB4957@cdnetworks.co.kr> On Wed, Jul 30, 2008 at 11:26:12AM -0400, John Baldwin wrote: > On Tuesday 29 July 2008 08:39:25 pm Pyun YongHyeon wrote: > > yongari 2008-07-30 00:39:25 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/conf NOTES > > Log: > > SVN rev 180981 on 2008-07-30 00:39:25Z by yongari > > > > Unbreak build. > > Remove nfe(4). The driver applies to i386/amd64 only. > > You can add it to sys/i386/conf/NOTES and sys/amd64/conf/NOTES instead then. Yes, but NOTES for i386/amd64 alreay has an entry for nfe(4). -- Regards, Pyun YongHyeon From obrien at FreeBSD.org Thu Jul 31 00:55:41 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Thu Jul 31 00:56:18 2008 Subject: cvs commit: src/sbin/fdisk fdisk.8 fdisk.c Message-ID: <200807310055.m6V0tfZa077285@repoman.freebsd.org> obrien 2008-07-31 00:55:29 UTC FreeBSD src repository Modified files: sbin/fdisk fdisk.8 fdisk.c Log: SVN rev 181036 on 2008-07-31 00:55:29Z by obrien Add a -q[uiet] flag for scripts. Revision Changes Path 1.40 +4 -1 src/sbin/fdisk/fdisk.8 1.85 +8 -3 src/sbin/fdisk/fdisk.c From yongari at FreeBSD.org Thu Jul 31 01:13:27 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 31 01:13:39 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200807310113.m6V1DRki079811@repoman.freebsd.org> yongari 2008-07-31 01:13:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/jme if_jme.c Log: SVN rev 181037 on 2008-07-31 01:13:19Z by yongari MFC r180869 Fix buffer discard index. While I'm here dicard all buffers if errored frame is part of multi-segmented frames. Revision Changes Path 1.1.2.4 +4 -1 src/sys/dev/jme/if_jme.c From ken at mthelicon.com Thu Jul 31 01:15:54 2008 From: ken at mthelicon.com (Pegasus Mc cleaft) Date: Thu Jul 31 01:16:00 2008 Subject: Fwd: Re: kern/123518: [patch] src/sys/kern.mk fails to disable -msse3 for amd64 Message-ID: <200807310215.50890.ken@mthelicon.com> Hi Everyone, I was just wondering, Is there any reason why this has not been MFC'ed yet for the AMD64 platform? I have to keep patching the kern.mk file with each build, or is there a problem with AMD64 and using this flag? Ta Peg From yongari at FreeBSD.org Thu Jul 31 01:22:28 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Jul 31 01:22:40 2008 Subject: cvs commit: src/sys/dev/jme if_jme.c Message-ID: <200807310122.m6V1MScO080539@repoman.freebsd.org> yongari 2008-07-31 01:22:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/jme if_jme.c Log: SVN rev 181038 on 2008-07-31 01:22:24Z by yongari MFC r180869 Fix buffer discard index. While I'm here dicard all buffers if errored frame is part of multi-segmented frames. Revision Changes Path 1.2.2.4 +4 -1 src/sys/dev/jme/if_jme.c From ps at FreeBSD.org Thu Jul 31 01:52:15 2008 From: ps at FreeBSD.org (Paul Saab) Date: Thu Jul 31 01:52:26 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_cpl_socket.c cxgb_ddp.c cxgb_tom.c Message-ID: <200807310152.m6V1qEYQ082902@repoman.freebsd.org> ps 2008-07-31 01:52:04 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_cpl_socket.c cxgb_ddp.c cxgb_tom.c Log: SVN rev 181039 on 2008-07-31 01:52:04Z by ps Unbreak the build by including sys/socketvar.h Revision Changes Path 1.17 +2 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.12 +2 -1 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c 1.6 +2 -1 src/sys/dev/cxgb/ulp/tom/cxgb_ddp.c 1.7 +1 -0 src/sys/dev/cxgb/ulp/tom/cxgb_tom.c From ps at FreeBSD.org Thu Jul 31 02:13:46 2008 From: ps at FreeBSD.org (Paul Saab) Date: Thu Jul 31 02:13:57 2008 Subject: cvs commit: src/sys/modules/nfslockd Makefile Message-ID: <200807310213.m6V2Djvj085748@repoman.freebsd.org> ps 2008-07-31 02:13:36 UTC FreeBSD src repository Modified files: sys/modules/nfslockd Makefile Log: SVN rev 181040 on 2008-07-31 02:13:36Z by ps Unbreak the build by creating opt_nfs.h Revision Changes Path 1.3 +1 -1 src/sys/modules/nfslockd/Makefile From jfv at FreeBSD.org Thu Jul 31 02:23:05 2008 From: jfv at FreeBSD.org (Jack F Vogel) Date: Thu Jul 31 02:23:12 2008 Subject: cvs commit: src/sys/dev/e1000 if_igb.c Message-ID: <200807310223.m6V2N1Pd086516@repoman.freebsd.org> jfv 2008-07-31 02:22:53 UTC FreeBSD src repository Modified files: sys/dev/e1000 if_igb.c Log: SVN rev 181041 on 2008-07-31 02:22:53Z by jfv Data type fix Revision Changes Path 1.3 +2 -2 src/sys/dev/e1000/if_igb.c From emax at FreeBSD.org Thu Jul 31 03:52:04 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Thu Jul 31 03:52:15 2008 Subject: cvs commit: src/sys/conf files Message-ID: <200807310352.m6V3q3I2094774@repoman.freebsd.org> emax 2008-07-31 03:51:53 UTC FreeBSD src repository Modified files: sys/conf files Log: SVN rev 181042 on 2008-07-31 03:51:53Z by emax Fix LINT MFC after: 3 months Revision Changes Path 1.1321 +1 -0 src/sys/conf/files From alc at FreeBSD.org Thu Jul 31 04:42:54 2008 From: alc at FreeBSD.org (Alan Cox) Date: Thu Jul 31 04:43:01 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c Message-ID: <200807310442.m6V4grSh099993@repoman.freebsd.org> alc 2008-07-31 04:42:42 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: SVN rev 181043 on 2008-07-31 04:42:42Z by alc Eliminate recomputation of the PDE by pmap_pde_attr(). Revision Changes Path 1.639 +2 -5 src/sys/amd64/amd64/pmap.c From marcel at FreeBSD.org Thu Jul 31 05:26:10 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 31 05:26:16 2008 Subject: cvs commit: src/lib/libthread_db Makefile thread_db.c src/lib/libthread_db/arch/arm libpthread_md.c src/lib/libthread_db/arch/powerpc libpthread_md.c Message-ID: <200807310526.m6V5Q9p3013933@repoman.freebsd.org> marcel 2008-07-31 05:25:52 UTC FreeBSD src repository Modified files: lib/libthread_db Makefile thread_db.c lib/libthread_db/arch/arm libpthread_md.c lib/libthread_db/arch/powerpc libpthread_md.c Log: SVN rev 181044 on 2008-07-31 05:25:52Z by marcel Cleanup for WARNS 2. Revision Changes Path 1.13 +1 -1 src/lib/libthread_db/Makefile 1.2 +1 -1 src/lib/libthread_db/arch/arm/libpthread_md.c 1.3 +1 -0 src/lib/libthread_db/arch/powerpc/libpthread_md.c 1.7 +0 -2 src/lib/libthread_db/thread_db.c From kmacy at FreeBSD.org Thu Jul 31 05:41:11 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 05:41:17 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h Message-ID: <200807310541.m6V5fAmh015178@repoman.freebsd.org> kmacy 2008-07-31 05:40:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in_pcb.c in_pcb.h Log: SVN rev 181045 on 2008-07-31 05:40:59Z by kmacy MFC inp accessor functions Revision Changes Path 1.196.2.5 +56 -0 src/sys/netinet/in_pcb.c 1.100.2.4 +40 -0 src/sys/netinet/in_pcb.h From kmacy at FreeBSD.org Thu Jul 31 05:49:44 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 05:49:56 2008 Subject: cvs commit: src/sys/kern uipc_socket.c src/sys/netinet in_pcb.c src/sys/sys socket.h Message-ID: <200807310549.m6V5niS3015837@repoman.freebsd.org> kmacy 2008-07-31 05:48:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_socket.c sys/netinet in_pcb.c sys/sys socket.h Log: SVN rev 181046 on 2008-07-31 05:48:51Z by kmacy MFC accessor functions for socket fields. Revision Changes Path 1.302.2.5 +139 -0 src/sys/kern/uipc_socket.c 1.196.2.6 +14 -0 src/sys/netinet/in_pcb.c 1.95.2.4 +37 -0 src/sys/sys/socket.h From kmacy at FreeBSD.org Thu Jul 31 05:54:00 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 05:54:12 2008 Subject: cvs commit: src/sys/netinet toedev.h Message-ID: <200807310554.m6V5s0ie016187@repoman.freebsd.org> kmacy 2008-07-31 05:53:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet toedev.h Log: SVN rev 181047 on 2008-07-31 05:53:56Z by kmacy make tom_info field naming consistent Revision Changes Path 1.5.2.2 +2 -2 src/sys/netinet/toedev.h From kmacy at FreeBSD.org Thu Jul 31 06:11:02 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 06:11:13 2008 Subject: cvs commit: src/sys/netinet tcp.h tcp_usrreq.c Message-ID: <200807310611.m6V6B2TU018781@repoman.freebsd.org> kmacy 2008-07-31 06:10:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp.h tcp_usrreq.c Log: SVN rev 181048 on 2008-07-31 06:10:25Z by kmacy MFC: - Add socket option for setting and retrieving the congestion control algorithm. The name used is to allow compatibility with Linux. - add rcv_nxt, snd_nxt, and toe offload id to FreeBSD-specific extension fields for tcp_info Revision Changes Path 1.40.2.2 +9 -2 src/sys/netinet/tcp.h 1.163.2.5 +6 -0 src/sys/netinet/tcp_usrreq.c From kmacy at FreeBSD.org Thu Jul 31 06:17:50 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 06:17:56 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_config.h cxgb_offload.h src/sys/dev/cxgb/ulp/toecore cxgb_toedev.h src/sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c cxgb_toepcb.h Message-ID: <200807310617.m6V6HmHw019358@repoman.freebsd.org> kmacy 2008-07-31 06:17:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_config.h cxgb_offload.h sys/dev/cxgb/ulp/toecore cxgb_toedev.h sys/dev/cxgb/ulp/tom cxgb_cpl_socket.c cxgb_toepcb.h Log: SVN rev 181049 on 2008-07-31 06:17:39Z by kmacy fix TOE build errors & warnings Revision Changes Path 1.4.2.3 +0 -1 src/sys/dev/cxgb/cxgb_config.h 1.5.2.3 +1 -1 src/sys/dev/cxgb/cxgb_offload.h 1.2.2.3 +2 -2 src/sys/dev/cxgb/ulp/toecore/cxgb_toedev.h 1.10.2.2 +3 -4 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c 1.3.2.2 +1 -1 src/sys/dev/cxgb/ulp/tom/cxgb_toepcb.h From philip at FreeBSD.org Thu Jul 31 07:53:21 2008 From: philip at FreeBSD.org (Philip Paeps) Date: Thu Jul 31 07:53:33 2008 Subject: cvs commit: CVSROOT access Message-ID: <200807310753.m6V7rKrw029585@repoman.freebsd.org> philip 2008-07-31 07:53:10 UTC FreeBSD src repository Modified files: . access Log: SVN rev 181050 on 2008-07-31 07:53:10Z by philip Take gordon's commit bit for safekeeping, per his request. Approved by: core Revision Changes Path 1.889 +0 -1 CVSROOT/access From roberto at FreeBSD.org Thu Jul 31 08:18:07 2008 From: roberto at FreeBSD.org (Ollivier Robert) Date: Thu Jul 31 08:18:13 2008 Subject: cvs commit: src/share/syscons/keymaps fr.macbook.acc.kbd Message-ID: <200807310818.m6V8I69Y032602@repoman.freebsd.org> roberto 2008-07-31 08:18:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/syscons/keymaps fr.macbook.acc.kbd Log: SVN rev 181051 on 2008-07-31 08:18:03Z by roberto MFC r180949 Macbook [Pro] keyboards in AZERTY don't need shift to get to '~'. Revision Changes Path 1.1.2.1 +1 -1 src/share/syscons/keymaps/fr.macbook.acc.kbd From ed at FreeBSD.org Thu Jul 31 08:50:23 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Thu Jul 31 08:50:29 2008 Subject: cvs commit: src/usr.bin/procstat procstat.1 Message-ID: <200807310850.m6V8oMLj044540@repoman.freebsd.org> ed 2008-07-31 08:50:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/procstat procstat.1 Log: SVN rev 181052 on 2008-07-31 08:50:07Z by ed MFC r180875: Fix a small typo in the procstat(1) manpage: messsage queue. Revision Changes Path 1.1.2.5 +1 -1 src/usr.bin/procstat/procstat.1 From kostikbel at gmail.com Thu Jul 31 09:18:39 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Thu Jul 31 09:18:51 2008 Subject: cvs commit: src/sys/vm swap_pager.c In-Reply-To: <200807302112.m6ULCThe046074@repoman.freebsd.org> References: <200807302112.m6ULCThe046074@repoman.freebsd.org> Message-ID: <20080731090651.GX97161@deviant.kiev.zoral.com.ua> On Wed, Jul 30, 2008 at 09:12:15PM +0000, John Baldwin wrote: > jhb 2008-07-30 21:12:15 UTC > > FreeBSD src repository > > Modified files: > sys/vm swap_pager.c > Log: > SVN rev 181019 on 2008-07-30 21:12:15Z by jhb > > If the kernel has run out of metadata for swap, then explicitly panic() > instead of emitting a warning before deadlocking. > > MFC after: 1 month > > Revision Changes Path > 1.303 +1 -1 src/sys/vm/swap_pager.c Hmm, would it make sense to attempt to sync the filesystems ? We panic due to resource exhaustion as opposed to some data consistency violation. Sure, sync might deadlock too, because we may be in the low memory condition. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080731/00cea740/attachment.pgp From attilio at freebsd.org Thu Jul 31 09:50:53 2008 From: attilio at freebsd.org (Attilio Rao) Date: Thu Jul 31 09:51:05 2008 Subject: cvs commit: src/sys/vm vnode_pager.c In-Reply-To: <200807301819.m6UIJmY4004034@repoman.freebsd.org> References: <200807301819.m6UIJmY4004034@repoman.freebsd.org> Message-ID: <3bbf2fe10807310250v22258277g9a66e59c35778b64@mail.gmail.com> 2008/7/30 Konstantin Belousov : > kib 2008-07-30 18:16:06 UTC > > FreeBSD src repository > > Modified files: > sys/vm vnode_pager.c > Log: > SVN rev 181004 on 2008-07-30 18:16:06Z by kib > > The behaviour of the lockmgr going back at least to the 4.4BSD-Lite2 was > to downgrade the exclusive lock to shared one when exclusive lock owner > requested shared lock. New lockmgr panics instead. > > The vnode_pager_lock function requests shared lock on the vnode backing > the OBJT_VNODE, and can be called when the current thread already holds > an exlcusive lock on the vnode. For instance, it happens when handling > page fault from the VOP_WRITE() uiomove that writes to the file, with > the faulted in page fetched from the vm object backed by the same file. > We then get the situation described above. > > Verify whether the vnode is already exclusively locked by the curthread > and request recursed exclusive vnode lock instead of shared, if true. Many thanks. Attilio -- Peace can only be achieved by understanding - A. Einstein From rwatson at FreeBSD.org Thu Jul 31 09:56:23 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 31 09:56:29 2008 Subject: cvs commit: src/sys/bsm audit.h audit_internal.h audit_kevents.h audit_record.h src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm_klib.c audit_bsm_token.c audit_pipe.c audit_private.h audit_syscalls.c audit_worker.c Message-ID: <200807310956.m6V9uN14051238@repoman.freebsd.org> rwatson 2008-07-31 09:54:35 UTC FreeBSD src repository Modified files: sys/bsm audit.h audit_internal.h audit_kevents.h audit_record.h sys/security/audit audit.c audit.h audit_arg.c audit_bsm_klib.c audit_bsm_token.c audit_pipe.c audit_private.h audit_syscalls.c audit_worker.c Log: SVN rev 181053 on 2008-07-31 09:54:35Z by rwatson Further synchronization of copyrights, licenses, white space, etc from Apple and from the OpenBSM vendor tree. Obtained from: Apple Inc., TrustedBSD Project MFC after: 3 days Revision Changes Path 1.11 +2 -2 src/sys/bsm/audit.h 1.9 +1 -1 src/sys/bsm/audit_internal.h 1.13 +2 -2 src/sys/bsm/audit_kevents.h 1.11 +2 -2 src/sys/bsm/audit_record.h 1.44 +1 -1 src/sys/security/audit/audit.c 1.20 +1 -1 src/sys/security/audit/audit.h 1.25 +1 -1 src/sys/security/audit/audit_arg.c 1.16 +2 -2 src/sys/security/audit/audit_bsm_klib.c 1.18 +2 -2 src/sys/security/audit/audit_bsm_token.c 1.17 +0 -1 src/sys/security/audit/audit_pipe.c 1.22 +1 -1 src/sys/security/audit/audit_private.h 1.28 +1 -1 src/sys/security/audit/audit_syscalls.c 1.29 +1 -1 src/sys/security/audit/audit_worker.c From rrs at FreeBSD.org Thu Jul 31 11:08:37 2008 From: rrs at FreeBSD.org (Randall Stewart) Date: Thu Jul 31 11:08:43 2008 Subject: cvs commit: src/sys/netinet sctp.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_usrreq.c sctp_var.h sctputil.c Message-ID: <200807311108.m6VB8aof059418@repoman.freebsd.org> rrs 2008-07-31 11:08:30 UTC FreeBSD src repository Modified files: sys/netinet sctp.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_usrreq.c sctp_var.h sctputil.c Log: SVN rev 181054 on 2008-07-31 11:08:30Z by rrs Adds support for the SCTP_PORT_REUSE option Fixes a refcount bug found in the process Obtained from: With the help of Michael Tuexen Revision Changes Path 1.26 +2 -3 src/sys/netinet/sctp.h 1.74 +19 -1 src/sys/netinet/sctp_output.c 1.72 +178 -86 src/sys/netinet/sctp_pcb.c 1.38 +2 -0 src/sys/netinet/sctp_pcb.h 1.59 +126 -18 src/sys/netinet/sctp_usrreq.c 1.28 +2 -1 src/sys/netinet/sctp_var.h 1.81 +1 -1 src/sys/netinet/sctputil.c From kib at FreeBSD.org Thu Jul 31 11:43:48 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Thu Jul 31 11:43:55 2008 Subject: cvs commit: src/sys/kern kern_exec.c src/sys/sys imgact.h Message-ID: <200807311143.m6VBhmlh062541@repoman.freebsd.org> kib 2008-07-31 11:43:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_exec.c sys/sys imgact.h Log: SVN rev 181055 on 2008-07-31 11:43:07Z by kib MFC r180570: Pair the VOP_OPEN call from do_execve() with the reciprocal VOP_CLOSE. Note: the change needed small adaptation to RELENG_7 because fexecve(2) is not merged into the branch. Revision Changes Path 1.308.2.3 +9 -0 src/sys/kern/kern_exec.c 1.40.2.1 +1 -0 src/sys/sys/imgact.h From rwatson at FreeBSD.org Thu Jul 31 13:15:23 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 31 13:15:29 2008 Subject: cvs commit: src/sys/netinet udp_usrreq.c src/sys/netinet6 ip6_input.c ip6_var.h In-Reply-To: <200807302124.m6ULOAYt047213@repoman.freebsd.org> References: <200807302124.m6ULOAYt047213@repoman.freebsd.org> Message-ID: <20080731141446.W6383@fledge.watson.org> On Wed, 30 Jul 2008, Bjoern A. Zeeb wrote: > bz 2008-07-30 21:23:21 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/netinet udp_usrreq.c > sys/netinet6 ip6_input.c ip6_var.h > Log: > SVN rev 181023 on 2008-07-30 21:23:21Z by bz > > MFC r179289, rev. 1.221 udp_usrreq.c, 1.98 ip6_input.c, 1.42 ip6_var.h > > Factor out the v4-only vs. the v6-only inp_flags processing in > ip6_savecontrol in preparation for udp_append() to no longer > need an WLOCK as we will no longer be modifying socket options. > > Requested by: rwatson > Reviewed by: gnn Thanks muchly. I will continue preparing my rwlock patch for 7-STABLE and post it to various lists in the next few days. Robert N M Watson Computer Laboratory University of Cambridge From rwatson at FreeBSD.org Thu Jul 31 13:18:56 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 31 13:19:08 2008 Subject: cvs commit: src/sys/dev/e1000 LICENSE README e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_82575.c e1000_82575.h e1000_api.c e1000_api.h ... In-Reply-To: <200807302157.m6ULvGMT050324@repoman.freebsd.org> References: <200807302157.m6ULvGMT050324@repoman.freebsd.org> Message-ID: <20080731141655.G6383@fledge.watson.org> On Wed, 30 Jul 2008, Jack F Vogel wrote: > SVN rev 181027 on 2008-07-30 21:56:53Z by jfv > > Merge of the source for igb and em into dev/e1000, this > proved to be necessary to make the static drivers work > in EITHER/OR or BOTH configurations. Modules will still > build in sys/modules/igb or em as before. > > This also updates the igb driver for support for the 82576 > adapter, adds shared code fixes, and etc.... > > MFC after: ASAP These changes seem pretty big -- I hope your definition of "ASAP" differs from mine when it comes to the MFC, as I would take ASAP to mean "almost immediately". We generally require a minimum delay of three days for mall changes, and ideally several weeks for large ones, and this is almost always a good idea as it's interesting how the world becomes more complicated once there's widespread testing going on :-). Robert N M Watson Computer Laboratory University of Cambridge From rpaulo at FreeBSD.org Thu Jul 31 15:10:55 2008 From: rpaulo at FreeBSD.org (Rui Paulo) Date: Thu Jul 31 15:11:07 2008 Subject: cvs commit: src/sys/netinet tcp_input.c tcp_output.c tcp_syncache.c tcp_usrreq.c tcp_var.h Message-ID: <200807311510.m6VFAtFQ097767@repoman.freebsd.org> rpaulo 2008-07-31 15:10:09 UTC FreeBSD src repository Modified files: sys/netinet tcp_input.c tcp_output.c tcp_syncache.c tcp_usrreq.c tcp_var.h Log: SVN rev 181056 on 2008-07-31 15:10:09Z by rpaulo MFp4 (//depot/projects/tcpecn/): TCP ECN support. Merge of my GSoC 2006 work for NetBSD. TCP ECN is defined in RFC 3168. Partly reviewed by: dwmalone, silby Obtained from: NetBSD Revision Changes Path 1.377 +84 -13 src/sys/netinet/tcp_input.c 1.152 +43 -0 src/sys/netinet/tcp_output.c 1.149 +12 -1 src/sys/netinet/tcp_syncache.c 1.171 +4 -0 src/sys/netinet/tcp_usrreq.c 1.163 +12 -0 src/sys/netinet/tcp_var.h From jfvogel at gmail.com Thu Jul 31 15:35:25 2008 From: jfvogel at gmail.com (Jack Vogel) Date: Thu Jul 31 15:35:37 2008 Subject: cvs commit: src/sys/dev/e1000 LICENSE README e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_82575.c e1000_82575.h e1000_api.c e1000_api Message-ID: <2a41acea0807310835i7bca258aj7d56f2a9bf3fbdb3@mail.gmail.com> I mean ASAP, but was not defining "possible" :) Without this change the igb driver cannot be used static in the kernel so I've had a couple people say it was important that it get into 7.1, that's the main thing I want make. I had no intention of putting it in today or something :) As many users of the driver that can give this a try would be appreciated. Jack On Thu, Jul 31, 2008 at 6:18 AM, Robert Watson wrote: > > On Wed, 30 Jul 2008, Jack F Vogel wrote: > >> SVN rev 181027 on 2008-07-30 21:56:53Z by jfv >> >> Merge of the source for igb and em into dev/e1000, this >> proved to be necessary to make the static drivers work >> in EITHER/OR or BOTH configurations. Modules will still >> build in sys/modules/igb or em as before. >> >> This also updates the igb driver for support for the 82576 >> adapter, adds shared code fixes, and etc.... >> >> MFC after: ASAP > > These changes seem pretty big -- I hope your definition of "ASAP" differs > from mine when it comes to the MFC, as I would take ASAP to mean "almost > immediately". We generally require a minimum delay of three days for mall > changes, and ideally several weeks for large ones, and this is almost always > a good idea as it's interesting how the world becomes more complicated once > there's widespread testing going on :-). > > Robert N M Watson > Computer Laboratory > University of Cambridge > From flz at FreeBSD.org Thu Jul 31 15:58:42 2008 From: flz at FreeBSD.org (Florent Thoumie) Date: Thu Jul 31 15:58:54 2008 Subject: cvs commit: src/usr.sbin/sysinstall package.c Message-ID: <200807311558.m6VFwg2d001689@repoman.freebsd.org> flz 2008-07-31 15:58:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/sysinstall package.c Log: SVN rev 181057 on 2008-07-31 15:58:22Z by flz MFC r180566: Don't set PACKAGE_BUILDING while installing packages. Revision Changes Path 1.104.2.1 +0 -1 src/usr.sbin/sysinstall/package.c From flz at FreeBSD.org Thu Jul 31 15:58:58 2008 From: flz at FreeBSD.org (Florent Thoumie) Date: Thu Jul 31 15:59:15 2008 Subject: cvs commit: src/usr.sbin/sysinstall package.c Message-ID: <200807311558.m6VFwwwG001729@repoman.freebsd.org> flz 2008-07-31 15:58:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/sysinstall package.c Log: SVN rev 181058 on 2008-07-31 15:58:48Z by flz MFC r180566: Don't set PACKAGE_BUILDING while installing packages. Revision Changes Path 1.103.8.1 +0 -1 src/usr.sbin/sysinstall/package.c From marcel at FreeBSD.org Thu Jul 31 16:27:21 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 31 16:27:33 2008 Subject: cvs commit: src/lib/libthread_db Makefile libpthread_db.c libpthread_db.h src/lib/libthread_db/arch/amd64 libpthread_md.c src/lib/libthread_db/arch/arm libpthread_md.c src/lib/libthread_db/arch/i386 libpthread_md.c src/lib/libthread_db/arch/ia64 libpthread_md.c ... Message-ID: <200807311627.m6VGRGIE006801@repoman.freebsd.org> marcel 2008-07-31 16:26:58 UTC FreeBSD src repository Modified files: lib/libthread_db Makefile libpthread_db.c libpthread_db.h lib/libthread_db/arch/amd64 libpthread_md.c lib/libthread_db/arch/arm libpthread_md.c lib/libthread_db/arch/i386 libpthread_md.c lib/libthread_db/arch/ia64 libpthread_md.c lib/libthread_db/arch/powerpc libpthread_md.c lib/libthread_db/arch/sparc64 libpthread_md.c Log: SVN rev 181059 on 2008-07-31 16:26:58Z by marcel Cleanup for WARNS 3. Revision Changes Path 1.14 +1 -1 src/lib/libthread_db/Makefile 1.5 +3 -0 src/lib/libthread_db/arch/amd64/libpthread_md.c 1.3 +1 -2 src/lib/libthread_db/arch/arm/libpthread_md.c 1.3 +2 -3 src/lib/libthread_db/arch/i386/libpthread_md.c 1.4 +3 -0 src/lib/libthread_db/arch/ia64/libpthread_md.c 1.4 +1 -2 src/lib/libthread_db/arch/powerpc/libpthread_md.c 1.4 +3 -0 src/lib/libthread_db/arch/sparc64/libpthread_md.c 1.18 +2 -2 src/lib/libthread_db/libpthread_db.c 1.5 +7 -6 src/lib/libthread_db/libpthread_db.h From csjp at FreeBSD.org Thu Jul 31 16:59:12 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Thu Jul 31 16:59:18 2008 Subject: cvs commit: src/sys/kern vfs_cache.c src/sys/security/audit audit_bsm_klib.c src/sys/sys vnode.h Message-ID: <200807311659.m6VGxC2R018875@repoman.freebsd.org> csjp 2008-07-31 16:57:41 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c sys/security/audit audit_bsm_klib.c sys/sys vnode.h Log: SVN rev 181060 on 2008-07-31 16:57:41Z by csjp Currently, BSM audit pathname token generation for chrooted or jailed processes are not producing absolute pathname tokens. It is required that audited pathnames are generated relative to the global root mount point. This modification changes our implementation of audit_canon_path(9) and introduces a new function: vn_fullpath_global(9) which performs a vnode -> pathname translation relative to the global mount point based on the contents of the name cache. Much like vn_fullpath, vn_fullpath_global is a wrapper function which called vn_fullpath1. Further, the string parsing routines have been converted to use the sbuf(9) framework. This change also removes the conditional acquisition of Giant, since the vn_fullpath1 method will not dip into file system dependent code. The vnode locking was modified to use vhold()/vdrop() instead the vref() and vrele(). This will modify the hold count instead of modifying the user count. This makes more sense since it's the kernel that requires the reference to the vnode. This also makes sure that the vnode does not get recycled we hold the reference to it. [1] Discussed with: rwatson Reviewed by: kib [1] MFC after: 2 weeks Revision Changes Path 1.122 +26 -0 src/sys/kern/vfs_cache.c 1.17 +93 -55 src/sys/security/audit/audit_bsm_klib.c 1.337 +2 -0 src/sys/sys/vnode.h From rwatson at FreeBSD.org Thu Jul 31 17:12:07 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 31 17:12:14 2008 Subject: cvs commit: src/sys/dev/e1000 LICENSE README e1000_80003es2lan.c e1000_80003es2lan.h e1000_82540.c e1000_82541.c e1000_82541.h e1000_82542.c e1000_82543.c e1000_82543.h e1000_82571.c e1000_82571.h e1000_82575.c e1000_82575.h e1000_api.c e1000_api In-Reply-To: <2a41acea0807310835i7bca258aj7d56f2a9bf3fbdb3@mail.gmail.com> References: <2a41acea0807310835i7bca258aj7d56f2a9bf3fbdb3@mail.gmail.com> Message-ID: <20080731181144.C22038@fledge.watson.org> On Thu, 31 Jul 2008, Jack Vogel wrote: > I mean ASAP, but was not defining "possible" :) Without this change the igb > driver cannot be used static in the kernel so I've had a couple people say > it was important that it get into 7.1, that's the main thing I want make. > > I had no intention of putting it in today or something :) As many users of > the driver that can give this a try would be appreciated. Exactly the anwer I had hoped for, thanks! Robert N M Watson Computer Laboratory University of Cambridge > > Jack > > > On Thu, Jul 31, 2008 at 6:18 AM, Robert Watson wrote: >> >> On Wed, 30 Jul 2008, Jack F Vogel wrote: >> >>> SVN rev 181027 on 2008-07-30 21:56:53Z by jfv >>> >>> Merge of the source for igb and em into dev/e1000, this >>> proved to be necessary to make the static drivers work >>> in EITHER/OR or BOTH configurations. Modules will still >>> build in sys/modules/igb or em as before. >>> >>> This also updates the igb driver for support for the 82576 >>> adapter, adds shared code fixes, and etc.... >>> >>> MFC after: ASAP >> >> These changes seem pretty big -- I hope your definition of "ASAP" differs >> from mine when it comes to the MFC, as I would take ASAP to mean "almost >> immediately". We generally require a minimum delay of three days for mall >> changes, and ideally several weeks for large ones, and this is almost always >> a good idea as it's interesting how the world becomes more complicated once >> there's widespread testing going on :-). >> >> Robert N M Watson >> Computer Laboratory >> University of Cambridge >> > From des at FreeBSD.org Thu Jul 31 17:15:29 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Thu Jul 31 17:15:40 2008 Subject: cvs commit: src/usr.bin/truss syscall.h syscalls.c Message-ID: <200807311715.m6VHFSNk021355@repoman.freebsd.org> des 2008-07-31 17:15:21 UTC FreeBSD src repository Modified files: usr.bin/truss syscall.h syscalls.c Log: SVN rev 181061 on 2008-07-31 17:15:21Z by des Try to make this code slightly less painful to read. Revision Changes Path 1.19 +1 -1 src/usr.bin/truss/syscall.h 1.57 +676 -693 src/usr.bin/truss/syscalls.c From csjp at FreeBSD.org Thu Jul 31 17:20:16 2008 From: csjp at FreeBSD.org (Christian S.J. Peron) Date: Thu Jul 31 17:20:27 2008 Subject: cvs commit: src/sys/kern vfs_cache.c src/sys/security/audit audit_bsm_klib.c src/sys/sys vnode.h In-Reply-To: <200807311659.m6VGxC2R018875@repoman.freebsd.org> References: <200807311659.m6VGxC2R018875@repoman.freebsd.org> Message-ID: <20080731170234.GA91361@sub.vaned.net> On Thu, Jul 31, 2008 at 04:57:41PM +0000, Christian S.J. Peron wrote: > > Further, the string parsing routines have been converted to use the > sbuf(9) framework. This change also removes the conditional acquisition > of Giant, since the vn_fullpath1 method will not dip into file system > dependent code. > Doh -- we didn't remove the conditional aquisition of Giant here as it's still required in some cases. This commit message had an error in it :) From kostikbel at gmail.com Thu Jul 31 17:25:53 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Thu Jul 31 17:25:59 2008 Subject: cvs commit: src/sys/conf files src/sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h tcp_usrreq.c In-Reply-To: <200807302036.m6UKaQDa032283@repoman.freebsd.org> References: <200807302036.m6UKaQDa032283@repoman.freebsd.org> Message-ID: <20080731172546.GA97161@deviant.kiev.zoral.com.ua> On Wed, Jul 30, 2008 at 08:35:41PM +0000, Kip Macy wrote: > kmacy 2008-07-30 20:35:41 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/conf files > sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h > tcp_usrreq.c > Log: > SVN rev 181013 on 2008-07-30 20:35:41Z by kmacy > > MFC TCP hooks for conditionally tying TCP offload devices in to the TCP stack. > > Revision Changes Path > 1.1243.2.32 +1 -0 src/sys/conf/files > 1.300.2.4 +9 -2 src/sys/netinet/tcp_subr.c > 1.130.2.9 +58 -13 src/sys/netinet/tcp_syncache.c > 1.1.2.1 +6 -0 src/sys/netinet/tcp_syncache.h > 1.163.2.4 +13 -9 src/sys/netinet/tcp_usrreq.c I am replying to the random commit in the series. Now, the kernel reports seemingly debugging information like no toe capability on 0xc29da000 no toe capability on 0xc29da000 no toe capability on 0xc29da000 no toe capability on 0xc29dfc00 no toe capability on 0xc29da000 Is it necessary ? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080731/71802ff3/attachment.pgp From jhb at freebsd.org Thu Jul 31 17:42:29 2008 From: jhb at freebsd.org (John Baldwin) Date: Thu Jul 31 17:42:41 2008 Subject: cvs commit: src/sys/vm swap_pager.c In-Reply-To: <20080731090651.GX97161@deviant.kiev.zoral.com.ua> References: <200807302112.m6ULCThe046074@repoman.freebsd.org> <20080731090651.GX97161@deviant.kiev.zoral.com.ua> Message-ID: <200807311120.40094.jhb@freebsd.org> On Thursday 31 July 2008 05:06:51 am Kostik Belousov wrote: > On Wed, Jul 30, 2008 at 09:12:15PM +0000, John Baldwin wrote: > > jhb 2008-07-30 21:12:15 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/vm swap_pager.c > > Log: > > SVN rev 181019 on 2008-07-30 21:12:15Z by jhb > > > > If the kernel has run out of metadata for swap, then explicitly panic() > > instead of emitting a warning before deadlocking. > > > > MFC after: 1 month > > > > Revision Changes Path > > 1.303 +1 -1 src/sys/vm/swap_pager.c > > Hmm, would it make sense to attempt to sync the filesystems ? We > panic due to resource exhaustion as opposed to some data consistency > violation. Sure, sync might deadlock too, because we may be in the low > memory condition. There is already a 'sync on panic' option for the brave. :) What would really be a better fix is if this condition could be treated the same as running out of swap space (i.e. go kill a process and keep running). I would have done that in the first place instead of adding the printf if it was easy. :) -- John Baldwin From kmacy at freebsd.org Thu Jul 31 18:25:04 2008 From: kmacy at freebsd.org (Kip Macy) Date: Thu Jul 31 18:25:11 2008 Subject: cvs commit: src/sys/conf files src/sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h tcp_usrreq.c In-Reply-To: <20080731172546.GA97161@deviant.kiev.zoral.com.ua> References: <200807302036.m6UKaQDa032283@repoman.freebsd.org> <20080731172546.GA97161@deviant.kiev.zoral.com.ua> Message-ID: <3c1674c90807311057r780ce429o7fc4c921e0cd6d81@mail.gmail.com> No, will fix. On 7/31/08, Kostik Belousov wrote: > On Wed, Jul 30, 2008 at 08:35:41PM +0000, Kip Macy wrote: >> kmacy 2008-07-30 20:35:41 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_7) >> sys/conf files >> sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h >> tcp_usrreq.c >> Log: >> SVN rev 181013 on 2008-07-30 20:35:41Z by kmacy >> >> MFC TCP hooks for conditionally tying TCP offload devices in to the TCP >> stack. >> >> Revision Changes Path >> 1.1243.2.32 +1 -0 src/sys/conf/files >> 1.300.2.4 +9 -2 src/sys/netinet/tcp_subr.c >> 1.130.2.9 +58 -13 src/sys/netinet/tcp_syncache.c >> 1.1.2.1 +6 -0 src/sys/netinet/tcp_syncache.h >> 1.163.2.4 +13 -9 src/sys/netinet/tcp_usrreq.c > > I am replying to the random commit in the series. > > Now, the kernel reports seemingly debugging information like > no toe capability on 0xc29da000 > no toe capability on 0xc29da000 > no toe capability on 0xc29da000 > no toe capability on 0xc29dfc00 > no toe capability on 0xc29da000 > > Is it necessary ? > From das at FreeBSD.org Thu Jul 31 19:58:02 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Jul 31 19:58:14 2008 Subject: cvs commit: src/lib/msun/src e_acos.c e_acosf.c e_atan2.c e_atan2f.c s_atan.c s_atanf.c Message-ID: <200807311958.m6VJw2e1036720@repoman.freebsd.org> das 2008-07-31 19:57:50 UTC FreeBSD src repository Modified files: lib/msun/src e_acos.c e_acosf.c e_atan2.c e_atan2f.c s_atan.c s_atanf.c Log: SVN rev 181062 on 2008-07-31 19:57:50Z by das As in other parts of libm, mark a few constants as volatile to prevent spurious optimizations. gcc doesn't support FENV_ACCESS, so when it folds constants, it assumes that the rounding mode is always the default and floating point exceptions never matter. Revision Changes Path 1.12 +4 -2 src/lib/msun/src/e_acos.c 1.9 +4 -2 src/lib/msun/src/e_acosf.c 1.12 +4 -2 src/lib/msun/src/e_atan2.c 1.9 +4 -2 src/lib/msun/src/e_atan2f.c 1.11 +2 -2 src/lib/msun/src/s_atan.c 1.9 +2 -2 src/lib/msun/src/s_atanf.c From das at FreeBSD.org Thu Jul 31 20:10:04 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Jul 31 20:10:16 2008 Subject: cvs commit: src/lib/msun/src e_fmodl.c s_remquol.c Message-ID: <200807312010.m6VKA48Z038832@repoman.freebsd.org> das 2008-07-31 20:09:47 UTC FreeBSD src repository Modified files: lib/msun/src e_fmodl.c s_remquol.c Log: SVN rev 181063 on 2008-07-31 20:09:47Z by das The high part of the mantissa is 64 bits on sparc64. Revision Changes Path 1.2 +1 -1 src/lib/msun/src/e_fmodl.c 1.2 +1 -1 src/lib/msun/src/s_remquol.c From das at FreeBSD.org Thu Jul 31 20:11:50 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Jul 31 20:12:02 2008 Subject: cvs commit: src/lib/msun Makefile Message-ID: <200807312011.m6VKBnNO039018@repoman.freebsd.org> das 2008-07-31 20:11:37 UTC FreeBSD src repository Modified files: lib/msun Makefile Log: SVN rev 181064 on 2008-07-31 20:11:37Z by das Set WARNS=1. I believe I've committed all the bits necessary to make this compile on all supported architectures. :crosses fingers: Revision Changes Path 1.96 +1 -0 src/lib/msun/Makefile From marcel at FreeBSD.org Thu Jul 31 20:26:06 2008 From: marcel at FreeBSD.org (Marcel Moolenaar) Date: Thu Jul 31 20:26:12 2008 Subject: cvs commit: src/lib/libthread_db thread_db.c thread_db_int.h Message-ID: <200807312026.m6VKQ5Fe040129@repoman.freebsd.org> marcel 2008-07-31 20:25:52 UTC FreeBSD src repository Modified files: lib/libthread_db thread_db.c thread_db_int.h Log: SVN rev 181065 on 2008-07-31 20:25:52Z by marcel Add thr_pread_{int,long,ptr} and thr_pwrite_{int,long,ptr} to help abstract the sizes and endianness of the primary types of the target. These currently use the native characteristics. Revision Changes Path 1.8 +169 -0 src/lib/libthread_db/thread_db.c 1.5 +10 -0 src/lib/libthread_db/thread_db_int.h From kmacy at FreeBSD.org Thu Jul 31 20:28:07 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 20:28:29 2008 Subject: cvs commit: src/sys/sys sockbuf.h socketvar.h Message-ID: <200807312028.m6VKS7sF040291@repoman.freebsd.org> kmacy 2008-07-31 20:27:50 UTC FreeBSD src repository Modified files: sys/sys sockbuf.h socketvar.h Log: SVN rev 181066 on 2008-07-31 20:27:50Z by kmacy move sockbuf locking macros in to sockbuf.h Revision Changes Path 1.5 +18 -0 src/sys/sys/sockbuf.h 1.167 +0 -14 src/sys/sys/socketvar.h From kmacy at FreeBSD.org Thu Jul 31 20:29:08 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 20:29:15 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_l2t.c cxgb_listen.c cxgb_tcp_offload.c cxgb_tom_sysctl.c Message-ID: <200807312029.m6VKT8Kw040403@repoman.freebsd.org> kmacy 2008-07-31 20:28:58 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_l2t.c cxgb_listen.c cxgb_tcp_offload.c cxgb_tom_sysctl.c Log: SVN rev 181067 on 2008-07-31 20:28:58Z by kmacy remove socketvar.h, add more selective includes Revision Changes Path 1.2 +0 -1 src/sys/dev/cxgb/ulp/tom/cxgb_l2t.c 1.5 +7 -3 src/sys/dev/cxgb/ulp/tom/cxgb_listen.c 1.5 +3 -1 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c 1.4 +5 -1 src/sys/dev/cxgb/ulp/tom/cxgb_tom_sysctl.c From kmacy at FreeBSD.org Thu Jul 31 20:36:16 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 20:36:22 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_l2t.c cxgb_listen.c cxgb_tcp_offload.c cxgb_tom_sysctl.c src/sys/sys sockbuf.h socketvar.h sockopt.h sockstate.h Message-ID: <200807312036.m6VKaF06041204@repoman.freebsd.org> kmacy 2008-07-31 20:35:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb/ulp/tom cxgb_l2t.c cxgb_listen.c cxgb_tcp_offload.c cxgb_tom_sysctl.c sys/sys socketvar.h Added files: (Branch: RELENG_7) sys/sys sockbuf.h sockopt.h sockstate.h Log: SVN rev 181068 on 2008-07-31 20:35:44Z by kmacy MFC sockbuf refactoring and fixes to cxgb TOE Revision Changes Path 1.1.2.2 +0 -1 src/sys/dev/cxgb/ulp/tom/cxgb_l2t.c 1.4.2.2 +7 -3 src/sys/dev/cxgb/ulp/tom/cxgb_listen.c 1.4.2.2 +3 -1 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c 1.3.2.2 +5 -1 src/sys/dev/cxgb/ulp/tom/cxgb_tom_sysctl.c 1.5.2.1 +220 -0 src/sys/sys/sockbuf.h (new) 1.158.2.4 +8 -224 src/sys/sys/socketvar.h 1.1.2.1 +72 -0 src/sys/sys/sockopt.h (new) 1.1.2.1 +83 -0 src/sys/sys/sockstate.h (new) From rwatson at FreeBSD.org Thu Jul 31 20:49:18 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 31 20:49:26 2008 Subject: cvs commit: src/sys/security/mac_bsdextended mac_bsdextended.c Message-ID: <200807312049.m6VKnIQq051858@repoman.freebsd.org> rwatson 2008-07-31 20:49:12 UTC FreeBSD src repository Modified files: sys/security/mac_bsdextended mac_bsdextended.c Log: SVN rev 181069 on 2008-07-31 20:49:12Z by rwatson In mac_bsdextended's auditctl and acct policy access control checks, return success if the passed vnode pointer is NULL (rather than panicking). This can occur if either audit or accounting are disabled while the policy is running. Since the swapoff control has no real relevance to this policy, which is concerned about intent to write rather than water under the bridge, remove it. PR: kern/126100 Reported by: Alan Amesbury MFC after: 3 days Revision Changes Path 1.43 +8 -11 src/sys/security/mac_bsdextended/mac_bsdextended.c From jhb at FreeBSD.org Thu Jul 31 21:57:50 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 31 21:58:02 2008 Subject: cvs commit: src/etc/rc.d sysctl Message-ID: <200807312157.m6VLvoGB058528@repoman.freebsd.org> jhb 2008-07-31 21:57:35 UTC FreeBSD src repository Modified files: etc/rc.d sysctl Log: SVN rev 181070 on 2008-07-31 21:57:35Z by jhb Parse sysctl settings from /etc/sysctl.conf.local after /etc/sysctl.conf if it exists. This mirrors similar behavior for /boot/loader.conf and /etc/rc.conf. Obtained from: Yahoo! MFC after: 1 week Revision Changes Path 1.20 +15 -10 src/etc/rc.d/sysctl From jhb at FreeBSD.org Thu Jul 31 22:13:22 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Jul 31 22:13:34 2008 Subject: cvs commit: src/etc/rc.d sysctl Message-ID: <200807312213.m6VMDMlr060913@repoman.freebsd.org> jhb 2008-07-31 22:13:14 UTC FreeBSD src repository Modified files: etc/rc.d sysctl Log: SVN rev 181071 on 2008-07-31 22:13:14Z by jhb Oops, restore the recent changes to make startup messages quieter. Revision Changes Path 1.21 +3 -1 src/etc/rc.d/sysctl From kmacy at FreeBSD.org Thu Jul 31 22:26:08 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 22:26:19 2008 Subject: cvs commit: src/sys/netinet tcp_offload.c Message-ID: <200807312226.m6VMQ7X7061917@repoman.freebsd.org> kmacy 2008-07-31 22:25:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_offload.c Log: SVN rev 181072 on 2008-07-31 22:25:51Z by kmacy MFC removal of extraneous debug statements. Revision Changes Path 1.4.2.2 +0 -6 src/sys/netinet/tcp_offload.c From rwatson at FreeBSD.org Thu Jul 31 22:33:12 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Jul 31 22:33:23 2008 Subject: cvs commit: src/sys/security/audit audit.h Message-ID: <200807312233.m6VMX8xW062450@repoman.freebsd.org> rwatson 2008-07-31 22:33:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit.h Log: SVN rev 181073 on 2008-07-31 22:33:01Z by rwatson Merge r178461 from head to stable/7: Use logic or, not binary or, when deciding whether or not a system call exit requires entering the audit code. The result is much the same, but they mean different things. Submitted by: Diego Giagio Revision Changes Path 1.14.2.3 +1 -1 src/sys/security/audit/audit.h From das at FreeBSD.org Thu Jul 31 22:41:42 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Jul 31 22:41:49 2008 Subject: cvs commit: src/lib/msun Makefile Symbol.map src/lib/msun/ld128 invtrig.c invtrig.h src/lib/msun/ld80 invtrig.c invtrig.h src/lib/msun/man acos.3 asin.3 atan.3 atan2.3 src/lib/msun/src e_acos.c e_acosl.c e_asin.c e_asinl.c e_atan2.c e_atan2l.c math.h ... Message-ID: <200807312241.m6VMfg3d063329@repoman.freebsd.org> das 2008-07-31 22:41:26 UTC FreeBSD src repository Modified files: lib/msun Makefile Symbol.map lib/msun/man acos.3 asin.3 atan.3 atan2.3 lib/msun/src e_acos.c e_asin.c e_atan2.c math.h s_atan.c Added files: lib/msun/ld128 invtrig.c invtrig.h lib/msun/ld80 invtrig.c invtrig.h lib/msun/src e_acosl.c e_asinl.c e_atan2l.c s_atanl.c s_cargl.c Log: SVN rev 181074 on 2008-07-31 22:41:26Z by das Add implementations of acosl(), asinl(), atanl(), atan2l(), and cargl(). Reviewed by: bde sparc64 testing resources from: remko Revision Changes Path 1.97 +12 -8 src/lib/msun/Makefile 1.20 +5 -0 src/lib/msun/Symbol.map 1.1 +100 -0 src/lib/msun/ld128/invtrig.c (new) 1.1 +113 -0 src/lib/msun/ld128/invtrig.h (new) 1.1 +82 -0 src/lib/msun/ld80/invtrig.c (new) 1.1 +101 -0 src/lib/msun/ld80/invtrig.h (new) 1.15 +16 -17 src/lib/msun/man/acos.3 1.17 +16 -17 src/lib/msun/man/asin.3 1.12 +16 -15 src/lib/msun/man/atan.3 1.18 +26 -12 src/lib/msun/man/atan2.3 1.13 +6 -0 src/lib/msun/src/e_acos.c 1.1 +77 -0 src/lib/msun/src/e_acosl.c (new) 1.13 +5 -0 src/lib/msun/src/e_asin.c 1.1 +77 -0 src/lib/msun/src/e_asinl.c (new) 1.13 +6 -0 src/lib/msun/src/e_atan2.c 1.1 +107 -0 src/lib/msun/src/e_atan2l.c (new) 1.74 +6 -0 src/lib/msun/src/math.h 1.12 +6 -0 src/lib/msun/src/s_atan.c 1.1 +85 -0 src/lib/msun/src/s_atanl.c (new) 1.1 +38 -0 src/lib/msun/src/s_cargl.c (new) From kmacy at freebsd.org Thu Jul 31 22:43:07 2008 From: kmacy at freebsd.org (Kip Macy) Date: Thu Jul 31 22:43:36 2008 Subject: cvs commit: src/sys/conf files src/sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h tcp_usrreq.c In-Reply-To: <3c1674c90807311057r780ce429o7fc4c921e0cd6d81@mail.gmail.com> References: <200807302036.m6UKaQDa032283@repoman.freebsd.org> <20080731172546.GA97161@deviant.kiev.zoral.com.ua> <3c1674c90807311057r780ce429o7fc4c921e0cd6d81@mail.gmail.com> Message-ID: <3c1674c90807311543q171b91f6n6274ce8c84be565d@mail.gmail.com> This was fixed with the MFC in 181072. -Kip On Thu, Jul 31, 2008 at 10:57 AM, Kip Macy wrote: > No, will fix. > > > > On 7/31/08, Kostik Belousov wrote: >> On Wed, Jul 30, 2008 at 08:35:41PM +0000, Kip Macy wrote: >>> kmacy 2008-07-30 20:35:41 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: (Branch: RELENG_7) >>> sys/conf files >>> sys/netinet tcp_subr.c tcp_syncache.c tcp_syncache.h >>> tcp_usrreq.c >>> Log: >>> SVN rev 181013 on 2008-07-30 20:35:41Z by kmacy >>> >>> MFC TCP hooks for conditionally tying TCP offload devices in to the TCP >>> stack. >>> >>> Revision Changes Path >>> 1.1243.2.32 +1 -0 src/sys/conf/files >>> 1.300.2.4 +9 -2 src/sys/netinet/tcp_subr.c >>> 1.130.2.9 +58 -13 src/sys/netinet/tcp_syncache.c >>> 1.1.2.1 +6 -0 src/sys/netinet/tcp_syncache.h >>> 1.163.2.4 +13 -9 src/sys/netinet/tcp_usrreq.c >> >> I am replying to the random commit in the series. >> >> Now, the kernel reports seemingly debugging information like >> no toe capability on 0xc29da000 >> no toe capability on 0xc29da000 >> no toe capability on 0xc29da000 >> no toe capability on 0xc29dfc00 >> no toe capability on 0xc29da000 >> >> Is it necessary ? >> > From kmacy at FreeBSD.org Thu Jul 31 22:43:38 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 22:43:58 2008 Subject: cvs commit: src/sys/net route.c route.h src/sys/netinet if_ether.c if_ether.h Message-ID: <200807312243.m6VMhcLQ063502@repoman.freebsd.org> kmacy 2008-07-31 22:42:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net route.c route.h sys/netinet if_ether.c if_ether.h Log: SVN rev 181075 on 2008-07-31 22:42:27Z by kmacy MFC ARP update hooks and change to arpresolve to do arp resolution without a pending mbuf to transmit Revision Changes Path 1.120.2.5 +14 -4 src/sys/net/route.c 1.65.2.3 +5 -0 src/sys/net/route.h 1.162.2.2 +17 -14 src/sys/netinet/if_ether.c 1.32.10.1 +2 -0 src/sys/netinet/if_ether.h From das at FreeBSD.org Thu Jul 31 22:43:51 2008 From: das at FreeBSD.org (David Schultz) Date: Thu Jul 31 22:44:19 2008 Subject: cvs commit: src/tools/regression/lib/msun Makefile test-invtrig.c test-invtrig.t Message-ID: <200807312243.m6VMhobi063552@repoman.freebsd.org> das 2008-07-31 22:43:38 UTC FreeBSD src repository Modified files: tools/regression/lib/msun Makefile Added files: tools/regression/lib/msun test-invtrig.c test-invtrig.t Log: SVN rev 181076 on 2008-07-31 22:43:38Z by das Add some tests for acos*(), asin*(), atan*(), and atan2*(). Revision Changes Path 1.14 +1 -1 src/tools/regression/lib/msun/Makefile 1.1 +493 -0 src/tools/regression/lib/msun/test-invtrig.c (new) 1.1 +10 -0 src/tools/regression/lib/msun/test-invtrig.t (new) From alc at FreeBSD.org Thu Jul 31 22:45:37 2008 From: alc at FreeBSD.org (Alan Cox) Date: Thu Jul 31 22:45:48 2008 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h Message-ID: <200807312245.m6VMjaKi063776@repoman.freebsd.org> alc 2008-07-31 22:45:28 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include pmap.h Log: SVN rev 181077 on 2008-07-31 22:45:28Z by alc Enhance pmap_change_attr(). Specifically, avoid 2MB page demotions, cache mode changes, and cache and TLB invalidation when some or all of the specified range is already mapped with the specified cache mode. Submitted by: Magesh Dhasayyan Revision Changes Path 1.640 +50 -21 src/sys/amd64/amd64/pmap.c 1.147 +4 -0 src/sys/amd64/include/pmap.h From kmacy at FreeBSD.org Thu Jul 31 22:47:53 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 22:48:04 2008 Subject: cvs commit: src/sys/netinet tcp_var.h Message-ID: <200807312247.m6VMlqLw063935@repoman.freebsd.org> kmacy 2008-07-31 22:47:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_var.h Log: SVN rev 181078 on 2008-07-31 22:47:36Z by kmacy make tcp_var.h independent of sockopt.h Revision Changes Path 1.157.2.5 +2 -0 src/sys/netinet/tcp_var.h From kmacy at FreeBSD.org Thu Jul 31 22:48:53 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 22:49:05 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_cpl_socket.c cxgb_ddp.c cxgb_tcp_offload.h Message-ID: <200807312248.m6VMmrkc064034@repoman.freebsd.org> kmacy 2008-07-31 22:48:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb/ulp/tom cxgb_cpl_io.c cxgb_cpl_socket.c cxgb_ddp.c cxgb_tcp_offload.h Log: SVN rev 181079 on 2008-07-31 22:48:43Z by kmacy update tom to reflect sockbuf refactoring Revision Changes Path 1.15.2.2 +3 -0 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.10.2.3 +3 -0 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c 1.4.2.2 +3 -0 src/sys/dev/cxgb/ulp/tom/cxgb_ddp.c 1.6.2.2 +0 -141 src/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h From kmacy at FreeBSD.org Thu Jul 31 22:55:28 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 22:55:40 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_config.h Message-ID: <200807312255.m6VMtO18064604@repoman.freebsd.org> kmacy 2008-07-31 22:55:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_config.h Log: SVN rev 181080 on 2008-07-31 22:55:18Z by kmacy remove unused define Revision Changes Path 1.4.2.4 +0 -1 src/sys/dev/cxgb/cxgb_config.h From kmacy at FreeBSD.org Thu Jul 31 22:57:55 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 22:58:20 2008 Subject: cvs commit: src/sys/modules/cxgb Makefile Message-ID: <200807312257.m6VMvtJU064779@repoman.freebsd.org> kmacy 2008-07-31 22:57:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules/cxgb Makefile Log: SVN rev 181082 on 2008-07-31 22:57:52Z by kmacy add TOE to the build Revision Changes Path 1.10.2.3 +2 -2 src/sys/modules/cxgb/Makefile From sam at FreeBSD.org Thu Jul 31 23:04:12 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Thu Jul 31 23:04:24 2008 Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh Message-ID: <200807312304.m6VN4Ck4066395@repoman.freebsd.org> sam 2008-07-31 23:04:00 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: SVN rev 181083 on 2008-07-31 23:04:00Z by sam unset TARGET_CPUTYPE and TARGET_BIG_ENDIAN when building the kernel to silence compiler complaints when cross-building Reviewed by: phk MFC after: 2 weeks Revision Changes Path 1.31 +6 -1 src/tools/tools/nanobsd/nanobsd.sh From kmacy at FreeBSD.org Thu Jul 31 23:15:44 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 23:15:56 2008 Subject: cvs commit: src/sys/modules Makefile src/sys/modules/rdma Makefile src/sys/modules/rdma/addr Makefile src/sys/modules/rdma/cma Makefile src/sys/modules/rdma/core Makefile src/sys/modules/rdma/iwcm Makefile src/sys/modules/rdma/krping ... Message-ID: <200807312315.m6VNFfZx067549@repoman.freebsd.org> kmacy 2008-07-31 23:15:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules Makefile Added files: (Branch: RELENG_7) sys/modules/rdma Makefile sys/modules/rdma/addr Makefile sys/modules/rdma/cma Makefile sys/modules/rdma/core Makefile sys/modules/rdma/iwcm Makefile sys/modules/rdma/krping Makefile Log: SVN rev 181084 on 2008-07-31 23:15:18Z by kmacy add kernel rdma support to the build Revision Changes Path 1.540.2.18 +3 -0 src/sys/modules/Makefile 1.1.2.1 +9 -0 src/sys/modules/rdma/Makefile (new) 1.1.2.1 +10 -0 src/sys/modules/rdma/addr/Makefile (new) 1.1.2.1 +10 -0 src/sys/modules/rdma/cma/Makefile (new) 1.1.2.1 +12 -0 src/sys/modules/rdma/core/Makefile (new) 1.1.2.1 +10 -0 src/sys/modules/rdma/iwcm/Makefile (new) 1.1.2.1 +10 -0 src/sys/modules/rdma/krping/Makefile (new) From kmacy at FreeBSD.org Thu Jul 31 23:18:38 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 23:18:44 2008 Subject: cvs commit: src/sys/kern subr_blist.c src/sys/sys blist.h src/sys/vm swap_pager.c Message-ID: <200807312318.m6VNIbae067791@repoman.freebsd.org> kmacy 2008-07-31 23:18:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern subr_blist.c sys/sys blist.h sys/vm swap_pager.c Log: SVN rev 181085 on 2008-07-31 23:18:09Z by kmacy MFC addition of malloc flag to blist so that it can be used in ithread context Revision Changes Path 1.17.18.1 +8 -7 src/sys/kern/subr_blist.c 1.9.10.1 +5 -4 src/sys/sys/blist.h 1.295.2.2 +1 -1 src/sys/vm/swap_pager.c From kmacy at FreeBSD.org Thu Jul 31 23:19:39 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Thu Jul 31 23:19:49 2008 Subject: cvs commit: src/sys/modules/cxgb Makefile Message-ID: <200807312319.m6VNJcR4067878@repoman.freebsd.org> kmacy 2008-07-31 23:19:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules/cxgb Makefile Log: SVN rev 181086 on 2008-07-31 23:19:30Z by kmacy enable iwarp driver in the build Revision Changes Path 1.10.2.4 +1 -1 src/sys/modules/cxgb/Makefile From des at FreeBSD.org Thu Jul 31 23:33:40 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Thu Jul 31 23:33:52 2008 Subject: cvs commit: src/crypto/openssh version.c Message-ID: <200807312333.m6VNXdXq068998@repoman.freebsd.org> des 2008-07-31 23:33:26 UTC FreeBSD src repository Modified files: crypto/openssh version.c Log: SVN rev 181087 on 2008-07-31 23:33:26Z by des Add missing #include for strlen() Revision Changes Path 1.6 +3 -0 src/crypto/openssh/version.c