Commit Graph

174437 Commits

Author SHA1 Message Date
wiz
cc55bad434 Wording improvements. 2008-10-21 08:43:15 +00:00
macallan
7fef38b51e If output-device contains a video mode specifier ( as in
screen:r1152x900x76 ) cut it off and pass it to the console driver. This
way radeonfb has a fighting chance to setup a mode similar or identical to
the firmware's.
2008-10-21 06:07:14 +00:00
macallan
eab8a03193 regen 2008-10-21 06:04:37 +00:00
macallan
d0fc6875dc add 1152x900 at 66Hz and 76Hz 2008-10-21 06:03:39 +00:00
wrstuden
15e53296cb upcallret() will work much better if it's not in the middle of another
routine!
2008-10-21 04:16:59 +00:00
lukem
ddd1724f86 xref rescue(8) 2008-10-21 02:32:37 +00:00
lukem
422fa60cb1 Install rescue(8) 2008-10-20 22:29:39 +00:00
ad
19463db480 Correct an error message. 2008-10-20 20:07:35 +00:00
christos
58120dc797 forgot one more pie to disable. 2008-10-20 20:00:57 +00:00
apb
296f525d9f When building as a host tool, do not add ${LIBM} to DPADD, but do add
"-lm" to LDADD as usual.  We do assume that the host system has a -lm
library, but we can't assume that the library is in /usr/lib/libm.a.
2008-10-20 18:16:54 +00:00
cube
673715cc8e No need for quotes around XORG_VERSION_CURRENT. 2008-10-20 16:25:06 +00:00
tsutsui
7ed1dea9a0 Declare sa_system_disabled with extern.
Fixes "symbol 'sa_system_disabled' redeclared with different value" warnings
on loading modules.
2008-10-20 16:16:27 +00:00
wrstuden
fdc932bfd7 We onlyu need sa_system_disabled iff we're in the kernel. 2008-10-20 16:01:28 +00:00
tsutsui
147b99ba9a - note that local hostname settings might be overriden by dhclient(8)
- add more info about DHCP settings in the network configuration section
- bump date
2008-10-20 14:56:44 +00:00
tsutsui
50d5115349 Don't specify "load=/miniroot.kmod" by default in boot.cfg on bootcds.
Instead, specify "load /miniroot.kmod" per each boot menu
so that we can use bootcds to load any specific kernel in
other devices which doesn't need ramdisk miniroot.

Tested on qemu.
2008-10-20 14:08:35 +00:00
martti
2ea5185606 IPF 4.1.31 is out 2008-10-20 12:09:15 +00:00
ad
f0efb10ed3 ktrgeniov: pass down to correct function. 2008-10-20 11:36:39 +00:00
ad
eb1a865124 Don't complain about a missing 'file-system' directive. File system code
can be provided by modules.
2008-10-20 11:02:18 +00:00
ad
dc7ae0762f - Add code to produce a fake ELF kernel containing only symbol info. Done
by extracting ksyms state from the dump, so we have symbols for modules
  loaded at the time of the crash. If ksyms extraction fails, this falls
  back to the current behaviour of copying /netbsd.

- Leave it disabled for the moment: (1) we are about to branch (2) most
  tools understand the artificial kernel but gdb has trouble with it for
  some reason.
2008-10-20 10:34:54 +00:00
apb
debdeec730 The tools/compat versions of mkstemp() and mkdtemp() need to call the
internal function that's usually named "__gettemp".  However in a cross
build, "__gettemp" is in a namespace reserved for the host system, so we
can't use that.  Use "__nbcompat_gettemp" instead, following the example
of several other functions or macros in tools/compat.  Previously, this
was handled by using the name "gettemp", but that conflicts with the
local gettemp() function in dist/nawk.
2008-10-20 10:28:38 +00:00
ad
ee66516bfd PR kern/38814 ksyms needs locking
- Make ksyms MT safe.
- Fix deadlock from an operation like "modload foo.lkm < /dev/ksyms".
- Fix uninitialized structure members.
- Reduce memory footprint for loaded modules.
- Export ksyms structures for kernel grovellers like savecore.
- Some KNF.
2008-10-20 10:24:18 +00:00
rtr
e9a223cbb9 - fix crazy condition that always evaluates to false without this
iwn_fix_channel() never gets called.
- remove hardcode to ic->ic_channels[11]

