svn commit: r187143 - head/sys/boot/forth

2009-01-13 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 13 12:28:14 2009 New Revision: 187143 URL: http://svn.freebsd.org/changeset/base/187143 Log: comment out some debugging messages that slipped in by mistake. MFC after:3 days Modified: head/sys/boot/forth/support.4th Modified:

svn commit: r187144 - in head/sys: amd64/conf i386/conf

2009-01-13 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 13 12:35:33 2009 New Revision: 187144 URL: http://svn.freebsd.org/changeset/base/187144 Log: Documentation-only change: - add a reference to the config(5) manpage; - hopefully clarify the format of the 'env FILENAME' directive. I am putting these notes in

svn commit: r187145 - head/bin/kenv

2009-01-13 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 13 12:37:02 2009 New Revision: 187145 URL: http://svn.freebsd.org/changeset/base/187145 Log: fix typo Submitted by: Colin Percival Modified: head/bin/kenv/kenv.1 Modified: head/bin/kenv/kenv.1

Re: svn commit: r187159 - head/bin/kenv

2009-01-13 Thread Luigi Rizzo
On Tue, Jan 13, 2009 at 06:25:56PM +, Maxim Konovalov wrote: Author: maxim Date: Tue Jan 13 18:25:56 2009 New Revision: 187159 URL: http://svn.freebsd.org/changeset/base/187159 Log: o Fix a typo. Bump .Dd for the previous delta. thanks for the fix. BTW what's the policy for dates

svn commit: r187197 - head/sys/boot/common

2009-01-13 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 13 22:15:47 2009 New Revision: 187197 URL: http://svn.freebsd.org/changeset/base/187197 Log: remove a file which is, as far as I can tell, totally unused. Deleted: head/sys/boot/common/load.c ___ svn-src-all@freebsd.org

svn commit: r187200 - stable/7/lib/libstand

2009-01-13 Thread Luigi Rizzo
); + while (cp ep) { tag = *cp++; size = *cp++; @@ -412,3 +427,316 @@ vend_cmu(cp) } } #endif + +#ifdef DHCP_ENV +/* + * Parse DHCP options and store them into kenv variables. + * Original code from Danny Braniss, modifications by Luigi Rizzo

svn commit: r187201 - stable/7/usr.sbin/kldxref

2009-01-13 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 13 23:02:54 2009 New Revision: 187201 URL: http://svn.freebsd.org/changeset/base/187201 Log: MFC: rev. 185475, 186824, 186826, 186827 various cleanups including: + check a possible buffer overflow when creating a temp file, submitted by Christoph Mallon

svn commit: r186824 - head/usr.sbin/kldxref

2009-01-06 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 6 14:10:30 2009 New Revision: 186824 URL: http://svn.freebsd.org/changeset/base/186824 Log: correct description of how a string is stored, fix a few typos and reference the kernel file which processes this info. All in all, the content of this file should be

svn commit: r186826 - head/usr.sbin/kldxref

2009-01-06 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 6 14:21:17 2009 New Revision: 186826 URL: http://svn.freebsd.org/changeset/base/186826 Log: fix a couple of innocuous compiler warnings MFC after:3 days Modified: head/usr.sbin/kldxref/ef_i386.c head/usr.sbin/kldxref/ef_obj.c Modified:

svn commit: r186827 - head/usr.sbin/kldxref

2009-01-06 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 6 14:23:38 2009 New Revision: 186827 URL: http://svn.freebsd.org/changeset/base/186827 Log: various cleanups including: + check a possible buffer overflow when creating a temp file, submitted by Christoph Mallon + remove stale struct definitions + clarify

svn commit: r186829 - head/sys/i386/conf

2009-01-06 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 6 15:10:26 2009 New Revision: 186829 URL: http://svn.freebsd.org/changeset/base/186829 Log: Add a reference to the env kernel config option in the GENERIC file, as this is very useful e.g. in diskless configurations and barely documented anywhere else. MFC

Re: svn: head/sys/i386/conf

2009-01-06 Thread Luigi Rizzo
On Tue, Jan 06, 2009 at 02:02:17PM -0800, Maxim Sobolev wrote: Luigi Rizzo wrote: +# through getenv() (or kenv(1) in userland). The format of the file +# is 'variable=value' , same as for hints files. What do you think about extending comment with the following: hints files - hints

Re: svn: head/sys/i386/conf

2009-01-06 Thread Luigi Rizzo
On Tue, Jan 06, 2009 at 04:08:59PM -0800, Maxim Sobolev wrote: Luigi Rizzo wrote: On Tue, Jan 06, 2009 at 02:02:17PM -0800, Maxim Sobolev wrote: Luigi Rizzo wrote: +# through getenv() (or kenv(1) in userland). The format of the file +# is 'variable=value' , same as for hints files. What do

Re: svn commit: r186789 - head/sys/boot/forth

