197248 Commits

Author SHA1 Message Date
haad
3bb48ba615 Add support for building pud as module. Do it in a same way how putter is
done.
2011-01-28 23:54:28 +00:00
phx
3a340652fb Included sys/arc/sandpoint/stand/altboot in the build process.
Install altboot and altboot.bin in /usr/mdec and copy them also into the
installation directory of the sandpoint release.
2011-01-28 22:15:35 +00:00
uwe
4826f91fe1 Implement PT_STEP. 2011-01-28 21:06:07 +00:00
matt
6192144845 Add a method to a whiteout an entry thereby allowing a md/ad file to remove
a file from the set lists.

Use this for md.evbppc which doesn't build some module tests.
2011-01-28 20:36:19 +00:00
pooka
3798dc422d Don't BWI_DEBUG by default + comment cleanup.
requested by Taylor R. Campbell (driver submitter)
2011-01-28 20:36:06 +00:00
pooka
c930beb1ea migrate compat32 handling with previous
pointed out by Lars Heidieker
2011-01-28 20:31:10 +00:00
drochner
da4141bdd5 roll back to 20101210 -- the current version just hung if one tried
to set the date
2011-01-28 20:23:38 +00:00
pooka
dac4423feb Pass the value of getprogname() from the client to the server and
record it in p_comm.  This is nice for things like sockstat, since
they now display the client command name:

pain-rustique:43:~> rump.sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     xulrunner- 16     0 tcp    192.168.2.114.65507   204.152.190.12.80
root     xulrunner- 16     1 tcp    192.168.2.114.65501   204.152.190.12.80
root     xulrunner- 16     2 tcp    192.168.2.114.65500   204.152.190.12.80
root     xulrunner- 16     3 tcp    192.168.2.114.65499   204.152.190.12.80
root     xulrunner- 16     5 tcp    192.168.2.114.65498   204.152.190.12.80
root     xulrunner- 16     6 tcp    192.168.2.114.65497   204.152.190.12.80
root     socket     62     0 tcp6   *.http                *.*
root     socket     62     1 tcp    *.http                *.*
root     socket     63     0 tcp6   *.81                  *.*
root     socket     63     1 tcp    *.81                  *.*
2011-01-28 19:21:28 +00:00
pooka
6475f12521 support rump.sockstat 2011-01-28 18:52:48 +00:00
pooka
464ac5f9d7 Don't NULL out l_cpu, l_stat is the new rumpkernel way too. 2011-01-28 18:48:21 +00:00
pooka
cedf6bdaf9 call procinit_sysctl to register the proc sysctl tree 2011-01-28 18:45:52 +00:00
pooka
dd7a40671a Move sysctl routines from init_sysctl.c to kern_descrip.c (for
descriptors) and kern_proc.c (for processes).  This makes them
usable in a rump kernel, in case somebody was wondering.
2011-01-28 18:44:44 +00:00
pooka
0199e732f8 these days make sure we have an lwp lock (for lwp walker smiths) 2011-01-28 17:57:03 +00:00
pooka
840bf0206b If we are "unsleepable" due to a dying proc, yield() instead of
returning directly.  This allows other threads to run possible
setting a condition we are waiting on.

Fixes a busyloop condition which could be entered from vfs_unmountall()
where we were waiting for vrele_pending and the vrele thread could
not run since we were hogging the CPU.
2011-01-28 17:04:39 +00:00
pooka
96de0bb9fe Some lwp-walkers expect the correct value for l_stat, so use a flag
in l_flag instead of l_stat for the purpose of flagging lwps in a
dying proc.
2011-01-28 16:58:27 +00:00
pooka
99a6acb4bd fill in a default name for p_comm 2011-01-28 16:34:31 +00:00
jakllsch
ecf43b9314 Set mva_size in the console case.
Addresses first portion of PR#43990.
2011-01-28 16:12:22 +00:00
tteras
2ee6d137de From Roman Hoog Antink <rha@open.ch>: Clean up sainfo reloading: rename
the functions, and remove unneeded global variable.
2011-01-28 13:02:34 +00:00
tteras
5d9b9d50e9 From Roman Hoog Antink <rha@open.ch>: Clean up rmconf reloading: rename
the functions, and remove unneeded global variable.
2011-01-28 13:00:14 +00:00
tteras
c54595ebf5 From Roman Hoog Antink <rha@open.ch>: Log remote IP address if available
(slightly modified by tteras)
2011-01-28 12:51:40 +00:00
tsutsui
83fcc10a13 typo 2011-01-28 11:58:38 +00:00
tsutsui
6e3a84f222 Use CFATTACH_DECL_NEW() (no softc). 2011-01-28 10:20:28 +00:00
wiz
81cd2688f6 Bump for emips. 2011-01-28 09:24:46 +00:00
christos
28ef40ccbd fix pasto 2011-01-28 03:41:52 +00:00
christos
b2ce31d086 don't turn on editing if stdout is not a tty. 2011-01-27 23:11:40 +00:00
pooka
e5a2e2b285 Fill in l_wmesg since some proc-walkers assume it. 2011-01-27 21:55:25 +00:00
pooka
96940cc6e5 plop new emips port into various places it should be plopped in to 2011-01-27 19:09:06 +00:00
pooka
d11cd7e718 make emips date UTC'ly correct, plus lEETCAPS it while i'm here 2011-01-27 19:06:54 +00:00
pooka
ff1200ecb5 add port-emips 2011-01-27 18:51:16 +00:00
bouyer
e8e2c45302 Properly identify vortex86 CPUs. 2011-01-27 18:44:40 +00:00
pooka
fd79a76046 Use NEEDED for librumpclient instead of loading it manually. 2011-01-27 18:12:19 +00:00
pooka
e96a54f450 Set server reconnection timeout to infinite. There probably need
to be some toggle eventually, but for now I'm optimizing the default
for my firefox use ;)
2011-01-27 18:05:16 +00:00
pooka
41434db318 Allow to set a timeout for how long the client will attempt to
reconnect in case the connection to the server is lost.  Default
to exactly one reattempt.  This makes sense and additionally fixes
the dev/raidframe/smalldisk test which currently causes a server
panic when a certain raidctl command is run (without this fix the
test would timeout since the client kept attempting to reconnect).
2011-01-27 18:04:05 +00:00
phx
f752ef7556 Debugging output is only visible when DEBUG is defined. 2011-01-27 17:38:04 +00:00
pooka
44d370c291 Fix syscall name for compat syscalls. Arguably makesyscalls.sh
should generate the right info, but it's easier to fix here now.