fixes a problem in associating to access points
2008-10-20 09:33:48 +00:00
wiz
1f8562f538 Fix three variable names.
From Todd T. Fries via Jason McIntyre.
2008-10-20 08:37:25 +00:00
dogcow
13a2178397 Define __USE_ISOC99 for linux, making the isblank() proto appear.
This is probably not the Right Thing, but it seems to not break anything.
2008-10-20 07:48:21 +00:00
apb
20d1e9a13e Pass AWK in environment to shell scripts run during the build. 2008-10-20 07:11:55 +00:00
wiz
5154780b79 Drop trailing whitespace. 2008-10-20 07:06:21 +00:00
wiz
e22cd6ffa8 Sort errors, use .Nx, avoid man markup, whitespace and punctuation nits. 2008-10-20 07:03:58 +00:00
lukem
6cf201421e Document using boot -a and /rescue/init if the system fails to boot with
"init: not found".
2008-10-20 06:42:53 +00:00
lukem
d20564358b Adapt to NetBSD:
* Recommend checking /lib and /libexec for corruption.
* A NetBSD installation CD should suffice for recovery if necessary.
* I designed & wrote the rescue framework in NetBSD; update credits.
  (The FreeBSD guys were inspired by it)
* Other minor tweaks to differences in the systems.
2008-10-20 06:26:47 +00:00
lukem
c99131c058 Add a manual page for /rescue.
Obtained from FreeBSD src/share/man/man8/rescue.8 1.3
This is the FreeBSD version; NetBSD customisation to occur
in followup commits.
2008-10-20 06:14:28 +00:00
christos
44c25f2fda disable PIE for boot code. 2008-10-20 03:02:07 +00:00
hans
c25473a894 if_input needs to be called at splnet(). ok by cube. 2008-10-19 23:28:31 +00:00
apb
cd5c0f944d In shell scripts invoked during a build, and in crunchgen, use ${AWK}
instead of plain "awk".  The Makefiles that invoke these scripts
or programs will pass AWK=${HOST_AWK:Q}.
2008-10-19 22:10:04 +00:00
apb
f3f295c281 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:23 +00:00
apb
d1cf36b114 Add a comment to the Makefile explaining that we do not use HOST_AWK
here, because tools/host-mkdep is built before tools/awk.
2008-10-19 22:05:22 +00:00
apb
96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
snj
682ea0e2b3 s/explicitely/explicitly/ 2008-10-19 21:27:46 +00:00
marcus
e4036a331d Removed a local variable that is no longer needed (should have been removed in last commit...) 2008-10-19 21:24:20 +00:00
snj
cf5b9ad4fa Xref netconfig(5). Requested by Martin S. Weber in PR bin/39605. 2008-10-19 21:18:22 +00:00
christos
8a0817a3ac PR/39770: Robert Elz: mount(2) doc enhancements 2008-10-19 20:54:22 +00:00
apb
60f5d15a00 Define TOOL_AWK. 2008-10-19 19:44:47 +00:00
apb
e0bccb6c18 During the tools build (from src/tools/awk/Makefile),
src/tools/Makefile.host changes .CURDIR back and forth between
src/tools/awk and src/usr.bin/awk.  For some unknown reason, including
bsd.info.mk here leads to the obj dir being created at the wrong time,
while .CURDIR is src/usr.bin/awk.  Work around the problem by not
including bsd.info.mk when MKINFO=no.
2008-10-19 19:42:23 +00:00
apb
74809f044a Add awk as a host tool. 2008-10-19 19:40:19 +00:00
apb
ce47df9797 Define NOINFO, so that we don't try to build info files for host tools. 2008-10-19 19:38:55 +00:00
apb
1dc9ff828c In preparation for building awk as a host tool, add
#if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h"
2008-10-19 19:33:47 +00:00
apb
00f32f6e16 Add the NOINFO variable, which works just like all other NOxxx variables. 2008-10-19 19:29:43 +00:00
hannken
ac6b16172a Make genfs_directio() IO_JOURNALLOCKED aware. DirectIO no longer triggers
"locking against myself" panic in wapbl_begin().

Observed and tested by: Frank Kardel <kardel@netbsd.org>
2008-10-19 18:17:13 +00:00
wiz
dc9d42b1fd Spelling and whitespace and punctuation nits. 2008-10-19 17:57:19 +00:00
jmcneill
48100f10e4 Calculate maxdispoffset rather than hard-coding it. Fixes scrolling in
80x25 mode.

XXX This doesn't handle odd modes like 80x30 on 640x480, but the driver
didn't allow that selection previously so at least it's an improvement
over the previous behaviour.
2008-10-19 17:47:38 +00:00
jmcneill
0215b24d60 vga_cnattach: calling wsdisplay_screentype_pick with a NULL type will
select the first entry in the list, which overrides the selected screen
type. Only call it a second time if the original selection is invalid.
2008-10-19 17:20:38 +00:00