2009-01-06 Thread Luigi Rizzo
On Tue, Jan 06, 2009 at 07:04:25PM +, Bjoern A. Zeeb wrote: On Mon, 5 Jan 2009, Luigi Rizzo wrote: Author: luigi Date: Mon Jan 5 20:09:54 2009 New Revision: 186789 URL: http://svn.freebsd.org/changeset/base/186789 Log: This patch introduces a number of simplifications to the Forth

svn commit: r186789 - head/sys/boot/forth

2009-01-05 Thread Luigi Rizzo
Author: luigi Date: Mon Jan 5 20:09:54 2009 New Revision: 186789 URL: http://svn.freebsd.org/changeset/base/186789 Log: This patch introduces a number of simplifications to the Forth functions used in the bootloader. The goal is to make the code more readable and smaller (especially

Re: svn commit: r186502 - head/usr.bin/make

2009-01-05 Thread Luigi Rizzo
On Mon, Jan 05, 2009 at 02:46:24PM +0100, Dag-Erling Sm??rgrav wrote: Luigi Rizzo lu...@freebsd.org writes: Log: Clarify the behaviour of conditionals when dealing with comparisons. In particular, point out that string comparison can only use != and == (how weird, given

svn commit: r186799 - head/lib/libstand

2009-01-05 Thread Luigi Rizzo
Author: luigi Date: Mon Jan 5 23:25:35 2009 New Revision: 186799 URL: http://svn.freebsd.org/changeset/base/186799 Log: put a prefix on dhcp options to avoid clobbering, even by mistake, existing environment variables. MFC after:2 weeks Modified: head/lib/libstand/bootp.c

svn commit: r186651 - head/sys/dev/usb

2008-12-31 Thread Luigi Rizzo
Author: luigi Date: Wed Dec 31 14:25:14 2008 New Revision: 186651 URL: http://svn.freebsd.org/changeset/base/186651 Log: add some USB scanner IDs for recent Epson multifunction devices. Add support to uscanner.c for known-working devices (the same should be done for uscanner2.c).

svn commit: r186598 - head/sys/boot/i386/boot0

2008-12-30 Thread Luigi Rizzo
Author: luigi Date: Tue Dec 30 09:40:50 2008 New Revision: 186598 URL: http://svn.freebsd.org/changeset/base/186598 Log: A number of small changes to make the 'save choice to disk' safer, and re-enable it as default. In particular: + re-enable the 'update' flag in the Makefile (of

svn commit: r186502 - head/usr.bin/make

2008-12-26 Thread Luigi Rizzo
Author: luigi Date: Fri Dec 26 22:31:45 2008 New Revision: 186502 URL: http://svn.freebsd.org/changeset/base/186502 Log: Clarify the behaviour of conditionals when dealing with comparisons. In particular, point out that string comparison can only use != and == (how weird, given that the

svn commit: r185746 - head/sys/boot/forth

2008-12-07 Thread Luigi Rizzo
Author: luigi Date: Sun Dec 7 19:42:20 2008 New Revision: 185746 URL: http://svn.freebsd.org/changeset/base/185746 Log: PROBLEM: putting in a loader config file a line of the form loader_conf_files=foo bar baz should cause loading the files listed, and then resume with the

svn commit: r185562 - head/sys/boot/i386/boot0

2008-12-02 Thread Luigi Rizzo
+1,5 @@ /* + * Copyright (c) 2008 Luigi Rizzo (mostly documentation) * Copyright (c) 2002 Bruce M. Simpson * Copyright (c) 1998 Robert Nordier * All rights reserved. @@ -16,50 +17,158 @@ * $FreeBSD$ */ -/* A 512-byte boot manager. */ -#ifdef SIO -/* ... using a serial console on COM1

svn commit: r185475 - head/usr.sbin/kldxref

2008-11-30 Thread Luigi Rizzo
Author: luigi Date: Sun Nov 30 14:20:08 2008 New Revision: 185475 URL: http://svn.freebsd.org/changeset/base/185475 Log: Make the linker.hints file have mode 644 instead of 600. There is nothing secret in the file, and the missing read permission breaks diskless operation. MFC after:

svn commit: r185458 - stable/7/sys/boot/i386/boot0

2008-11-29 Thread Luigi Rizzo
Author: luigi Date: Sun Nov 30 00:00:02 2008 New Revision: 185458 URL: http://svn.freebsd.org/changeset/base/185458 Log: MFC: pass the correct value in %si to the next stage boot Approved by: re@ Modified: stable/7/sys/boot/i386/boot0/boot0.S Modified:

svn commit: r185132 - head/sys/boot/common

2008-11-20 Thread Luigi Rizzo
Author: luigi Date: Thu Nov 20 14:57:09 2008 New Revision: 185132 URL: http://svn.freebsd.org/changeset/base/185132 Log: As reported in kern/118222, pxeboot in RELENG7 (and presumably above) exhibits some misbehaviours on machines with AMD64 CPUs, which at least in some cases I have tracked

<    2   3   4   5   6   7