svn commit: r260030 - head/lib/libkvm

2013-12-28 Thread Marcel Moolenaar
Author: marcel Date: Sun Dec 29 03:15:15 2013 New Revision: 260030 URL: http://svnweb.freebsd.org/changeset/base/260030 Log: Revert part of r260022: LIB32 builds were broken by it. Modified: head/lib/libkvm/Makefile Modified: head/lib/libkvm/Makefile

Re: svn commit: r260022 - head/lib/libkvm

2013-12-28 Thread Marcel Moolenaar
On Dec 28, 2013, at 7:32 PM, John-Mark Gurney j...@funkthat.com wrote: Marcel Moolenaar wrote this message on Sat, Dec 28, 2013 at 18:49 -0800: On Dec 28, 2013, at 5:08 PM, John-Mark Gurney j...@funkthat.com wrote: Marcel Moolenaar wrote this message on Sat, Dec 28, 2013 at 23:01 +

svn commit: r259959 - head/sys/ia64/ia64

2013-12-27 Thread Marcel Moolenaar
Author: marcel Date: Fri Dec 27 19:51:17 2013 New Revision: 259959 URL: http://svnweb.freebsd.org/changeset/base/259959 Log: Add the scaffolding for minidumps. They're just like physical dumps, except the chunks aren't physical memory regions but virtual memory regions. In both cases, the

svn commit: r259908 - head/sys/vm

2013-12-25 Thread Marcel Moolenaar
Author: marcel Date: Thu Dec 26 05:46:10 2013 New Revision: 259908 URL: http://svnweb.freebsd.org/changeset/base/259908 Log: For ia64, use pmap_remove_pages() and not pmap_remove(). The problem is that we don't have a good way (yet) to iterate over the mapped pages by virtual address and

svn commit: r259910 - head/lib/libkvm

2013-12-25 Thread Marcel Moolenaar
Author: marcel Date: Thu Dec 26 07:10:54 2013 New Revision: 259910 URL: http://svnweb.freebsd.org/changeset/base/259910 Log: Fix kptdir is itself virtual error, caused by having the kptdir in PBVM. While here improve errors by having them include addresses (either virtual or physical).

svn commit: r259561 - head/lib/libstand

2013-12-18 Thread Marcel Moolenaar
Author: marcel Date: Wed Dec 18 17:03:43 2013 New Revision: 259561 URL: http://svnweb.freebsd.org/changeset/base/259561 Log: Fix an inappropriate free of a non-dynamic value. While here, make the code more naive and robust: 1. When setting ev_value, also always set ev_flags appropriately

svn commit: r259590 - head/lib/libstand

2013-12-18 Thread Marcel Moolenaar
Author: marcel Date: Thu Dec 19 05:23:10 2013 New Revision: 259590 URL: http://svnweb.freebsd.org/changeset/base/259590 Log: Fix readdir for the root directory on a FAT32 file system. The root directory is like any subdirectory and as such needs to use a real cluster number. To this end,

svn commit: r259591 - head/sys/boot/ia64/efi

2013-12-18 Thread Marcel Moolenaar
Author: marcel Date: Thu Dec 19 05:28:43 2013 New Revision: 259591 URL: http://svnweb.freebsd.org/changeset/base/259591 Log: Bump the loader version to 3.2 after various dosfs fixes (in particular). Modified: head/sys/boot/ia64/efi/version Modified: head/sys/boot/ia64/efi/version

svn commit: r259539 - head/lib/libstand

2013-12-17 Thread Marcel Moolenaar
Author: marcel Date: Wed Dec 18 04:44:38 2013 New Revision: 259539 URL: http://svnweb.freebsd.org/changeset/base/259539 Log: Support long filenames. Obtained from:Juniper Networks, Inc. Modified: head/lib/libstand/dosfs.c Modified: head/lib/libstand/dosfs.c

svn commit: r259540 - head/lib/libstand

2013-12-17 Thread Marcel Moolenaar
Author: marcel Date: Wed Dec 18 04:52:30 2013 New Revision: 259540 URL: http://svnweb.freebsd.org/changeset/base/259540 Log: Clear f_rabuf after freeing the memory it points to. This prevents a possible double free. Obtained from:Juniper Networks, Inc. Modified:

svn commit: r259441 - head/sys/kern

2013-12-15 Thread Marcel Moolenaar
Author: marcel Date: Mon Dec 16 00:50:14 2013 New Revision: 259441 URL: http://svnweb.freebsd.org/changeset/base/259441 Log: Properly drain the TTY when both revoke(2) and close(2) end up closing the TTY. In such a case, ttydev_close() is called multiple times and each time, t_revokecnt is

svn commit: r259244 - head/sys/ia64/ia64

2013-12-11 Thread Marcel Moolenaar
Author: marcel Date: Thu Dec 12 03:04:00 2013 New Revision: 259244 URL: http://svnweb.freebsd.org/changeset/base/259244 Log: Allow pmap_remove_pages() to be called for physical maps not associated with the current thread. Obtained from: alc@ Modified: head/sys/ia64/ia64/pmap.c

