Commit Graph

176386 Commits

Author SHA1 Message Date
jmmv
0185e9d704 Fix processing of the symbol table, broken in the change that introduced the
new ksyms_addsyms_elf name.  The problem is that the kernel is really built
as an ELF and then objcopy is used to turn it into an a.out.  Therefore, we
need to use the SYMTAB_SPACE hack when we are an ELF.
2009-01-03 20:05:12 +00:00
pooka
b6e6025d0d Get rid of locks with static initializers using once and atomic ops.
This makes proplib simplelock-free.
2009-01-03 18:31:33 +00:00
wiz
5eea853f3e New sentence, new line. Remove another esl(4) reference. 2009-01-03 18:27:36 +00:00
wiz
238aa4a6a2 New sentence, new line. 2009-01-03 18:27:19 +00:00
bjh21
fada7a07d6 Initialise cpu_info_store so that we start up with a valid curlwp. 2009-01-03 18:15:11 +00:00
tsutsui
eedb495377 Add df(1) to installation md_root files for atari.
It looks df(1) had been required by MAKEDEV(8) since NetBSD 1.6 days,
and this could workaround PR port-atari/40316 in branches with
minimum pullups.
2009-01-03 18:11:26 +00:00
christos
2dacfb04ff remove esl (KIYOHARA Takashi) 2009-01-03 17:46:05 +00:00
christos
30173a3005 remove siisata and esl. (KIYOHARA Takashi) 2009-01-03 17:44:20 +00:00
hannken
fc6d5c7578 Remove superfluous "vp->v_vnlock = &vp->v_lock".
Observed by: YAMAMOTO Takashi <yamt@netbsd.org>
2009-01-03 15:29:08 +00:00
reinoud
0da18cc3f4 Fix ISO partitioning readin. ISO dictates its descriptors are minimal 2048
bytes long independent of the device block size.
2009-01-03 14:35:27 +00:00
shattered
bf788f2d48 Add my name to the list of developers. 2009-01-03 12:01:24 +00:00
isaki
8cb1e6831d rtclockinit() and range_test*() were removed in rtclock.c,v 1.19. 2009-01-03 09:32:13 +00:00
apb
04973974b4 * When testing whether the fdesc file system is mounted, parse the
output from mount(8) rather than df(1), because mount is more likely
  to be available on install media.  mount is invoked in a way that
  always prints an error message, and the content of the error message
  tells us whether fdesc is mounted.  This should fix PR 40316 from
  David Ross.
* Don't use negative variable names.  Instead of nofdesc=false, use
  fdesc_mounted=true.
* Add a comment explaining that MAKEDEV may be executed in an environment
  that is missing some common commands.
2009-01-03 08:49:03 +00:00
lukem
f9dee3872f cd9660 support has been present for a while 2009-01-03 08:25:35 +00:00
apb
e746baefad "\t" does not represent a tab in sed regular expressions,
so use a ${tab} variable instead.  This bug was found by
Jeremy C. Reed.
2009-01-03 08:23:00 +00:00
yamt
3c917c1d93 fix exit status values. 2009-01-03 07:20:57 +00:00
tsutsui
cff68ad349 Sync with an update on amiga:
Rewrite a weird calculation marked "XXX fix calculations XXX"
for an index value of lev2 segment table for the kernel Sysptmap
with more meaningful expressions and PAGE_SIZE independent macro.
Also use "~0" rather than "-1" for an unsigned bitmap value.

Should produce the same results and no functional change.

Tested on Falcon with 68060 by Tuomo Makinen.
2009-01-03 07:11:02 +00:00
tsutsui
ef3099575e Rewrite a weird calculation marked "XXX fix calculations XXX"
for an index value of lev2 segment table for the kernel Sysptmap
with more meaningful expressions and PAGE_SIZE independent macro.
Also use "~0" rather than "-1" for an unsigned bitmap value.

Should produce the same results and no functional change.

Tested on A3000 with 68060 by Frank Wille.
2009-01-03 07:04:42 +00:00
tsutsui
c61c988be5 Raise IPL to splsoftnet() before calling callback functions registered
via (atari specific) add_sicallback(), as a workaround hack.

Many drivers which use the MD sicallback depend on BASEPRI() macro
defined in <machine/cpu.h> to check nested interrupts,
but functions invoked from MI softint(9) won't run at IPL_SOFT
any longer and the BASEPRI() macro doesn't return expected value
as the past.

Fixes lost interrupt problem on Falcon wdc(4) reported by
Tuomo Makinen on port-atari, and also confirmed by him.

