haad
210ce8a464
Add makefile for building device-mapper kernel module.
2008-12-19 15:36:58 +00:00
haad
c9d0c62a0c
Merge the haad-dm branch to -current. This branch adds LVM functionality to
...
the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed
device-mapper driver.
The device-mapper driver can be used to create virtual block devices which
maps virtual blocks to real with target mapping called target. Currently
these targets are available a linear, zero, error and a snapshot (this is
work in progress and doesn't work yet).
The lvm2tools adds lvm and dmsetup binary to based system, where the lvm
tool is used to manage and administer whole LVM and the dmestup is used to
communicate iwith device-mapper kernel driver. With these tools also
a libdevmapper library is instaled to the base system.
Building of tools and driver is currently disable and can be enabled with
MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.
Oked by agc@ and cube@.
2008-12-19 15:24:03 +00:00
njoly
992269c5c4
Fix remaining archs (arm, luna68k, powerpc and sh3) that were still
...
using a proc argument instead of an expected lwp for ADDUPROF macro.
ok by christos.
2008-12-19 15:20:10 +00:00
njoly
3b804db6be
Fix ADDUPROF macro definition, to correctly use its argument.
...
ok by christos.
2008-12-19 15:16:15 +00:00
cegger
43c86f86f1
x86_patch() is not available on Xen.
...
Make Xen kernels link again.
2008-12-19 15:11:55 +00:00
cegger
9c1c1ad122
pass M_NOWAIT instead of M_DONTWAIT to malloc.
2008-12-19 14:07:37 +00:00
cegger
e2017bb870
MALLOC and FREE macros no longer exists.
2008-12-19 13:41:03 +00:00
cegger
d597d7c58e
backout previous. makes i386 ALL kernel build again
2008-12-19 12:58:43 +00:00
hannken
e1e7ee242d
Restore a line removed by mistake with the last commit.
...
Should fix PR 40225 panic: indiracct: missing indir.
2008-12-19 11:36:10 +00:00
ad
44d265693d
Bah, re-apply. I still see errors without it.
2008-12-19 11:21:52 +00:00
ad
30fd42e845
PR kern/40213 my i386 machine can't boot because of tsc
...
- Patch in atomic_cas_64() twice. The first patch is early and makes it
the MP-atomic version available if we have cmpxchg8b. The second patch
strips the lock prefix if ncpu==1.
- Fix the i486 atomic_cas_64() to not unconditionally enable interrupts.
2008-12-19 11:21:24 +00:00
ad
f9040e4646
Back out previous. atomic_cas_64() doesn't work during early boot. I'll
...
fix that instead.
2008-12-19 11:11:55 +00:00
pooka
e222420f88
CTASSERT kcondvar size
2008-12-19 09:50:04 +00:00
pooka
cf6dee5091
fix build
...
(hi thorpej! the first one is always free ;)
2008-12-19 09:33:40 +00:00
thorpej
4730b27d42
Make condvars really opaque -- hide the wait message member from consumers
...
of the API.
2008-12-19 07:57:28 +00:00
kenh
abc88641ad
Switch back original ARM assembler code used to calculate the number of ticks
...
needed to wait in delay(). New code overflowed for large delay values. Broke,
among other things, the RTC probe for the TS-7200.
2008-12-19 04:26:35 +00:00
kenh
3230ffc8a5
Trim back kernel configuration to fit within TS7200's memory limitations.
2008-12-19 04:23:52 +00:00
pooka
7b7b68ba71
include vfs_xattr.c
2008-12-19 00:57:24 +00:00
pgoyette
3ed3895de3
Add i2c bus address checking for these chips. All supported chips live
...
at predefined addresses 0x2c, 0x2d, or 0x2e.
2008-12-18 20:41:35 +00:00
christos
4c237aa750
Wietse Wenema's tcpd-blacklist-patch:
...
ftp://ftp.porcupine.org/pub/security/tcpd-blacklist-patch
- If a host starts with a / treat it as a filename containing a list of hosts.
2008-12-18 20:16:52 +00:00
christos
07236533dd
print the hostname in the subject of the notification message.
2008-12-18 18:11:49 +00:00
cegger
29ab14fbb0
malloc -> kmem
2008-12-18 15:42:33 +00:00
reinoud
f4d0142196
Implement auto-track repair on tracks marked damaged when searching for
...
writable tracks on session opening. Note that this an optionally implemented
feature and thus no error will be generated if it fails; the drive will most
likely autorepair it.
2008-12-18 15:41:44 +00:00
reinoud
e2d4b2a7ea
Fix critital panic when mounting a CD-R/DVD*R disc. The check for VV_ROOT was
...
not done correctly and could panic when requested to load a VAT descriptor
since the fileset was not yet fetched.
2008-12-18 13:03:49 +00:00
cegger
3449eda978
remove unused malloc.h
2008-12-18 12:18:20 +00:00
cegger
f3cd5e707d
remove unused malloc.h
2008-12-18 11:45:40 +00:00
pooka
52d070140e
include snprintb
2008-12-18 11:16:36 +00:00
pooka
74bf412512
.PATH maintenance
2008-12-18 11:09:34 +00:00
he
1c6fe739fe
Correct two typos and remove a now-unused variable to make this
...
build again.
2008-12-18 10:58:17 +00:00
tteras
182f0b93be
From Arnaud Ebalard:
...
Delete larval ph2handles when expire with hard lifetime received
2008-12-18 07:20:25 +00:00
isaki
3b878f898f
Sync with other m68k ports.
...
- Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE.
- Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().
2008-12-18 05:56:42 +00:00
isaki
ae6ae44eaf
Move external decl. of intiobase: dev/intiovar.h -> include/cpu.h
...
Move definition of intiobase: x68k/pmap_bootstrap.c -> x68k/locore.s
These synchronize code with other m68k ports.
2008-12-18 05:24:03 +00:00
isaki
e6d9927220
There's no need to use initial value to intiobase and IODEVbase.
...
They are not refered to before it's initialized in pmap_bootstrap().
2008-12-18 05:19:52 +00:00
uebayasi
b5e854b1a0
-v -var=value -> atf-run -v var=value
2008-12-18 05:11:32 +00:00
mhitch
bf3440b26a
Don't expose kernel functions when including these in the Xamiga server
...
build. Should fix the amiga build failures.
2008-12-18 05:04:22 +00:00
isaki
dc21f7bf9b
Make it compilable again.
2008-12-18 03:18:27 +00:00
isaki
396b643faa
Swap initialization of intiobase and IODEVbase.
...
It synchronizes other m68k ports (news68k, mvme68k, ...).
2008-12-18 02:43:45 +00:00
isaki
b3f443b573
Remove intr_reset(), which has disabled device interrupt just
...
after start in locore.s. Initializing interrupt should be done
by each device driver.
2008-12-18 02:27:41 +00:00
isaki
41d10f80a2
unsigned -> unsigned int
2008-12-18 02:09:20 +00:00
pooka
a768afd60b
__KERNEL_RCSID
2008-12-18 00:24:12 +00:00
pooka
08c8c2d4d4
__RCSID
2008-12-18 00:21:52 +00:00
pooka
df8e80be1a
Separate the timer thread and soft interrut workers. Use a dynamic
...
size pool of workers to make sure there are enough for processing
the scheduled soft interrupts.
2008-12-18 00:12:00 +00:00
cegger
af524dbaf3
make this compile
2008-12-17 22:49:13 +00:00
cegger
9b87d582bd
kill MALLOC and FREE macros.
2008-12-17 20:51:31 +00:00
pooka
c60be09da1
If available (__NetBSD__), use pthread_setname_np() to set the
...
thread name for kthread_create().
2008-12-17 20:16:28 +00:00
cegger
6b7c41cff5
make this compile
2008-12-17 19:51:06 +00:00
cegger
77c3411230
make this compile
2008-12-17 19:35:09 +00:00
cegger
f51c42b9f0
make this compile
2008-12-17 19:09:56 +00:00
christos
a16995fb71
fix extra argument parsing I broke in previous commit.
2008-12-17 18:28:22 +00:00
christos
83437ade68
- in silent run, only print notifications on error.
...
- avoid unnecessary overlapping strncpy
2008-12-17 17:56:32 +00:00