svn commit: r259056 - head/games/fortune/fortune

2013-12-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Dec 7 01:35:18 2013 New Revision: 259056 URL: http://svnweb.freebsd.org/changeset/base/259056 Log: Fix r203922 for fortune -o: we free tpath when was_malloc is true but don't define tpath everytime we set was_malloc to true. We end up calling free() multiple times

svn commit: r259057 - head/games/fortune/fortune

2013-12-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Dec 7 02:20:22 2013 New Revision: 259057 URL: http://svnweb.freebsd.org/changeset/base/259057 Log: Remove Warning: file \%s\ unreadable. It was introduced with revision 44599 and turned less than useful ever since fortunes-o.dat got removed. Running fortunes -a is

svn commit: r258448 - head/sys/geom/part

2013-11-21 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 21 22:02:59 2013 New Revision: 258448 URL: http://svnweb.freebsd.org/changeset/base/258448 Log: Have the GPT probe return a lower priority when the MBR is not a PMBR The purpose of the PMBR is to have the disk appear in use to GPT unaware utilities (like fdisk).

svn commit: r257910 - head/sys/ia64/ia64

2013-11-09 Thread Marcel Moolenaar
Author: marcel Date: Sun Nov 10 04:22:40 2013 New Revision: 257910 URL: http://svnweb.freebsd.org/changeset/base/257910 Log: Don't enable interrupts before we call sched_throw(). Interrupts are expected to be disabled by virtue of md_spinlock_count=1. Modified:

svn commit: r257475 - head/sys/ia64/ia64

2013-10-31 Thread Marcel Moolenaar
Author: marcel Date: Thu Oct 31 22:46:03 2013 New Revision: 257475 URL: http://svnweb.freebsd.org/changeset/base/257475 Log: Respect the kern.smp.disabled tunable. When we're scanning the MADT in ia64_probe_sapics(), we also create PCPU structures for any Local SAPICs we encounter. When SMP

svn commit: r257477 - in head/sys/ia64: ia64 include

2013-10-31 Thread Marcel Moolenaar
Author: marcel Date: Thu Oct 31 23:06:04 2013 New Revision: 257477 URL: http://svnweb.freebsd.org/changeset/base/257477 Log: Purge the translation cache of APs before we unleash them. To that end, make pmap_invalidate_all() global and have it only handle the local CPU -- i.e. no rendezvous.

svn commit: r257484 - head/sys/ia64/ia64

2013-10-31 Thread Marcel Moolenaar
Author: marcel Date: Fri Nov 1 00:21:38 2013 New Revision: 257484 URL: http://svnweb.freebsd.org/changeset/base/257484 Log: The PAL_PTCE_INFO function returns the counts and strides of the outer and inner loop as 32-bit integers mux'd in 64-bit return values. Change our data types for the

svn commit: r257487 - in head/sys/ia64: ia64 include

2013-10-31 Thread Marcel Moolenaar
Author: marcel Date: Fri Nov 1 01:32:01 2013 New Revision: 257487 URL: http://svnweb.freebsd.org/changeset/base/257487 Log: Use LOG2_ID_PAGE_SIZE again for the identity mapping in regions 6 7. Make the default translation size the same as the PBVM page size to avoid inserting overlapping

svn commit: r255074 - head/sys/dev/uart

2013-08-30 Thread Marcel Moolenaar
Author: marcel Date: Fri Aug 30 15:26:45 2013 New Revision: 255074 URL: http://svnweb.freebsd.org/changeset/base/255074 Log: A final test with unmodified code has shown that a delay of 150ms is not giving us a 100% success rate. Bump the delay to 200ms as that seems to do the trick.

svn commit: r255031 - head/sys/dev/uart

2013-08-29 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 29 16:26:04 2013 New Revision: 255031 URL: http://svnweb.freebsd.org/changeset/base/255031 Log: Work-around a timing problem with the ITE IT8513E now that the core calls ns8250_bus_ipend() almost immediately after ns8250_bus_attach(). As it appears, a line break

svn commit: r255054 - stable/9/sys/kern

2013-08-29 Thread Marcel Moolenaar
Author: marcel Date: Fri Aug 30 05:36:29 2013 New Revision: 255054 URL: http://svnweb.freebsd.org/changeset/base/255054 Log: MFC r253910: Add a tunable for the default timeout. Requested by: rodrigc@, delphij@ Modified: stable/9/sys/kern/vfs_mountroot.c Directory Properties:

svn commit: r254155 - head/sys/boot/ficl

2013-08-09 Thread Marcel Moolenaar
Author: marcel Date: Fri Aug 9 19:10:56 2013 New Revision: 254155 URL: http://svnweb.freebsd.org/changeset/base/254155 Log: Fix the freaddir implementation for the stand-alone interpreter. Bug pointed out by: Jan Beich jbe...@tormail.org Modified: head/sys/boot/ficl/loader.c Modified:

