- 02 Oct, 2003 5 commits
-
-
Leigh B. Stoller authored
someday, but not today!
-
Leigh B. Stoller authored
fixed fix before declaring the fix was fixed. Note that I haven't tested this fix either.
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
Mike Hibler authored
"Piece of cake!" he says... "15 minutes" he says... Well, a day later, we can now deal with extended partition tables. It was almost easy. The offsets in an extended partition table are relative to the location of that table...mostly. The exception is if an extended partition table contains an entry for another extended table. Then the offset provided is relative to the *first* extended partition table found, not the current one. This was also complicated by the NTFS library code which needs to be fed a device special file corresponding to the filesystem partition. So if I am cruising alone creating a whole disk image using /dev/ad0 and I hit a partition containing an NTFS, I have to figure out the BSD name for that particular partition: "hmm..I'm looking at partition 3? That would be /dev/ad0s3". Its easy for the first 4 partitions, but for extended partitions, I had to figure out how BSD mapped those partitions into device names. Once I became aware of the DIOCGSLICEINFO ioctl, this was easy as it gave back all the info needed.
-
- 01 Oct, 2003 6 commits
-
-
David Anderson authored
Latest linktest parser with callbacks inside ns, new representation of links and examples of duplex and simplex netbed extensions.
-
Leigh B. Stoller authored
for all nodes the user has permission to use (checks the nodetypeXpid_permissions table).
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 30 Sep, 2003 16 commits
-
-
Robert Ricci authored
node - copies source, etc. from NFS to avoid mountd problems, and copies results back when finished.
-
David Anderson authored
modified tb_compat for use with linktest. works with a patch to the tcl libraries in ns (coming to cvs soon) . first version.
-
David Anderson authored
-
David Anderson authored
-
David Anderson authored
-
David Anderson authored
-
Leigh B. Stoller authored
batch jobs will end! There were two problems; 1) The socket was 744, so mere users were not able to run tmcc. 2) libsetup was not even using the proxy socket cause it was never looking for it.
-
Leigh B. Stoller authored
the batch system see's them as always done. There is no reason to do this from the node itself, since it would be really hard to have either a jail or delay node without other nodes in the topology!
-
Leigh B. Stoller authored
search box so that we can search for a user name.
-
Leigh B. Stoller authored
protocol for external scripts. Now that Mike has been successfully embarrased in front of everyone, I will document said protocol: $status < 0 - Fatal error. Email output to tbops. $status = 0 - Everything okay! $status > 0 - Expected error. Give results to user only. Of course, only 4 scripts have been adapted to the new protocol, but thats okay. I'm sure Mike will trip over them all eventually.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
awaiting word from Kirk.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
plus a lock field. The lock field was a simple "experiment locked, go away" slot that is easy to use when you do not care about the actual state that an experiment is in, just that it is in "transition" and should not be messed with. The other two state variables are "state" and "batchstate". The former (state) is the original variable that Chris added, and was used by the tb* scripts to make sure that the experiment was in the state each particular script wanted them to be in. But over time (and with the addition of so much wrapper goo around them), "state" has leaked out all over the place to determine what operations on an experiment are allowed, and if/when it should be displayed in various web pages. There are a set of transition states in addition to the usual "active", "swapped", etc like "swapping" that make testing state a pain in the butt. I added the other state variable ("batchstate") when I did the batch system, obviously! It was intended as a wrapper state to control access to the batch queue, and to prevent batch experiments from being messed with except when it was really okay (for example, its okay to terminate a swapped out batch experiment, but not a swapped in batch experiment since that would confuse the batch daemon). There are fewer of these states, plus one additional state for "modifying" experiments. So what I have done is change the system to use "batchstate" for all experiments to control entry into the swap system, from the web interface, from the command line, and from the batch daemon. The other state variable still exists, and will be brutally pushed back under the surface until its just a vague memory, used only by the original tb* scripts. This will happen over time, and the "batchstate" variable will be renamed once I am convinced that this was the right thing to do and that my changes actually work as intended. Only people who have bothered to read this far will know that I also added the ability to cancel experiment swapin in progress. For that I am using the "canceled" flag (ah, this one was named properly from the start!), and I test that at various times in assign_wrapper and tbswap. A minor downside right now is that a canceled swapin looks too much like a failed swapin, and so tbops gets email about it. I'll fix that at some point (sometime after the boss complains). I also cleaned up various bits of code, replacing direct calls to exec with calls to the recently improved SUEXEC interface. This removes some cruft from each script that calls an external script. Cleaned up modifyexp.ph3 quite a bit, reformatting and indenting. Also fixed to not run the parser directly! This was very wrong; should call nscheck instead. Changed to use "nobody" group instead of group flux (made the same change in nscheck). There is a script in the sql directory called newstates.pl. It needs to be run to initialize the batchstate slot of the experiments table for all existing experiments.
-
- 29 Sep, 2003 7 commits
-
-
Robert Ricci authored
-
Leigh B. Stoller authored
-
Mac Newbold authored
-
Robert Ricci authored
-
Robert Ricci authored
of nodes an OS is running on - this way, we don't count, for example, nodes that a reloading.
-
Leigh B. Stoller authored
one from my devel tree).
-
Robert Ricci authored
everything else goes to stdout. This will hopefully make things a bit simpler by avoiding funny buffering issues for programs like assign_wrapper that want to redirect assign's stdout.
-
- 28 Sep, 2003 1 commit
-
-
Robert Ricci authored
-
- 27 Sep, 2003 1 commit
-
-
Mike Hibler authored
rather than creating a new partition.
-
- 26 Sep, 2003 4 commits
-
-
Robert Ricci authored
lot of sense.
-
Robert Ricci authored
thinks mere users are trying to set their swappable bit to off. Since it wasn't displayed on the mere-user form, it isn't in the form data sent back, so it looks like they're turning it off.
-
Robert Ricci authored
-
Robert Ricci authored
weeks)
-