Should be pulled up to netbsd-5.
2009-01-03 06:36:58 +00:00
lukem
a2c38ed82e Ensure fts_close() doesn't spuriously close fd 0,
by testing FTS_SYMFOLLOW in fts_flags instead of fts_options.
Fix provided by Ben Harris in PR 40319
2009-01-03 06:12:14 +00:00
dholland
2bd5b48033 Clarify a comment 2009-01-03 04:38:07 +00:00
yamt
b1fea83762 remove extra semicolons. 2009-01-03 03:43:21 +00:00
yamt
68b6d8786e remove extra semicolons. 2009-01-03 03:31:23 +00:00
spz
94803c8905 make xdm (able to) use PAM
fixes PR 39851
2009-01-02 23:25:57 +00:00
haad
0e718155a1 Return ENOSYS during from dm_target_init routine these tow targets aren't
implemented yet.
2009-01-02 22:33:51 +00:00
tnozaki
b17a9cee2a add some *.c specific CPPFLAGS. 2009-01-02 22:16:14 +00:00
tnozaki
f5fad0d005 1. fixes PR lib/40317, don't use libc's fparseln(3).
it is non-portable function, toolchain should link it yourself.

2. fixes crossbuild breakage reported by Chiristoph Egger on current-user,
FreeBSD and MacOS X still make Rune* as public API in their ctype.h.
so added namespace protection NB* by including src/lib/libc/locale/rune.h
instead of src/lib/libc/locale/runetype.h.
2009-01-02 22:08:19 +00:00
briggs
bbc63cf490 Allocate enough space for the aac_pci_softc, not just the aac_softc. 2009-01-02 22:03:07 +00:00
pooka
3c58d5b25f My clever hack was not enough. Disable DELAY via ifndef _RUMPKERN in
subr_prf until I manage to get all archs in line with a proper MI
signature.
2009-01-02 22:03:00 +00:00
christos
ed795a66a7 protect sillyrename with _KERNEL 2009-01-02 21:06:11 +00:00
christos
65f3b47bf5 add the cdfs extensions 2009-01-02 16:35:43 +00:00
christos
206e03dd87 more cdfs options 2009-01-02 16:34:05 +00:00
pooka
055c86bdde Sauce with some kludges:
* revert rev 1.68 of emul.c: delay() is hopelessly MD and needs
  whipping (not the fun kind)
* #undef DELAY in cpu.h

This will hopefully fix build for all archs and give me time to
hop through our 46521 fine archs and edit the headers.
2009-01-02 16:18:59 +00:00
christos
544d676ec2 add missing options from the cd9660 filesystem. 2009-01-02 16:00:02 +00:00
pooka
b55ef665bd Add kludge to allow amd64 compat to build. This is not a proper
fix which most likely requires some compat lib build infra toggle.
2009-01-02 14:03:15 +00:00
njoly
dc163d1a0e Add minimal SI_LWP support. 2009-01-02 13:57:23 +00:00
jdc
ca92cdbafd Remove duplicated key symbol in UK keymap. 2009-01-02 13:09:36 +00:00
ad
27bc6a2391 - Don't vput() a vnode that we do not hold locked.
- Eliminate one of the few remaining uses of LK_CANRECURSE.
2009-01-02 12:57:29 +00:00
pooka
624b664af1 Export delay, _delay and delay_func symbols to attempt to appease
the macro mania set over all architectures.
2009-01-02 11:39:26 +00:00
pooka
72858b67bf Define -DMODULAR in Makefile.rump instead of the sys/rump/librump
Makefile.inc so that it gets picked up by UPDATE=1
2009-01-02 11:13:38 +00:00
pooka
ff1136dede We use CPU_INFO_FOREACH here -> include sys/cpu.h 2009-01-02 11:08:32 +00:00
haad
2a2e81e0f1 Properly register dm_target_* modules with module framework. 2009-01-02 11:06:17 +00:00
haad
894d2ad3b7 Add stubs for mirror target, too. This target does nothing for now, but lvm
tools support mirror target and trying to create LV with mirrorred backend
caused panic in dm_table_load_ioctl.
2009-01-02 11:03:24 +00:00
pooka
23bce3395a printf needs IPL_HIGH 2009-01-02 10:45:26 +00:00
lukem
0a0b8d1a16 Clean up the usage display to match reality.
Allow 'sum' to take '-a algorithm', so that its usage matches 'cksum'.
Per discussion with Igor Sobrado resulting from PR 39658.
2009-01-02 09:42:51 +00:00
tsutsui
cf6816d68a Update one more comment which was missed in previous. 2009-01-02 04:38:09 +00:00
pooka
167269d42c Include kernel printf routines in rump instead of relying on the
magic libc symbol.  This also allows to bid farewell to subr_prf2.c
and merge the contents back to subr_prf.c.  The host kernel bridging
is now done via rumpuser_putchar().
2009-01-02 02:54:13 +00:00
haad
2547289caf Add more tasks and add more details about them. 2009-01-02 01:13:49 +00:00
haad
18bcf672b4 Remove unneeded targets from dm driver and build them as separate modules.
The zero, error and snapshot targets are build as modules and can be loaded
to dm driver with modload. I do not build/install these drivers by default.

The linear and stripe targets are needed for LVM so I keep them compiled in
dm.
2009-01-02 01:06:16 +00:00
haad
32013fd9f2 Add stripe target functions stubs. Stripe target must be present in dm driver
because without it lvm2tools will not create LVsi and eventualy panic system.

Problem reported by agc@.
2009-01-02 00:42:31 +00:00