Re: svn commit: r253862 - head/sys/boot/ficl

2013-08-09 Thread Marcel Moolenaar
-effect of readdir() call. It leaks memory and doesn't handle the use of freaddir with different fds interspersed. It's flawed in a different way. FYI, -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-all@freebsd.org mailing list http

svn commit: r254124 - releng/9.2/release/ia64

2013-08-08 Thread Marcel Moolenaar
Author: marcel Date: Fri Aug 9 05:27:38 2013 New Revision: 254124 URL: http://svnweb.freebsd.org/changeset/base/254124 Log: Merge r254075 from stable/9. This fixes the ISO images. Approved by: re (gjb@) Modified: releng/9.2/release/ia64/mkisoimages.sh Directory Properties:

svn commit: r254075 - stable/9/release/ia64

2013-08-07 Thread Marcel Moolenaar
Author: marcel Date: Wed Aug 7 21:51:19 2013 New Revision: 254075 URL: http://svnweb.freebsd.org/changeset/base/254075 Log: MFC r245347: Add color.4th. MFC r253919: Fix the bootable CD. Modified: stable/9/release/ia64/mkisoimages.sh Directory Properties: stable/9/release/ia64/ (props

svn commit: r254015 - in head: sbin/fdisk_pc98 sys/boot/pc98/boot2 sys/boot/pc98/libpc98 sys/geom sys/geom/part sys/sys usr.sbin/boot98cfg

2013-08-06 Thread Marcel Moolenaar
Author: marcel Date: Wed Aug 7 00:00:48 2013 New Revision: 254015 URL: http://svnweb.freebsd.org/changeset/base/254015 Log: Change sys/diskpc98.h to not redefine the same symbols that are being defined in sys/diskmbr.h. Instead give the symbols here a PC98_ prefix. This way, both

svn commit: r253938 - head/sys/geom/part

2013-08-04 Thread Marcel Moolenaar
Author: marcel Date: Sun Aug 4 21:00:22 2013 New Revision: 253938 URL: http://svnweb.freebsd.org/changeset/base/253938 Log: Remove inclusion of sys/diskmbr.h. We have no business knowing anything related to MBR in this file. Modified: head/sys/geom/part/g_part.c

svn commit: r253919 - head/release/ia64

2013-08-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Aug 3 20:14:29 2013 New Revision: 253919 URL: http://svnweb.freebsd.org/changeset/base/253919 Log: Fix the bootable CD: o We need wait a bit before attempting the root mount. The CD drives on HP machines (typical) go through the management controller so

svn commit: r253910 - head/sys/kern

2013-08-02 Thread Marcel Moolenaar
Author: marcel Date: Sat Aug 3 04:25:25 2013 New Revision: 253910 URL: http://svnweb.freebsd.org/changeset/base/253910 Log: Add a tunable for the default timeout. Modified: head/sys/kern/vfs_mountroot.c Modified: head/sys/kern/vfs_mountroot.c

svn commit: r253862 - head/sys/boot/ficl

2013-08-01 Thread Marcel Moolenaar
Author: marcel Date: Thu Aug 1 18:06:58 2013 New Revision: 253862 URL: http://svnweb.freebsd.org/changeset/base/253862 Log: Fix the build of the testmain target. This target compiles a Forth interpreter that can be run on the system and as such cannot be compiled against libbstand. On the

svn commit: r253654 - head/sys/dev/uart

2013-07-25 Thread Marcel Moolenaar
Author: marcel Date: Thu Jul 25 16:57:27 2013 New Revision: 253654 URL: http://svnweb.freebsd.org/changeset/base/253654 Log: Set the device description after we call uart_probe(). In uart_probe() we call device-specific probe functions, which can (and typically will) set the device

svn commit: r253615 - head/sys/kern

2013-07-24 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 24 16:22:27 2013 New Revision: 253615 URL: http://svnweb.freebsd.org/changeset/base/253615 Log: In uuid_ether_add(), avoid false positives due to the limited type used to hold the sum of the bytes of the MAC address. While here, rename the variable that holds

svn commit: r253617 - head/sys/kern

2013-07-24 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 24 18:13:43 2013 New Revision: 253617 URL: http://svnweb.freebsd.org/changeset/base/253617 Log: Further restrict the MAC addresses that we use for UUID generation to those that are universally administered. While it is possible to add locally administered MAC

svn commit: r253590 - in head/sys: kern net sys

2013-07-23 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 24 04:24:21 2013 New Revision: 253590 URL: http://svnweb.freebsd.org/changeset/base/253590 Log: Decouple the UUID generator from network interfaces by having MAC addresses added to the UUID generator using uuid_ether_add(). The UUID generator keeps an arbitrary

svn commit: r253559 - head/sys/ia64/ia64

2013-07-22 Thread Marcel Moolenaar
Author: marcel Date: Tue Jul 23 02:38:23 2013 New Revision: 253559 URL: http://svnweb.freebsd.org/changeset/base/253559 Log: In ia64_mca_init(), don't limit the allocation of the info block to fall within the first 256MB of memory. The origin/reason for that limitation is not known, but