This fixes compat syscalls for rump servers with dynamically loaded
components.  Since the compat syscall revamp a little time ago e.g.
stat() didn't work on my system (which is 5.0-based) with e.g.
rump_server -lrumpvfs.  Static servers and non-compat syscalls
worked just fine, though, making this a little harder to spot that
the usual bug.
2011-01-27 17:36:27 +00:00
phx
3e7ea907ca Some cleanup. No functional change. 2011-01-27 16:13:51 +00:00
gdt
e65b565849 Use ${INSTALL} ${COPY} instead of ${CP}.
This avoids a problem where files with mode 0400 (CVSREAD=t) are
copied to OBJDIR and then can't be re-copied on a subsequent build.
ok joerg@
2011-01-27 15:34:38 +00:00
wiz
16f356de90 Link kprintf(9) to device_printf(9). For David. 2011-01-27 14:48:36 +00:00
skrll
30f0ea9e51 Trailing whitespace. 2011-01-27 13:57:39 +00:00
tsutsui
1a97f9a80f Fix swapped comments. 2011-01-27 13:42:09 +00:00
plunky
9a8271a39a when a BNEP channel is opened, clear any NetType or MulticastAddress
filters that may be in effect at the remote side.
2011-01-27 12:19:48 +00:00
nisimura
eabda714e1 add missing license notice as suggested by wiz@. 2011-01-27 11:33:43 +00:00
plunky
a14e16bfe0 style nit 2011-01-27 11:13:59 +00:00
wiz
5d075ae010 New sentence, new line; full month name in Dd; add RCS Id. 2011-01-27 09:52:13 +00:00
wiz
7515698c17 Dd arguments should be full month names; new sentence, new line;
add serial comma; remove trailing whitespace; avoid xref to itself.
2011-01-27 09:50:00 +00:00
wiz
9422767211 Remove trailing whitespace. 2011-01-27 09:46:59 +00:00
mrg
9d38664bd2 consolidate the interrupt evcnt(9) into a full set of per-IPL per-CPU
soft/hard counters.  beyond the extra info, it seems to help avoid some
of these counters getting corrupted due to unlocked multiple accesses.

adjust the xcallintr() from xcall() hack so that we don't count these
events as interrupts.  align the existing evcnt name to count this.
2011-01-27 06:24:59 +00:00
mrg
43b17d1067 to quote a new comment:
* There's a deadlock potential between multiple CPUs trying
 * to xcall() at the same time, and the thread that loses the
 * race to get xpmsg_lock is at an IPL above the incoming IPI
 * IPL level, so it sits around waiting to take the lock while
 * the other CPU is waiting for this CPU to handle the IPI and
 * mark it as completed.
 *
 * If we fail to get the mutex, and we're at high enough IPL,
 * call xcallintr() if there is a valid msg.tag.

this seems to fix the xcall() failed to ping cpus problem.
idea from martin, tested by macallan and myself.
2011-01-27 05:31:13 +00:00
nisimura
717da00c62 remove an excess echo line accidentally creeped in. 2011-01-27 04:54:40 +00:00
nisimura
5311358b9c arrange vers.c generation to honour MKREPRO for global build control. 2011-01-27 04:32:49 +00:00