Re: CVS commit: src/sys/arch/i386/stand/boot

2011-08-22 Thread Paul Goyette

Module Name:src
Committed By:   mrg
Date:   Mon Aug 22 09:43:08 UTC 2011

Modified Files:
src/sys/arch/i386/stand/boot: Makefile.boot

Log Message:
disable mmx/sse here too.  hopefully fixes amd64 /boot issues.
certainly changes the output in ways that gcc 4.1 doesn't.


Confirmed - this has fixed the problem with anita on amd64 - my test-bed 
has completed its first successful pass in more than two weeks!


Thanks!


-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |  | pgoyette at netbsd.org  |
-


Re: CVS commit: src/sys/arch/i386/stand/boot

2011-02-27 Thread David Laight
On Sat, Feb 26, 2011 at 06:22:59PM +, Jonathan A. Kollasch wrote:
 Module Name:  src
 Committed By: jakllsch
 Date: Sat Feb 26 18:22:59 UTC 2011
 
 Modified Files:
   src/sys/arch/i386/stand/boot: Makefile.boot
 
 Log Message:
 Enable LIBSA_PRINTF_LONGLONG_SUPPORT.
 Useful in any of the cases where we already print a (64-bit) daddr_t.

I'm surprised that doesn't explode the sizes of the boot code.

David

-- 
David Laight: da...@l8s.co.uk


CVS commit: src/sys/arch/i386/stand/boot

2010-02-08 Thread Hubert Feyrer
Module Name:src
Committed By:   hubertf
Date:   Mon Feb  8 21:25:32 UTC 2010

Modified Files:
src/sys/arch/i386/stand/boot: boot2.c

Log Message:
When a password is set for the bootloader (installboot -o password=...),
it currently complains about an unknown command and prints a usage if the
password is entered wrong:

...
Choose an option; RETURN for default; SPACE to stop countdown.
Option 1 will be chosen in 0 seconds.
Password: *
Password: *
Password: *
unknown command
commands are:
boot [xdNx:][filename] [-12acdqsvxz]
 (ex. hd0a:netbsd.old -s
ls [path]
dev xd[N[x]]:
consdev {pc|com[0123]|com[0123]kbd|auto}
modules {enabled|disabled}
load {path_to_module}
multiboot [xdNx:][filename] [args]
help|?
quit

Choose an option; RETURN for default; SPACE to stop countdown.
Option 1 will be chosen in 0 seconds.
...

This is confusing, plus someone may use it to determine bits of
information about the system. What should happen instead is that the user
is informed that the password is wrong:

...
Choose an option; RETURN for default; SPACE to stop countdown.
Option 1 will be chosen in 0 seconds.
Password: 
Password: 
Password: 
Wrong password.

Choose an option; RETURN for default; SPACE to stop countdown.
...

Implement the latter behaviour.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/i386/stand/boot/boot2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.