svn commit: r253560 - head/sys/ia64/pci

2013-07-22 Thread Marcel Moolenaar
Author: marcel Date: Tue Jul 23 03:03:17 2013 New Revision: 253560 URL: http://svnweb.freebsd.org/changeset/base/253560 Log: In pci_cfgregread() and pci_cfgregwrite(), multiplex the domain and bus number into the bus argument. The bus number occupies the least significant 8 bits. The PCI

Re: svn commit: r253161 - head/sys/dev/uart

2013-07-11 Thread Marcel Moolenaar
On Jul 11, 2013, at 6:41 AM, John Baldwin j...@freebsd.org wrote: On Wednesday, July 10, 2013 3:59:40 pm Marcel Moolenaar wrote: On Jul 10, 2013, at 11:09 AM, John Baldwin j...@freebsd.org wrote: On Wednesday, July 10, 2013 2:05:43 pm John Baldwin wrote: On Wednesday, July 10, 2013 1:42

svn commit: r253158 - in head/sys: kern sys

2013-07-10 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 10 15:35:25 2013 New Revision: 253158 URL: http://svnweb.freebsd.org/changeset/base/253158 Log: Add vfs_mounted and vfs_unmounted events so that components can be informed about mount and unmount events. This is used by Juniper to implement a more optimal

svn commit: r253161 - head/sys/dev/uart

2013-07-10 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 10 17:42:20 2013 New Revision: 253161 URL: http://svnweb.freebsd.org/changeset/base/253161 Log: Protect against broken hardware. In this particular case, protect against H/W not de-asserting the interrupt at all. On x86, and because of the following conditions,

Re: svn commit: r253161 - head/sys/dev/uart

2013-07-10 Thread Marcel Moolenaar
On Jul 10, 2013, at 11:09 AM, John Baldwin j...@freebsd.org wrote: On Wednesday, July 10, 2013 2:05:43 pm John Baldwin wrote: On Wednesday, July 10, 2013 1:42:20 pm Marcel Moolenaar wrote: Author: marcel Date: Wed Jul 10 17:42:20 2013 New Revision: 253161 URL: http://svnweb.freebsd.org

svn commit: r253172 - head/sys/boot/ficl

2013-07-10 Thread Marcel Moolenaar
Author: marcel Date: Wed Jul 10 21:37:50 2013 New Revision: 253172 URL: http://svnweb.freebsd.org/changeset/base/253172 Log: Add 2 builtin words for working with directories: isdir? ( fd -- bool ) freaddir( fd -- ptr len TRUE | FALSE ) The 'isdir?' word

svn commit: r251604 - in head/sys: kern sys

2013-06-10 Thread Marcel Moolenaar
Author: marcel Date: Mon Jun 10 15:22:27 2013 New Revision: 251604 URL: http://svnweb.freebsd.org/changeset/base/251604 Log: Revert r251590. It unexpectedly broke the build and there were some questions on locking. As part of commit-bit grooming, I'd like Steve to handle this, but can't

svn commit: r251587 - head/sys/geom/part

2013-06-09 Thread Marcel Moolenaar
Author: marcel Date: Sun Jun 9 23:12:43 2013 New Revision: 251587 URL: http://svnweb.freebsd.org/changeset/base/251587 Log: Remove stub implementation. Modified: head/sys/geom/part/g_part_ldm.c Modified: head/sys/geom/part/g_part_ldm.c

svn commit: r251588 - in head: sbin/geom/class/part sys/geom/part

2013-06-09 Thread Marcel Moolenaar
Author: marcel Date: Sun Jun 9 23:34:26 2013 New Revision: 251588 URL: http://svnweb.freebsd.org/changeset/base/251588 Log: Change the set and unset ctlreqs by making the index argument optional. This allows setting attributes on tables. One simply does not provide an index in that case.

svn commit: r251590 - in head/sys: kern sys

2013-06-09 Thread Marcel Moolenaar
Author: marcel Date: Sun Jun 9 23:51:26 2013 New Revision: 251590 URL: http://svnweb.freebsd.org/changeset/base/251590 Log: Add vfs_mounted and vfs_unmounted events so that components can be informed about mount and unmount events. This is used by Juniper to implement a more optimal

Re: svn commit: r250991 - in head: contrib/jemalloc/include/jemalloc include lib/libc/stdlib/jemalloc

2013-06-03 Thread Marcel Moolenaar
On Jun 3, 2013, at 6:25 AM, Dimitry Andric d...@freebsd.org wrote: On 2013-05-25 20:59, Marcel Moolenaar wrote: Author: marcel Date: Sat May 25 18:59:11 2013 New Revision: 250991 URL: http://svnweb.freebsd.org/changeset/base/250991 Log: Make the malloc(3) family of functions weak

Re: svn commit: r250991 - in head: contrib/jemalloc/include/jemalloc include lib/libc/stdlib/jemalloc

2013-06-03 Thread Marcel Moolenaar
to see if malloc() or friends is defined as a global symbol to havea protential problem. With a bit of scripting we can come up with a list of candidates. We can go from there... -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-all@freebsd.org mailing

svn commit: r251188 - head/contrib/telnet/telnetd

2013-05-31 Thread Marcel Moolenaar
Author: marcel Date: Fri May 31 17:30:12 2013 New Revision: 251188 URL: http://svnweb.freebsd.org/changeset/base/251188 Log: Fix automatic login, broken by revision 69825 (12 years, 5 months ago). The automatic login feature is described as follows: The USER environment variable holds the

svn commit: r251103 - head/sys/mips/mips

2013-05-29 Thread Marcel Moolenaar
Author: marcel Date: Wed May 29 16:51:03 2013 New Revision: 251103 URL: http://svnweb.freebsd.org/changeset/base/251103 Log: Don't assign the copyright to the FreeBSD foundation for the years this file is in FreeBSD. There's formality to this that hasn't happened and Juniper is perfectly

svn commit: r251108 - in head/contrib/atf/atf-c++: . detail

2013-05-29 Thread Marcel Moolenaar
Author: marcel Date: Wed May 29 19:41:36 2013 New Revision: 251108 URL: http://svnweb.freebsd.org/changeset/base/251108 Log: Modify atf::fs::path::get_process_helpers_path API to properly handle pathing with detail/ tests. Based on patch pushed upstream to ATF project. Obtained from:

svn commit: r251013 - head/sys/dev/aacraid

2013-05-26 Thread Marcel Moolenaar
Author: marcel Date: Sun May 26 22:11:13 2013 New Revision: 251013 URL: http://svnweb.freebsd.org/changeset/base/251013 Log: Unbreak ia64 tinderbox: 64-bit support was made conditional upon __amd64__, and thus limited. Eliminate 2 trivial conditionals by casting the 64-bit integral, holding

svn commit: r250991 - in head: contrib/jemalloc/include/jemalloc include lib/libc/stdlib/jemalloc

2013-05-25 Thread Marcel Moolenaar
Author: marcel Date: Sat May 25 18:59:11 2013 New Revision: 250991 URL: http://svnweb.freebsd.org/changeset/base/250991 Log: Make the malloc(3) family of functions weak and make their non-weak implementations visible for use by applications. The functions $F that are now weak symbols are:

svn commit: r250969 - head

2013-05-24 Thread Marcel Moolenaar
Author: marcel Date: Fri May 24 15:53:13 2013 New Revision: 250969 URL: http://svnweb.freebsd.org/changeset/base/250969 Log: Fix building on slightly older -current and stable systems after the switch to bmake. The rescue bits are built via crunchgen, which didn't respect the MAKE

svn commit: r250940 - head/sys/mips/mips

2013-05-23 Thread Marcel Moolenaar
Author: marcel Date: Thu May 23 19:47:37 2013 New Revision: 250940 URL: http://svnweb.freebsd.org/changeset/base/250940 Log: Change the copyright notice to a standard BSD 2-clause license and assign ownership to the FreeBSD foundation for the years this file has been in the FreeBSD

svn commit: r250860 - head/gnu/usr.bin/diff

2013-05-21 Thread Marcel Moolenaar
Author: marcel Date: Tue May 21 17:28:19 2013 New Revision: 250860 URL: http://svnweb.freebsd.org/changeset/base/250860 Log: Don't look for headers outside of the source or object directories. In particular, don't use DESTDIR. Such creates an unnecessary dependency on the build machine.

svn commit: r250861 - head/gnu/usr.bin/grep

2013-05-21 Thread Marcel Moolenaar
Author: marcel Date: Tue May 21 17:30:27 2013 New Revision: 250861 URL: http://svnweb.freebsd.org/changeset/base/250861 Log: Don't look for headers outside of the source or object directories. In particular, don't use DESTDIR. Such creates an unnecessary dependency on the build machine.

svn commit: r250863 - head/lib/csu

2013-05-21 Thread Marcel Moolenaar
Author: marcel Date: Tue May 21 17:47:53 2013 New Revision: 250863 URL: http://svnweb.freebsd.org/changeset/base/250863 Log: Add a makefle that recurses into the right architecture-specific sub-directory. This to allow simpler logic outside of the csu directory. Obtained from:

svn commit: r250864 - head/sys/powerpc/include

2013-05-21 Thread Marcel Moolenaar
Author: marcel Date: Tue May 21 18:00:47 2013 New Revision: 250864 URL: http://svnweb.freebsd.org/changeset/base/250864 Log: Fix the PowerPC Book-E register definitions used by the remote GDB protocol. Obtained from:Juniper Networks, Inc. Modified:

svn commit: r250840 - in head/sys: amd64/amd64 amd64/include conf dev/fdt dev/uart i386/i386 i386/include x86/include x86/x86

2013-05-20 Thread Marcel Moolenaar
Author: marcel Date: Tue May 21 03:05:49 2013 New Revision: 250840 URL: http://svnweb.freebsd.org/changeset/base/250840 Log: Add basic support for FDT to i386 amd64. This change includes: 1. Common headers for fdt.h and ofw_machdep.h under x86/include with indirections under

svn commit: r250605 - head/usr.sbin/makefs

2013-05-13 Thread Marcel Moolenaar
Author: marcel Date: Mon May 13 18:34:33 2013 New Revision: 250605 URL: http://svnweb.freebsd.org/changeset/base/250605 Log: Set st_nlink in the stat structure within the inode to 1 as well. The cd9660 file system uses that field for the link count and it was 0. This impacts pwd_mkdb(8) as

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-10 Thread Marcel Moolenaar
the grunt work on that in due time and rip out my hack at the same time. -- Marcel Moolenaar mar...@xcllnt.net ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-10 Thread Marcel Moolenaar
On May 10, 2013, at 9:11 AM, John Baldwin j...@freebsd.org wrote: On Friday, May 10, 2013 11:46:54 am Marcel Moolenaar wrote: 2) vnode locks from a local filesystem that report a LOR with a devfs vnode. Typical reports are either ufs - devfs or in some cases ufs - devfs - ufs

svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Marcel Moolenaar
Author: marcel Date: Thu May 9 16:28:18 2013 New Revision: 250411 URL: http://svnweb.freebsd.org/changeset/base/250411 Log: Add option WITNESS_NO_VNODE to suppress printing LORs between VNODE locks. To support this, VNODE locks are created with the LK_IS_VNODE flag. This flag is propagated

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-09 Thread Marcel Moolenaar
On May 9, 2013, at 9:46 AM, Attilio Rao atti...@freebsd.org wrote: On Thu, May 9, 2013 at 6:28 PM, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Thu May 9 16:28:18 2013 New Revision: 250411 URL: http://svnweb.freebsd.org/changeset/base/250411 Log: Add option

svn commit: r247611 - head/lib/libstand

2013-03-01 Thread Marcel Moolenaar
Author: marcel Date: Sat Mar 2 05:03:36 2013 New Revision: 247611 URL: http://svnweb.freebsd.org/changeset/base/247611 Log: Fix nandfs support by providing the same crc32 function as is used in newfs_nandfs. In libstand we get crc32 from libz. The polynomial is not the same as used for

svn commit: r247612 - head/lib/libstand

2013-03-01 Thread Marcel Moolenaar
Author: marcel Date: Sat Mar 2 05:07:51 2013 New Revision: 247612 URL: http://svnweb.freebsd.org/changeset/base/247612 Log: Fix warnings (control reaches end of non-void function). Modified: head/lib/libstand/nandfs.c Modified: head/lib/libstand/nandfs.c

svn commit: r247613 - head/lib/libstand

2013-03-01 Thread Marcel Moolenaar
Author: marcel Date: Sat Mar 2 05:28:55 2013 New Revision: 247613 URL: http://svnweb.freebsd.org/changeset/base/247613 Log: Make this WARNS=9 clean on i386 w/ clang. Modified: head/lib/libstand/nandfs.c Modified: head/lib/libstand/nandfs.c

svn commit: r247302 - stable/9/sys/ia64/ia64

2013-02-25 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 26 03:39:15 2013 New Revision: 247302 URL: http://svnweb.freebsd.org/changeset/base/247302 Log: MFC r239379: Use pmap_kextract(x) rather than pmap_extract(kernel_pmap, x). Modified: stable/9/sys/ia64/ia64/mem.c Directory Properties: stable/9/sys/ (props

svn commit: r247303 - stable/9/sys/ia64/ia64

2013-02-25 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 26 03:46:35 2013 New Revision: 247303 URL: http://svnweb.freebsd.org/changeset/base/247303 Log: MFC r246882: Return EFAULT when the address is not a kernel virtual address. Modified: stable/9/sys/ia64/ia64/mem.c Directory Properties: stable/9/sys/ (props

svn commit: r247251 - in head/sys/ia64: ia64 include

2013-02-24 Thread Marcel Moolenaar
Author: marcel Date: Mon Feb 25 02:41:38 2013 New Revision: 247251 URL: http://svnweb.freebsd.org/changeset/base/247251 Log: kernacc() expects all KVAs to be covered in the kernel map. With the introduction of the PBVM, this stopped being the case. Redefine the VM parameters so that the

svn commit: r247197 - head/sys/ia64/conf

2013-02-23 Thread Marcel Moolenaar
Author: marcel Date: Sat Feb 23 19:27:53 2013 New Revision: 247197 URL: http://svnweb.freebsd.org/changeset/base/247197 Log: Enable PREEMPTION by default now that PR 147501 has been fixed. Modified: head/sys/ia64/conf/GENERIC Modified: head/sys/ia64/conf/GENERIC

svn commit: r247018 - stable/9/sys/ia64/ia64

2013-02-19 Thread Marcel Moolenaar
Author: marcel Date: Wed Feb 20 03:59:45 2013 New Revision: 247018 URL: http://svnweb.freebsd.org/changeset/base/247018 Log: MFC r246890: Close a race relating to setting the PCPU pointer (r13). Modified: stable/9/sys/ia64/ia64/syscall.S Directory Properties: stable/9/sys/ (props

svn commit: r246937 - stable/9/sys/ia64/ia64

2013-02-17 Thread Marcel Moolenaar
Author: marcel Date: Mon Feb 18 05:05:01 2013 New Revision: 246937 URL: http://svnweb.freebsd.org/changeset/base/246937 Log: MFC r246715: Eliminate the PC_CURTHREAD symbol and load the current thread's thread structure pointer atomically from r13 (the pcpu pointer) for the current

svn commit: r246882 - head/sys/ia64/ia64

2013-02-16 Thread Marcel Moolenaar
Author: marcel Date: Sat Feb 16 21:46:27 2013 New Revision: 246882 URL: http://svnweb.freebsd.org/changeset/base/246882 Log: Return EFAULT when the address is not a kernel virtual address. Modified: head/sys/ia64/ia64/mem.c Modified: head/sys/ia64/ia64/mem.c

svn commit: r246890 - head/sys/ia64/ia64

2013-02-16 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 17 00:51:34 2013 New Revision: 246890 URL: http://svnweb.freebsd.org/changeset/base/246890 Log: Close a race relating to setting the PCPU pointer (r13). Register r13 points to the TLS in user space and points to the PCPU structure in the kernel. The race is the

svn commit: r246893 - head/gnu/usr.bin/gdb/kgdb

2013-02-16 Thread Marcel Moolenaar
Author: marcel Date: Sun Feb 17 02:15:19 2013 New Revision: 246893 URL: http://svnweb.freebsd.org/changeset/base/246893 Log: In kthr.c, obtain the address of the PCB for threads that were running on a core, when the core was stopped, by calling kgdb_trgt_core_pcb(). This has 2 advantages:

svn commit: r246712 - head/sys/ia64/ia64

2013-02-12 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 12 16:51:43 2013 New Revision: 246712 URL: http://svnweb.freebsd.org/changeset/base/246712 Log: Now that we actually use more memory descriptors, make sure to dump them as well. Modified: head/sys/ia64/ia64/dump_machdep.c Modified:

svn commit: r246714 - head/sys/ia64/include

2013-02-12 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 12 17:24:41 2013 New Revision: 246714 URL: http://svnweb.freebsd.org/changeset/base/246714 Log: Eliminate padding by moving 'narg' next to 'code'. Both are 32-bit entities in the syscall_args structure that otherwise has 64-bit only fields. Modified:

svn commit: r246715 - head/sys/ia64/ia64

2013-02-12 Thread Marcel Moolenaar
Author: marcel Date: Tue Feb 12 17:38:35 2013 New Revision: 246715 URL: http://svnweb.freebsd.org/changeset/base/246715 Log: Eliminate the PC_CURTHREAD symbol and load the current thread's thread structure pointer atomically from r13 (the pcpu pointer) for the current CPU/core. Add a

svn commit: r246496 - svnadmin/conf

2013-02-07 Thread Marcel Moolenaar
Author: marcel Date: Thu Feb 7 19:09:10 2013 New Revision: 246496 URL: http://svnweb.freebsd.org/changeset/base/246496 Log: Unleash sjg@. He's been an excellent mentee. Have fun Simon. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

svn commit: r245347 - head/release/ia64

2013-01-12 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 12 23:44:13 2013 New Revision: 245347 URL: http://svnweb.freebsd.org/changeset/base/245347 Log: Add now missing color.4th. Modified: head/release/ia64/mkisoimages.sh Modified: head/release/ia64/mkisoimages.sh

Re: svn commit: r243779 - head/lib/libc/gen

2012-12-02 Thread Marcel Moolenaar
On Dec 2, 2012, at 11:25 AM, Maxim Konovalov maxim.konova...@gmail.com wrote: Hi Marcel, On Sat, 1 Dec 2012, 21:26-, Marcel Moolenaar wrote: Author: marcel Date: Sat Dec 1 21:26:46 2012 New Revision: 243779 URL: http://svnweb.freebsd.org/changeset/base/243779 Log: Protect

svn commit: r243759 - head/lib/libc/gen

2012-12-01 Thread Marcel Moolenaar
Author: marcel Date: Sat Dec 1 17:50:39 2012 New Revision: 243759 URL: http://svnweb.freebsd.org/changeset/base/243759 Log: In globextend(), take advantage of the fact that realloc(NULL, size) is equivalent to malloc(size). This eliminates the conditional expression used for calling either

svn commit: r243758 - head/lib/libc/gen

2012-12-01 Thread Marcel Moolenaar
Author: marcel Date: Sat Dec 1 17:44:06 2012 New Revision: 243758 URL: http://svnweb.freebsd.org/changeset/base/243758 Log: In globextend() when the pathv vector cannot be (re-)allocated, don't free and clear the gl_pathv pointer in the glob_t structure. Such breaks the invariant of the

svn commit: r243779 - head/lib/libc/gen

2012-12-01 Thread Marcel Moolenaar
Author: marcel Date: Sat Dec 1 21:26:46 2012 New Revision: 243779 URL: http://svnweb.freebsd.org/changeset/base/243779 Log: Protect against DoS attacks, such as being described in CVE-2010-2632. The changes were derived from what has been committed to NetBSD, with modifications. These are:

svn commit: r243664 - head/sys/conf

2012-11-28 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 29 03:48:39 2012 New Revision: 243664 URL: http://svnweb.freebsd.org/changeset/base/243664 Log: Fix LINT build for arm: NOTES defines LDFLAGS by way of a make option but LDFLAGS is not (yet) passed on to the linker (via SYSTEM_LD et al). Do so now. As such, any

svn commit: r243575 - head/sys/arm/at91

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 26 23:30:47 2012 New Revision: 243575 URL: http://svnweb.freebsd.org/changeset/base/243575 Log: Unbreak building a kernel with EHCI: there's no ehci_atmelarm.c. Modified: head/sys/arm/at91/files.at91 Modified: head/sys/arm/at91/files.at91

svn commit: r243576 - head/sys/arm/include

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 00:41:39 2012 New Revision: 243576 URL: http://svnweb.freebsd.org/changeset/base/243576 Log: Don't define intr_disable and intr_restore as macros. The macros interfere with structure fields of the same name in drivers, like the intr_disable function pointer

svn commit: r243578 - head/sys/arm/arm

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:05:07 2012 New Revision: 243578 URL: http://svnweb.freebsd.org/changeset/base/243578 Log: Remove print_kernel_section_addr(). All statements in that function expand to uncompilable code when the kernel configuration contains options DEBUG, such as it is

svn commit: r243579 - head/sys/arm/arm

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:08:05 2012 New Revision: 243579 URL: http://svnweb.freebsd.org/changeset/base/243579 Log: Don't include arm/xscale/i8134x/i81342reg.h when we're compiling LINT. The definitions in i81342reg.h clash with those in i80321reg.h. Modified:

svn commit: r243580 - head/sys/arm/mv

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:10:58 2012 New Revision: 243580 URL: http://svnweb.freebsd.org/changeset/base/243580 Log: Allow building LINT by defining both SAMPLE_AT_RESET on the one hand and SAMPLE_AT_RESET_{LO|HI} on the other. It doesn't matter which values they take, as long as

svn commit: r243581 - head/sys/arm/conf

2012-11-26 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 27 01:17:50 2012 New Revision: 243581 URL: http://svnweb.freebsd.org/changeset/base/243581 Log: Add NOTES and Makefile in order to generate LINT. NOTES contains pretty much all the union of all the kernel configuration files, including all the CPU types, Marvell

svn commit: r243322 - head

2012-11-19 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 20 03:21:26 2012 New Revision: 243322 URL: http://svnweb.freebsd.org/changeset/base/243322 Log: Unbreak amd64 cross-build where amd64 is the target. While clang may be installed as cc and we don't need to build gcc as a cross-tools, we still build gcc and thus

svn commit: r243165 - head/share/mk

2012-11-16 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 17 00:07:28 2012 New Revision: 243165 URL: http://svnweb.freebsd.org/changeset/base/243165 Log: Install bsd.progs.mk, needed by bsd.test.mk and thus by atf.test.mk. Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile

svn commit: r243050 - head/contrib/atf/doc

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:24:17 2012 New Revision: 243050 URL: http://svnweb.freebsd.org/changeset/base/243050 Log: Remove redundant text describing the cleanup routine. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=43 Submitted by: Garrett Cooper

svn commit: r243051 - head/contrib/atf/atf-sh

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:29:12 2012 New Revision: 243051 URL: http://svnweb.freebsd.org/changeset/base/243051 Log: Fix typos in description for exp{err,out}_mismatch_head. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=44 Submitted by: Garrett Cooper

svn commit: r243052 - head/contrib/atf/atf-run

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:32:55 2012 New Revision: 243052 URL: http://svnweb.freebsd.org/changeset/base/243052 Log: Add support for DragonFly and FreeBSD. Upstreamed: http://code.google.com/p/kyua/issues/detail?id=45 Submitted by: Garrett Cooper yaneg...@gmail.com

svn commit: r243053 - head/tools/build/mk

2012-11-14 Thread Marcel Moolenaar
Author: marcel Date: Thu Nov 15 04:39:23 2012 New Revision: 243053 URL: http://svnweb.freebsd.org/changeset/base/243053 Log: Don't install atf.test.mk if MK_ATF == no. Submitted by: Garrett Cooper yaneg...@gmail.com Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified:

<    1   2   3   4   5   6   7   8   9   10   >